ERROR (SyncWorker_12) [custom_components.media_player.alexa] Could not connect to alexa server at http://addon_9ff8aed5_alexaapi (('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)))
UPDATE: After few Hassio restarts it’s working great!
So i got the addon working (restart was needed). And also got the login message. So that looks good. I also installed the custom media_player component and after a restart I got the devices listed. But they dont seem to work and always have an unknown state. The log says the following: 2018-07-05 11:43:00 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.echo_wohnzimmer is taking over 10 seconds
for every device. The frontend says:
In reallity it is playing a TuneIn channel. So it seems that the custom component does not work as it should.
As every mobile is also getting discovered by the service, it could be a good idea, to implement a white list of devices
Thu, 05 Jul 2018 17:20:58 GMT nightmare running
There was an error
Internal endpoint:
curl -X POST -d "tts=Ask Alexa team for a proper TTS API" -d "deviceSerialNumber=deviceSerialNumber" http://localhost:8091/alexa-tts
got request for getDevices
TypeError: Cannot read property 'cookies' of null
at Object.getDevices (/workspace/alexa-api.js:181:26)
at /workspace/index.js:29:13
at Layer.handle [as handle_request] (/workspace/node_modules/express/lib/router/layer.js:95:5)
at next (/workspace/node_modules/express/lib/router/route.js:137:13)
at urlencodedParser (/workspace/node_modules/body-parser/lib/types/urlencoded.js:100:7)
at Layer.handle [as handle_request] (/workspace/node_modules/express/lib/router/layer.js:95:5)
at next (/workspace/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/workspace/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/workspace/node_modules/express/lib/router/layer.js:95:5)
at /workspace/node_modules/express/lib/router/index.js:281:22
For those experiencing the “There was an error” error in their addon log. Can I ask what environment you’re running on (raspberry-pi, or other). Also what locale are you in. (USA, or other)
Typically the error means that it failed to login to amazon with your credentials, but this could be because as of right now it is using the amazon.com website.
Env. HASSIO latest, on RPI 3, using amazon.co.uk in the UK, checked that my credentials work in amazon.co.uk, haven’t tried in amazon.com. Is there an option to tell the addon what country you are in, either automatically or manually?