lghorizon icon indicating copy to clipboard operation
lghorizon copied to clipboard

No longer connecting with a Virgin (GB) box

Open dickthespoon opened this issue 1 year ago • 65 comments

Describe the bug Integration no longer working, not connecting to Virgin (GB)

To Reproduce Steps to reproduce the behaviour: Look in Devices and Services and Integration is red and entity is not available

Expected behaviour Entity to be available

Version of the component v0.5.3 installed

Logging 2024-01-10 19:52:19.894 ERROR (SyncWorker_2) [lghorizon.lghorizon_api] Giving up connect(...) after 11 tries (AttributeError: 'LGHorizonAuth' object has no attribute 'username') 2024-01-10 19:52:19.895 ERROR (MainThread) [custom_components.lghorizon.config_flow] 'LGHorizonAuth' object has no attribute 'username'

Additional context Tried removing and re-adding, it just spins for a while then says can't connect. All details used for login are correct, double checked with Virgin TV Go app and that is logging in and all working correctly.

dickthespoon avatar Jan 10 '24 20:01 dickthespoon

I'm having the same issues. Posted details here, https://github.com/Sholofly/lghorizon/issues/62. I first noticed the problem around mid morning today 10/1/24.

I've tried rebooting HA and Virgin box. I then removed the device but I can't add it back in getting the above error.

ChrisThomas42 avatar Jan 10 '24 21:01 ChrisThomas42

Same issue

Shivy011 avatar Jan 11 '24 11:01 Shivy011

Just adding what's seen in the debug log:

2024-01-11 13:35:48.508 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Connect to API 2024-01-11 13:35:48.508 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 1 - Get Authorization data 2024-01-11 13:35:48.797 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 2 - Get Authorization cookie 2024-01-11 13:35:49.024 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 3 - Login 2024-01-11 13:35:49.179 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 4 - Follow redirect 2024-01-11 13:35:49.265 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 5 - Extract auth code 2024-01-11 13:35:49.265 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Auth code: ******, Auth state: ************************ 2024-01-11 13:35:49.265 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 6 - Post auth data with valid code 2024-01-11 13:35:50.054 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Obtain Virgin GB mqtt token... 2024-01-11 13:35:50.054 INFO (SyncWorker_10) [lghorizon.lghorizon_api] Backing off connect(...) for 1.0s (AttributeError: 'LGHorizonAuth' object has no attribute 'username')

**Auth code and Auth state redacted!

dickthespoon avatar Jan 11 '24 13:01 dickthespoon

Same here.

KEV-github avatar Jan 11 '24 16:01 KEV-github

Also happening here, Virgin Media Ireland

beanian avatar Jan 11 '24 22:01 beanian

It happened to me, but UPC Poland.

ArkadiuszSilevis avatar Jan 12 '24 11:01 ArkadiuszSilevis

Same issue with Telenet (BE)

Pieter-Geerts avatar Jan 13 '24 09:01 Pieter-Geerts

It happened to me just after an update to 2024.1.1

KEV-github avatar Jan 13 '24 09:01 KEV-github

same here for Telenet BE

bdormael avatar Jan 13 '24 12:01 bdormael

I'm having the same problem - tried reverting to 2023.12.4, still had the same problem, also reverted to v.0.5.2 and still no connection to my Virgin Media UK devices.

davepearson1628 avatar Jan 13 '24 20:01 davepearson1628

I suspect there's something changed in the way authentication is implemented by LG. If someone in GB would like to share credentials and a VPN, I can take a look. Find me as Sholofly on discord.

Sholofly avatar Jan 13 '24 21:01 Sholofly

For CH is a beta version available.v0.5.4b0

Sholofly avatar Jan 13 '24 22:01 Sholofly

@Sholofly I'm in the Uk but we're away visiting sick relative for the next few days. I'll make contact when we get back home.

ChrisThomas42 avatar Jan 14 '24 09:01 ChrisThomas42

For CH is a beta version available.v0.5.4b0

I could test it, I am based in Switzerland. how can I get the beta in order to give feedback?

steuerzentrale avatar Jan 14 '24 13:01 steuerzentrale

@Sholofly I am in the UK and happy to assist any way I can. What exactly do you need, my Virgin Media login? Unfortunately, I don't have a VPN.

robertwigley avatar Jan 14 '24 13:01 robertwigley

For CH is a beta version available.v0.5.4b0

Works in CH

BrauseP avatar Jan 14 '24 13:01 BrauseP

For CH is a beta version available.v0.5.4b0

I could test it, I am based in Switzerland. how can I get the beta in order to give feedback?

In HACS find the integration, click the three dots at the top right, select "Redownload", toggle on "Show beta versions", select the new beta version and click "Download" and restart HA. To switch this off and/or revert, toggle the switch back to off and you can redownload the non-beta version.

robertwigley avatar Jan 14 '24 14:01 robertwigley

yes, can confirm too that it is working in CH with v05.4b0

steuerzentrale avatar Jan 14 '24 14:01 steuerzentrale

I thought I would try v0.5.4b0 on the off chance it also fixed it for Virgin Media in the UK. Unfortunately not.

robertwigley avatar Jan 14 '24 14:01 robertwigley

@Sholofly Looks like VM (GB) may have moved MQTT servers? image

callumeveratt avatar Jan 16 '24 13:01 callumeveratt

@Sholofly I've only used discord once before so bear with! I've just sent you a friend request. We're home for a day or so, we're waiting the inevitable with my Mother-in-Law.

ChrisThomas42 avatar Jan 16 '24 15:01 ChrisThomas42

I've released a new beta version. That should be sufficient for other countries that don't use oAuth to log in. Unfortunately GB, IE en BE use oAuth and something has changed in the auth. I am on it.

Sholofly avatar Jan 16 '24 19:01 Sholofly

yes, can confirm too that it is working in CH with v05.4b0

Can you confirm its still working in 0.5.4b1?

Sholofly avatar Jan 16 '24 19:01 Sholofly

yes, can confirm too that it is working in CH with v05.4b0

Can you confirm its still working in 0.5.4b1?

No. v0.5.4b1 don't working in CH

BrauseP avatar Jan 16 '24 23:01 BrauseP

Doe you have logs?

Op wo 17 jan 2024 00:41 schreef BrauseP @.***>:

yes, can confirm too that it is working in CH with v05.4b0

Can you confirm its still working in 0.5.4b1?

No. v0.5.4b1 don't working in CH

— Reply to this email directly, view it on GitHub https://github.com/Sholofly/lghorizon/issues/82#issuecomment-1894693472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG4EAG7IUSS2HOWMKGWFFDYO4FZPAVCNFSM6AAAAABBVMXH6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGY4TGNBXGI . You are receiving this because you were mentioned.Message ID: @.***>

Sholofly avatar Jan 16 '24 23:01 Sholofly

v0.5.4b1

Works for me. Thanks!!

ArkadiuszSilevis avatar Jan 17 '24 08:01 ArkadiuszSilevis

Are you still looking for someone from GB with Virgin to help? I could take a backup and give you direct access to my setup if that'd be useful, or happy to debug with you.

marcelkornblum avatar Jan 19 '24 00:01 marcelkornblum

@Sholofly Same as @marcelkornblum; I'm based in the UK, using Virgin Media and I can give you guest access to my setup, if you need the assist :)

dnwlmz avatar Jan 19 '24 09:01 dnwlmz

@Sholofly Hope we can get this working again for our Virgin UK users. Thanks for all your input.

KEV-github avatar Jan 23 '24 18:01 KEV-github