Sholofly / lghorizon

Custom integration to control LG Horizon settop boxes for Ziggo(NL), Magenta(AT), UPC(CH), Virgin(GB, IE), Telenet(BE)
GNU General Public License v3.0
62 stars 15 forks source link

Connection to Telenet broken #150

Closed TekFan closed 3 days ago

TekFan commented 1 week ago

Since this afternoon the integration cannot connect to Telenet anymore

I get this in the log: Giving up _do_api_call(...) after 3 tries (lghorizon.exceptions.LGHorizonApiConnectionError: Unable to call https://spark-prod-be.gnp.cloud.telenet.tv/auth-service/v1/mqtt/token. Error:401 Client Error: Unauthorized for url: https://spark-prod-be.gnp.cloud.telenet.tv/auth-service/v1/mqtt/token)

I was running the latest version (0.7.3) and I uninstalled and reinstalled everything but to no avail. I even tried a previous version (0.6.2), but no cigar.

Now, it may be just a coincidence but this just happened after having changed my subscription to a OneUp to get 1Gbit internet. Other than that nothing changed, still exactly the same credentials, etc. My TV-Box is working fine as well as the app on my mobiles, I can even remote control my TV-Box from the app so there doesn't seem to be a server outage.

I uninstalled the integration thinking that there could be an old token stored somewhere, but now I can't even install it back anymore as it doesn't pass the initial authentification.

Is there anything else I could try ?

denandy83 commented 5 days ago

It’s not you. It broke for me too 2 days ago I get ‘This entity is no longer being provided by the lghorizon integration‘ when I tap on it

Sholofly commented 4 days ago

Please update to the latest version and reauthenticate using the Refresh token method. Please let me know if that works for you.

denandy83 commented 4 days ago

Works again after update, didn’t need to update token

GlennLenaerts commented 3 days ago

Please update to the latest version and reauthenticate using the Refresh token method. Please let me know if that works for you.

How di reauthenticate? how do i do the refresh token method?

Sholofly commented 3 days ago

Remove the current integration en readd it..

GlennLenaerts commented 3 days ago

iff i want to add it ask a token is that the same as the password?

ColinRobbins commented 3 days ago

How to get the token is described in the Readme: https://github.com/Sholofly/lghorizon?tab=readme-ov-file#configuration-for-virgingb-sunrise-ch-telenet-be-and-base-be

GlennLenaerts commented 3 days ago

it worked thankx mate

bedar89 commented 3 days ago

Sorry to open this issue, please let me know if you want me to start a new issue.

I'm unable to obtain a token from Telenet. No matter on what page I look (my telenet, telenet.tv, etc) I never seem to get any token. I've used both Chrome and Edge with the provided extensions.

@GlennLenaerts, how did you obtain your token with Telenet?

GlennLenaerts commented 2 days ago

I used firefox an followed the tutorial on the page

Verzonden vanaf Outlook voor Androidhttps://aka.ms/AAb9ysg


From: Bedar @.> Sent: Monday, November 4, 2024 4:58:16 PM To: Sholofly/lghorizon @.> Cc: GlennLenaerts @.>; Mention @.> Subject: Re: [Sholofly/lghorizon] Connection to Telenet broken (Issue #150)

Sorry to open this issue, please let me know if you want me to start a new issue.

I'm unable to obtain a token from Telenet. No matter on what page I look (my telenet, telenet.tv, etc) I never seem to get any token. I've used both Chrome and Edge with the provided extensions.

@GlennLenaertshttps://github.com/GlennLenaerts, how did you obtain your token with Telenet?

— Reply to this email directly, view it on GitHubhttps://github.com/Sholofly/lghorizon/issues/150#issuecomment-2455089136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEJMESEXKZS7GLF63SPXJNLZ66KRRAVCNFSM6AAAAABQ4D7W7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGA4DSMJTGY. You are receiving this because you were mentioned.Message ID: @.***>

GlennLenaerts commented 2 days ago

You must sign in into telenet tv online in firefox first