joeyhage / homebridge-alexa-smarthome

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

Unable to initialize connection to login page #77

Closed sarat03 closed 7 months ago

sarat03 commented 7 months ago

Describe Your Problem:

I'm unable to initialize connection to login page. Tried all ways but still unable to resolve. I Always see this Check logs message in the first line, but I couldn't find any logs other than this. I also tried removing persist but there is no file Homebridgealexasmarthome to delete

Logs:

[12/3/2023, 8:47:54 AM] [HomebridgeAlexaSmartHome] Failed to initialize connection to Alexa. - Proxy Server could not be initialized. Check Logs.
[12/3/2023, 8:47:54 AM] [HomebridgeAlexaSmartHome] Alexa-Remote: Authentication check Error, try re-init
[12/3/2023, 8:47:54 AM] [HomebridgeAlexaSmartHome] Alexa-Remote: No cookie given, generate one
[12/3/2023, 8:47:54 AM] [HomebridgeAlexaSmartHome] Alexa-Remote: Error from retrieving cookies
[12/3/2023, 8:47:54 AM] [HomebridgeAlexaSmartHome] Alexa-Remote: Authentication check Error and renew unsuccessful. STOP
[12/3/2023, 8:47:54 AM] [HomebridgeAlexaSmartHome] After initialization - HttpError(Error getting smart home devices. Reason: Cookie invalid, Renew unsuccessful)

Plugin Config:

 "auth": {
                "refreshInterval": 4,
                "proxy": {
                    "clientHost": "10.0.0.139",
                    "port": 8581
                }
            },
            "amazonDomain": "amazon.com",
            "language": "en-US",
            "performance": {
                "cacheTTL": 85,
                "backgroundRefresh": false
            },
            "debug": true,
            "platform": "HomebridgeAlexaSmartHome"

Screenshots:

Screenshot 2023-12-03 085804

Environment:

joeyhage commented 7 months ago

Hi @sarat03, please see https://github.com/joeyhage/homebridge-alexa-smarthome#initial-configuration. The proxy port cannot be 8581 because that is already reserved by Homebridge.