joeyhage / homebridge-alexa-smarthome

Connect Alexa devices to HomeKit
MIT License
81 stars 20 forks source link

Failed to initialize connection to Alexa. - Proxy Server could not be initialized. #116

Closed javisangat closed 7 months ago

javisangat commented 7 months ago

My problem is that I can't connect to the Alexa app.

[homebridge-alexa-smarthome] Alexa-Remote: Error from retrieving cookies [2/27/2024, 7:35:47 PM] [homebridge-alexa-smarthome] Failed to initialize connection to Alexa. - Proxy Server could not be initialized. Check Logs. [2/27/2024, 7:35:47 PM] [homebridge-alexa-smarthome] Alexa-Remote: Authentication check Error, try re-init [2/27/2024, 7:35:47 PM] [homebridge-alexa-smarthome] Alexa-Remote: No cookie given, generate one [2/27/2024, 7:35:47 PM] [homebridge-alexa-smarthome] Alexa-Remote: Error from retrieving cookies [2/27/2024, 7:35:47 PM] [homebridge-alexa-smarthome] Alexa-Remote: Authentication check Error and renew unsuccessful. STOP

{ "devices": [], "excludeDevices": [], "auth": { "refreshInterval": 4, "proxy": { "clientHost": "http://172.20.10.8", "port": 8581 } }, "amazonDomain": "amazon.es", "language": "en-US", "performance": { "cacheTTL": 30, "backgroundRefresh": true }, "debug": true, "_bridge": { "username": "0E:85:83:BE:E6:78", "port": 7341 }, "platform": "HomebridgeAlexaSmartHome" }

macOS Sonoma


joeyhage commented 7 months ago

For example, if you access homebridge via the url http://my-homebridge-server.local:8581 then clientHost should be my-homebridge-server.local. The port should be a different value from homebridge (not 8581)

joeyhage commented 7 months ago

IP address works but you need to remove http:// and 8581 is not allowed

javisangat commented 7 months ago

Thank you very much, now it works fine