homebridge-eosstb icon indicating copy to clipboard operation
homebridge-eosstb copied to clipboard

Control of Settop Box no longer possible since ca 10 January 2024

Open jsiegenthaler opened this issue 5 months ago • 76 comments

In Switzerland and the UK the settop box can no longer be controlled as of ca 10 Jan 2024

It looks like the MQTT session is no longer connecting

UPDATE 25 Jan 2024: Solved for many countries, please use the latest v2.3.0 (or greater). Still working on the issue for GB

jsiegenthaler avatar Jan 13 '24 15:01 jsiegenthaler

Working on it...

jsiegenthaler avatar Jan 13 '24 15:01 jsiegenthaler

Issue may also impact other countries, I need user feedback to find out

jsiegenthaler avatar Jan 13 '24 15:01 jsiegenthaler

Might be related - but I’m in the UK and also unable to connect and control set top box but logs indicate 401 error:

Failed to create session - Step 3 of 7:
Unable to login: 401 Unauthorized

I have checked credentials, they work. Account has no biometrics attached. Worked Dec last year (2023).

Flatsphere avatar Jan 13 '24 18:01 Flatsphere

Hi @jsiegenthaler, Can you keep me up-to-date about your findings?

Sholofly avatar Jan 13 '24 22:01 Sholofly

@Sholofly fixed in v2.2.15-beta.2, MQTT endpoint changed for CH, not sure about other countries yet

jsiegenthaler avatar Jan 13 '24 22:01 jsiegenthaler

Fixed in v2.2.15, released 14.01.2024

jsiegenthaler avatar Jan 14 '24 07:01 jsiegenthaler

@Sholofly I'll send you an email.

jsiegenthaler avatar Jan 14 '24 08:01 jsiegenthaler

@jsiegenthaler Same issue in GB. v2.2.15 has not fixed this here. Let me know if you need any more details.

absreda avatar Jan 14 '24 09:01 absreda

Hi @absreda and @Flatsphere I am working on a new version v2.3.0 and will release a beta today for testing. I would love to have some GB and IE users provide some test feedback. v2.3.0 contains adaptations that should fix the changed endpoints for all countries, but I need confirmation of the authentication sequence

jsiegenthaler avatar Jan 14 '24 11:01 jsiegenthaler

Hi @absreda and @Flatsphere I just published 2.3.0-beta.1 with fixes for the endpoints. Please test. If the authentication fails, please send me a full debug log with eosstb plugin debugging enabled at level 9 (ensure "debugLevel": 9 exists in the eosstb config). Send the logs to me by email. My email is my github username with a b between j and s, at that well known email service starting with g

jsiegenthaler avatar Jan 14 '24 11:01 jsiegenthaler

@jsiegenthaler - no problem. I’ll be able to test in a couple of hours and will let you know. Many thanks.

Flatsphere avatar Jan 14 '24 12:01 Flatsphere

@jsiegenthaler - sorry for the delay. The latest beta has solved the connection issue, but not if I use Method C (GB), only Method A works.

Unfortunately I then get the following error: [1/15/2024, 9:03:40 PM] [Virgin Media] refreshMasterChannelList: Master channel list refreshed with 421 channels, val id until 1/15/2024, 9:33:40 PM [1/15/2024, 9:03:40 PM] [Virgin Media] Discovering devices... [1/15/2024, 9:03:40 PM] [Virgin Media] Failed to discover devices - No devices found. The backend systems may be down , or you have no supported devices on y our customer account [1/15/2024, 9:03:40 PM] [Virgin Media] sessionWatchdog (1): Exiting sessionWatchdog

Flatsphere avatar Jan 15 '24 21:01 Flatsphere

@Flatsphere that's great news! Can you send me the log showing the connection occurring? I'd like to see it with full debugging turned on, as @absreda cannot connect. Send the logs to me by email. My email is my github username with a b between j and s, at that well known email service starting with g

jsiegenthaler avatar Jan 15 '24 21:01 jsiegenthaler

@jsiegenthaler - will do. I might not be able to email the log tonight, but will send them asap,

Flatsphere avatar Jan 15 '24 21:01 Flatsphere

@jsiegenthaler Where do i find the changed code? Don't see it in your repo...

Sholofly avatar Jan 15 '24 21:01 Sholofly

@Sholofly Sorry, I didn't publish the branch. Here it is: https://github.com/jsiegenthaler/homebridge-eosstb/tree/Add-auto-endpoint-detection

jsiegenthaler avatar Jan 15 '24 22:01 jsiegenthaler

@jsiegenthaler - I have emailed you the logs. Let me know if there is anything else I can do to help.

Flatsphere avatar Jan 15 '24 22:01 Flatsphere

Thanks @jsiegenthaler !

Sholofly avatar Jan 16 '24 06:01 Sholofly

To all watching and reading this: the change to the GB logon sequence (and maybe also other countries...) is a change to using OAuth 2.0 with PKCE (Pixie) using a code challenge method of S256. This is an authentication method that I am not familiar with. I thus at the bottom of a very steep learning curve and really need the help of volunteers. If you have experience with use of OAuth and OAuth 2.0 - in any programming language - and are able to help, please get in touch via email. Read the comments above for my email address.

jsiegenthaler avatar Jan 16 '24 06:01 jsiegenthaler

Hi All. 2.3.0-beta.3 has been published. Please try new Auth Method D with your valid credentials. Turn off the watchdog to prevent the watchdog from trying to restart the session and thus flooding the logs. Send me the logs by email - for logon fail and success please, remember to remove your real password.

jsiegenthaler avatar Jan 16 '24 08:01 jsiegenthaler

Hi! For PL it also stopped working. The device is discovered correctly, but sending power key doesn’t turn on set-top box.

wojtul2323 avatar Jan 17 '24 12:01 wojtul2323

@wojtul2323 hi. I guess that means it did work in PL. I'll put PL in the confirmed list :) Have you tried the latest beta version? If it doesn't work, please send me logs with max debugging enabled

jsiegenthaler avatar Jan 17 '24 14:01 jsiegenthaler

Beta version works lile a charm :)

wojtul2323 avatar Jan 17 '24 14:01 wojtul2323

@wojtul2323 Good to hear. I'll prepare a release version shortly for all users

jsiegenthaler avatar Jan 17 '24 16:01 jsiegenthaler

I am following this thread as I am struggling to get it working. I have tried all of the above. I just keep getting the following…

Failed to create session - Step 4 of 7: Unable to oauth authorize: 404 Not Found

Any advice would be appreciated.

Thornton69 avatar Jan 18 '24 08:01 Thornton69

Hi @Thornton69 Can you tell me which country you are in?

jsiegenthaler avatar Jan 18 '24 08:01 jsiegenthaler

@jsiegenthaler I am in the uk.

Thornton69 avatar Jan 18 '24 08:01 Thornton69

@Thornton69 the GB authentication method changed in the last couple of weeks and I am trying to make the plugin work with the new authentication method. I appreciate all help I can get. Do you have any experience with authentication methods?

jsiegenthaler avatar Jan 18 '24 09:01 jsiegenthaler

@jsiegenthaler i don't I'm afraid. I am a complete novice. I was reading your feed thinking you may have fixed the issue and I was the only one with the problem.

I hope you get to the bottom of it. Your service is one of the best on here. It has worked impeccably for me.

Thornton69 avatar Jan 18 '24 09:01 Thornton69

@Thornton69 I'll do my best. Not sure if my best will be enough. It's difficult. We'll see.

jsiegenthaler avatar Jan 18 '24 09:01 jsiegenthaler