NEWS
Alexa 2.0 - Crash und Neustart bei Initialisierung
-
Hallo,
ich kann nicht genau sagen seit wann das Problem auftritt, bewusst habe ich in den letzten Stunden nichts geändert, aber eine Änderung an den Einstellungen kann ich nicht 100% ausschließen.
Der Alexa 2.0 Adapter bricht während oder kurz nach der Initialisierung ab und wir dann neu gestartet.
Das Log ist doch recht Umfangreich und mit vielen Persönlichen Daten bestückt, deshalb hier ein "kleiner" zensierter Auszug. Falls wichtige Infos fehlen kann ich die gerne nachreichen.
Momentan nutze ich 2.6.4, der Fehler trat aber auch mit 2.6.2 auf woraufhin ich auf 2.6.4 geupdated habe.
Mir sagt das Log leider nichts2019-08-05 13:43:50.459 - debug: alexa2.0 objectDB connected 2019-08-05 13:43:50.470 - debug: alexa2.0 statesDB connected 2019-08-05 13:43:50.489 - info: alexa2.0 starting. Version 2.6.4 in /opt/iobroker/node_modules/iobroker.alexa2, node: v8.16.0 2019-08-05 13:43:50.561 - debug: alexa2.0 Alexa-Remote: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 2019-08-05 13:43:50.561 - debug: alexa2.0 Alexa-Remote: Use as Login-Amazon-URL: amazon.de 2019-08-05 13:43:50.561 - debug: alexa2.0 Alexa-Remote: Use as Base-URL: alexa.amazon.de 2019-08-05 13:43:50.562 - debug: alexa2.0 Alexa-Remote: cookie was provided 2019-08-05 13:43:50.563 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:50.851 - debug: alexa2.0 Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"xxx","customerId":"xxx","customerName":"xxx"}} 2019-08-05 13:43:50.851 - debug: alexa2.0 Alexa-Remote: Authentication checked: true 2019-08-05 13:43:50.853 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 0) 2019-08-05 13:43:50.854 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:51.174 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:51.175 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 324) 2019-08-05 13:43:51.175 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:52.650 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:52.653 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 1802) 2019-08-05 13:43:52.653 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:53.033 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:53.034 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 2183) 2019-08-05 13:43:53.034 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:54.950 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:54.951 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 4100) 2019-08-05 13:43:54.951 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:55.256 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:55.265 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 4414) 2019-08-05 13:43:55.266 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:55.729 - debug: alexa2.0 Alexa-Remote: xxx 2019-08-05 13:43:55.729 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 4878) 2019-08-05 13:43:55.729 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:55.776 - debug: alexa2.0 Alexa-Remote WS-MQTT: Open: xxx 2019-08-05 13:43:55.776 - debug: alexa2.0 Alexa-Remote WS-MQTT: Initialization Msg 1 sent 2019-08-05 13:43:55.903 - debug: alexa2.0 Alexa-Remote WS-MQTT: Initialization Msg 2+3 sent 2019-08-05 13:43:56.040 - debug: alexa2.0 Alexa-Remote WS-MQTT: Initialization Msg 4 (Register Connection) sent 2019-08-05 13:43:56.041 - debug: alexa2.0 Alexa-Remote WS-MQTT: Send First Ping 2019-08-05 13:43:56.098 - debug: alexa2.0 Alexa-Remote: Response: [{"@type":"com.amazon.alexa.behaviors.model.Automation","xxx 2019-08-05 13:43:56.099 - debug: alexa2.0 Ignore unknown type of Automation Routine Triggerundefined 2019-08-05 13:43:56.114 - debug: alexa2.0 MusicAlarm xxx triggered in 60363s 2019-08-05 13:43:56.167 - debug: alexa2.0 Alexa-Remote WS-MQTT: Received Pong 2019-08-05 13:43:56.167 - debug: alexa2.0 Alexa-Remote WS-MQTT: Initialization completed 2019-08-05 13:43:56.167 - info: alexa2.0 Alexa-Push-Connection established. Disable Polling 2019-08-05 13:43:57.271 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 6420) 2019-08-05 13:43:57.272 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:57.516 - debug: alexa2.0 Alexa-Remote: Response: {"message":null} 2019-08-05 13:43:57.516 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 6665) 2019-08-05 13:43:57.517 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:57.893 - debug: alexa2.0 Alexa-Remote: Response: {"playerInfo":{"hint":null,"infoText":null,"isPlayingInLemur":false,"lemurVolume":null,"lyrics":null,"mainArt":null,"mediaId":null,"miniArt":null,"miniInfoText":null,"playbackSource":null,"playingInLemurId":null,"progress":null,"provider":null,"queueId":null,"state":null,"template":null,"transport":null,"upNextItems":null,"volume":null}} 2019-08-05 13:43:57.893 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 7042) 2019-08-05 13:43:57.894 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/media/state?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:58.168 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 7317) 2019-08-05 13:43:58.168 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/activities?startTime=&size=3&offset=1","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:58.229 - debug: alexa2.0 Alexa-Remote: Response: {"message":null} 2019-08-05 13:43:58.231 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 7380) 2019-08-05 13:43:58.232 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:58.432 - debug: alexa2.0 Alexa-Remote: Response: {"playerInfo":{"hint":null,"infoText":null,"isPlayingInLemur":false,"lemurVolume":null,"lyrics":null,"mainArt":null,"mediaId":null,"miniArt":null,"miniInfoText":null,"playbackSource":null,"playingInLemurId":null,"progress":null,"provider":null,"queueId":null,"state":null,"template":null,"transport":null,"upNextItems":null,"volume":null}} 2019-08-05 13:43:58.433 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 7582) 2019-08-05 13:43:58.433 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/media/state?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:58.758 - debug: alexa2.0 Alexa-Remote: Response: {"message":null} 2019-08-05 13:43:58.759 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 7908) 2019-08-05 13:43:58.760 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:58.975 - debug: alexa2.0 Alexa-Remote: Response: {"playerInfo":{"hint":null,"infoText":null,"isPlayingInLemur":false,"lemurVolume":null,"lyrics":null,"mainArt":null,"mediaId":null,"miniArt":null,"miniInfoText":null,"playbackSource":null,"playingInLemurId":null,"progress":null,"provider":null,"queueId":null,"state":null,"template":null,"transport":null,"upNextItems":null,"volume":null}} 2019-08-05 13:43:58.975 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 8124) 2019-08-05 13:43:58.975 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/media/state?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:43:59.264 - debug: alexa2.0 Alexa-Remote: Response: {"clientId":null,"contentId":null,"contentType":null,"currentState":"IDLE","imageURL":null,"isDisliked":false,"isLiked":false,"looping":false,"mediaOwnerCustomerId":null,"muted":false,"programId":null,"progressSeconds":0,"providerId":null,"queue":null,"queueId":null,"queueSize":0,"radioStationId":null,"radioVariety":0,"referenceId":null,"service":null,"shuffling":false,"timeLastShuffled":0,"volume":62} 2019-08-05 13:43:59.265 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 8414) 2019-08-05 13:43:59.266 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:44:00.143 - debug: alexa2.0 Alexa-Remote: Response: {"playerInfo":{"hint":null,"infoText":null,"isPlayingInLemur":true,"lemurVolume":null,"lyrics":null,"mainArt":null,"mediaId":null,"miniArt":null,"miniInfoText":null,"playbackSource":null,"playingInLemurId":"xxx","progress":null,"provider":null,"queueId":null,"state":null,"template":null,"transport":null,"upNextItems":null,"volume":null}} 2019-08-05 13:44:00.143 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 9292) 2019-08-05 13:44:00.144 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/media/state?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:44:00.655 - debug: alexa2.0 Alexa-Remote: Response: {"message":"Device is not connected/initialized: deviceSerialNumber=xxx, deviceType=xxx"} 2019-08-05 13:44:00.656 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 9805) 2019-08-05 13:44:00.656 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:44:00.949 - debug: alexa2.0 Alexa-Remote: Response: {"playerInfo":{"hint":null,"infoText":null,"isPlayingInLemur":false,"lemurVolume":null,"lyrics":null,"mainArt":null,"mediaId":null,"miniArt":null,"miniInfoText":null,"playbackSource":null,"playingInLemurId":null,"progress":null,"provider":null,"queueId":null,"state":null,"template":null,"transport":null,"upNextItems":null,"volume":null}} 2019-08-05 13:44:00.949 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 10098) 2019-08-05 13:44:00.949 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/media/state?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:44:01.327 - debug: alexa2.0 Alexa-Remote: Response: {"message":"Device is not connected/initialized: deviceSerialNumber=xxx, deviceType=xxx"} 2019-08-05 13:44:01.328 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 10477) 2019-08-05 13:44:01.328 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/np/player?deviceSerialNumber=xxx&deviceType=xxx&screenWidth=1392&_=xxx","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:44:01.525 - debug: alexa2.0 Alexa-Remote: Response: {"message":null} 2019-08-05 13:44:01.525 - debug: alexa2.0 Alexa-Remote: No authentication check needed (time elapsed 10674) 2019-08-05 13:44:01.525 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/activities?startTime=&size=3&offset=1","method":"GET","timeout":10000,"headers":{}} 2019-08-05 13:44:08.617 - debug: alexa2.0 Alexa-Remote: Response: {"message":null} 2019-08-05 13:44:08.618 - warn: alexa2.0 Exception: TypeError: Cannot read property 'length' of undefined 2019-08-05 13:44:08.623 - error: alexa2.0 uncaught exception: Cannot read property 'length' of undefined 2019-08-05 13:44:08.623 - error: alexa2.0 TypeError: Cannot read property 'length' of undefined at httpsGet (/opt/iobroker/node_modules/iobroker.alexa2/node_modules/alexa-remote2/alexa-remote.js:1122:55) at IncomingMessage.res.on (/opt/iobroker/node_modules/iobroker.alexa2/node_modules/alexa-remote2/alexa-remote.js:752:58) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: TypeError: Cannot read property 'length' of undefined 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at httpsGet (/opt/iobroker/node_modules/iobroker.alexa2/node_modules/alexa-remote2/alexa-remote.js:1122:55) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at IncomingMessage.res.on (/opt/iobroker/node_modules/iobroker.alexa2/node_modules/alexa-remote2/alexa-remote.js:752:58) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at emitNone (events.js:111:20) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at IncomingMessage.emit (events.js:208:7) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at endReadableNT (_stream_readable.js:1064:12) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:139:11) 2019-08-05 13:44:08.634 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:181:9) 2019-08-05 13:44:08.634 - error: host.server instance system.adapter.alexa2.0 terminated with code 0 (OK) 2019-08-05 13:44:08.634 - info: host.server Restart adapter system.adapter.alexa2.0 because enabled
-
Viel war hier ja nicht los ^^
Ich hatte die letzte Nacht den Adapter deaktiviert und gerade eben wieder aktiviert.
Jetzt läuft er momentan wieder ohne Probleme, an der Konfig habe ich nichts geändert ...