Closed groovyf closed 1 year ago
To confirm, I can successfully login to my Virgin Media account using the same credentials I use for the EOSSTB plugin. Unsure how long this oauth failing has been happening as I don't often look at my Homebridge console.
Having just restarted Homebridge, the logs now show: [2/16/2023, 2:15:07 PM] [EOSSTB] Session DISCONNECTED. Starting session connection process [2/16/2023, 2:15:07 PM] [EOSSTB] Creating eosstb GB session... [2/16/2023, 2:15:07 PM] [EOSSTB] Step 1 of 7: get authentication details [2/16/2023, 2:15:08 PM] [EOSSTB] Step 1 of 7: response: 200 OK [2/16/2023, 2:15:08 PM] [EOSSTB] Step 2 of 7: get AUTH cookie [2/16/2023, 2:15:09 PM] [EOSSTB] Step 2 of 7: response: 200 OK [2/16/2023, 2:15:09 PM] [EOSSTB] Step 3 of 7: logging in with username xxx@xxx.com (email redacted) [2/16/2023, 2:15:09 PM] [EOSSTB] Step 3 of 7: response: 200 OK [2/16/2023, 2:15:09 PM] [EOSSTB] Step 4 of 7: follow redirect url [2/16/2023, 2:15:09 PM] [EOSSTB] Step 4 of 7: response: 302 Found [2/16/2023, 2:15:09 PM] [EOSSTB] Step 5 of 7: extract authorizationCode [2/16/2023, 2:15:09 PM] [EOSSTB] Step 5 of 7: authorizationCode OK [2/16/2023, 2:15:09 PM] [EOSSTB] Step 6 of 7: post auth data with valid code [2/16/2023, 2:15:09 PM] [EOSSTB] Step 6 of 7: response: 200 OK [2/16/2023, 2:15:09 PM] [EOSSTB] Step 7 of 7: post refreshToken request [2/16/2023, 2:15:10 PM] [EOSSTB] Step 7 of 7: response: 200 OK [2/16/2023, 2:15:10 PM] [EOSSTB] Session created
Is there some session timeout that occurs which after some time causes the plugin to disconnect and try to reconnect?
Update: Logs already showing oauth failures:
[2/16/2023, 2:50:33 PM] [EOSSTB] Session DISCONNECTED. Starting session connection process [2/16/2023, 2:50:33 PM] [EOSSTB] Creating eosstb GB session... [2/16/2023, 2:50:33 PM] [EOSSTB] Step 1 of 7: get authentication details [2/16/2023, 2:50:33 PM] [EOSSTB] Step 1 of 7: response: 200 OK [2/16/2023, 2:50:33 PM] [EOSSTB] Step 2 of 7: get AUTH cookie [2/16/2023, 2:50:34 PM] [EOSSTB] Step 2 of 7: response: 200 OK [2/16/2023, 2:50:34 PM] [EOSSTB] Step 3 of 7: logging in with username xxx@xxx.com (email redacted) [2/16/2023, 2:50:34 PM] [EOSSTB] Step 3 of 7: response: 200 OK [2/16/2023, 2:50:34 PM] [EOSSTB] Step 4 of 7: follow redirect url [2/16/2023, 2:50:34 PM] [EOSSTB] Failed to create session - Step 4 of 7: Unable to oauth authorize: 404 Not Found
Hi @groovyf I'd like to help. I need to see why the session disconnects. Set debug log level to verbose, and enable also homebridge debug mode. This will log a very large amount of data. Create a log of a reboot and then showing when the session disconnects. redact the log and send it to me by email. My email is my github username with a b between the j and s, at that well known email service starting with a g.
Please try v2.2.2 and report back
Apologies for not getting back with logs. I’ll get the new version tested. Very odd though, just looking at logs now and there are no errors at all, despite me not making any changes at all!
Could have been a back end problem. If v2.2.2 works without issue, then all is good. Let me know.
Closing due to no response
Describe The Bug: Every 15 seconds or so, the EOSSTB plugin attempts to connect & authenticate, but fails
To Reproduce: Issue reproduces every 15 seconds
Expected behavior: Expect session to login correctly a single time
Logs:
Plugin Config:
Screenshots:
Environment: