homebridge-alexa-smarthome icon indicating copy to clipboard operation
homebridge-alexa-smarthome copied to clipboard

Cannot log into Alexa account for first time setup

Open su37kk opened this issue 1 year ago • 7 comments

I am trying to setup this plugin but I do not ever get the Amazon login screen as shown in the setup instructions. I only ever get the webpage with the QR code that attempts to install the Alexa app. When I click on the "Go To Alexa App" button on that page, the Alexa app is brought to fore ground but then nothing happens. I tried to turn off JS and clear cookies as instructed in common-issues, but then localhost:7002 landing page says I need to turn on JS to it to work. So to summarize, I can neither login to Alexa using the credential dialog box in the browser nor login/get the cookie using the Alexa app.

Logs: [11/27/2023, 9:57:23 AM] [homebridge-alexa-smarthome] Failed to initialize connection to Alexa. - You can try to get the cookie manually by opening http://localhost:7002/ with your browser. [11/27/2023, 9:57:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: Authentication check Error, try re-init [11/27/2023, 9:57:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: No cookie given, generate one [11/27/2023, 9:57:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: Error from retrieving cookies [11/27/2023, 9:57:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: Authentication check Error and renew unsuccessful. STOP [11/27/2023, 9:57:23 AM] [homebridge-alexa-smarthome] After initialization - HttpError(Error getting smart home devices. Reason: Cookie invalid, Renew unsuccessful) [11/27/2023, 10:01:23 AM] [homebridge-alexa-smarthome] Updating device states [11/27/2023, 10:01:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: Authentication check Error, try re-init [11/27/2023, 10:01:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: No cookie given, generate one [11/27/2023, 10:01:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: Error from retrieving cookies [11/27/2023, 10:01:23 AM] [homebridge-alexa-smarthome] Alexa-Remote: Authentication check Error and renew unsuccessful. STOP

Plugin Config: { "devices": [], "auth": { "refreshInterval": 4, "proxy": { "clientHost": "localhost", "port": 7002 } }, "language": "en-US", "performance": { "cacheTTL": 300, "backgroundRefresh": true }, "debug": true, "_bridge": { "username": "0E:81:E1:5D:A2:A5", "port": 41780 }, "platform": "HomebridgeAlexaSmartHome" }

Screenshots:

Environment:

  • Plugin Version: v2.0.1
  • Homebridge Version: v1.7.0
  • Node.js Version: v20.9.0
  • NPM Version: v10.1.0
  • Operating System: Docker

su37kk avatar Nov 27 '23 18:11 su37kk