jsiegenthaler / homebridge-eosstb

A homebridge plugin for the EOS set-top box as used by Sunrise, Telenet, Ziggo, Virgin Media and maybe more in various countries on the Horizon Go (HGO) platform
https://github.com/jsiegenthaler/homebridge-eosstb
32 stars 4 forks source link

Plugin worked fine - changed service provider password - now cant connect. #86

Closed Flatsphere closed 1 year ago

Flatsphere commented 1 year ago

Describe Your Problem: I had to change my media account password and now the plugin cannot connect and does not work. Prior to changing the password, the plugin was working just fine with no issues. I have verified that the new password works to log in on the web interface and via mobile, and that it is correctly input into the config. My username/email has not changed.

Logs:

[12/29/2022, 11:04:07 AM] [Virgin Media] sessionWatchdog(5): > started sessionWatchdog(5)
[12/29/2022, 11:04:07 AM] [Virgin Media] sessionWatchdog(5): sessionState=DISCONNECTED mqttState=DISCONNECTED mqttClient.connected=false sessionWatchdogRunning=false > Session and mqtt not connected, sessionWatchdog(5) will try to connect now...
[12/29/2022, 11:04:07 AM] [Virgin Media] sessionWatchdog(5): sessionWatchdogRunning=true
[12/29/2022, 11:04:07 AM] [Virgin Media] Session DISCONNECTED. Starting session connection process
[12/29/2022, 11:04:07 AM] [Virgin Media] sessionWatchdog(5): attempting to create session
[12/29/2022, 11:04:07 AM] [Virgin Media] Creating eosstb GB session...
[12/29/2022, 11:04:07 AM] [Virgin Media] Step 1 of 7: get authentication details
[12/29/2022, 11:04:07 AM] [Virgin Media] Step 1 of 7: get authentication details from https://web-api-prod-obo.horizon.tv/oesp/v4/GB/eng/web/authorization
[12/29/2022, 11:04:07 AM] [Virgin Media] Step 1 of 7: response: 200 OK
[12/29/2022, 11:04:07 AM] [Virgin Media] Step 2 of 7: get AUTH cookie
[12/29/2022, 11:04:07 AM] [Virgin Media] Step 2 of 7: response: 200 OK
[12/29/2022, 11:04:07 AM] [Virgin Media] Step 3 of 7: logging in with username ***************
[12/29/2022, 11:04:07 AM] [Virgin Media] Failed to create session - Step 3 of 7: Unable to login: 401 Unauthorized
[12/29/2022, 11:04:22 AM] [Virgin Media] sessionWatchdog(6): > started sessionWatchdog(6)
[12/29/2022, 11:04:22 AM] [Virgin Media] sessionWatchdog(6): sessionState=DISCONNECTED mqttState=DISCONNECTED mqttClient.connected=false sessionWatchdogRunning=false > Session and mqtt not connected, sessionWatchdog(6) will try to connect now...
[12/29/2022, 11:04:22 AM] [Virgin Media] sessionWatchdog(6): sessionWatchdogRunning=true
[12/29/2022, 11:04:22 AM] [Virgin Media] Session DISCONNECTED. Starting session connection process
[12/29/2022, 11:04:22 AM] [Virgin Media] Creating eosstb GB session...
[12/29/2022, 11:04:22 AM] [Virgin Media] sessionWatchdog(6): attempting to create session
[12/29/2022, 11:04:22 AM] [Virgin Media] Step 1 of 7: get authentication details
[12/29/2022, 11:04:22 AM] [Virgin Media] Step 1 of 7: get authentication details from https://web-api-prod-obo.horizon.tv/oesp/v4/GB/eng/web/authorization
[12/29/2022, 11:04:22 AM] [Virgin Media] Step 1 of 7: response: 200 OK
[12/29/2022, 11:04:22 AM] [Virgin Media] Step 2 of 7: get AUTH cookie
[12/29/2022, 11:04:22 AM] [Virgin Media] Step 2 of 7: response: 200 OK
[12/29/2022, 11:04:22 AM] [Virgin Media] Step 3 of 7: logging in with username ***************
[12/29/2022, 11:04:22 AM] [Virgin Media] Failed to create session - Step 3 of 7: Unable to login: 401 Unauthorized

Plugin Config:

{
    "name": "Virgin Media",
    "country": "gb",
    "username": "EMAIL",
    "password": "PASSWORD",
    "doublePressTime": 100,
    "doublePressDelayTime": 100,
    "debugLevel": 3,
    "devices": [
        {
            "syncName": true,
            "accessoryCategory": "settopbox",
            "profile": "Remote",
            "channelOrder": "mostWatched",
            "maxChannels": 95,
            "showChannelNumbers": false,
            "arrowUpButton": "ArrowUp",
            "arrowUpButtonDoubleTap": "ChannelUp",
            "arrowDownButton": "ArrowDown",
            "arrowDownButtonDoubleTap": "ChannelDown",
            "arrowLeftButton": "ArrowLeft",
            "arrowLeftButtonDoubleTap": "MediaRewind",
            "arrowRightButton": "ArrowRight",
            "arrowRightButtonDoubleTap": "MediaFastForward",
            "selectButton": "Enter",
            "selectButtonDoubleTap": "Enter",
            "playPauseButton": "MediaPlayPause",
            "playPauseButtonDoubleTap": "MediaPlayPause",
            "backButton": "Escape",
            "backButtonDoubleTap": "Escape",
            "infoButton": "MediaTopMenu",
            "infoButtonDoubleTap": "Guide",
            "viewTvSettingsCommand": "Help"
        }
    ],
    "channels": [
        {
            "channelId": "1755",
            "channelName": "Netflix"
        },
        {
            "channelId": "2054",
            "channelName": "Prime Video"
        }
    ],
    "_bridge": {
        "username": "MAC ADDRESS REMOVED",
        "port": REMOVED
    },
    "platform": "eosstb"
}

Screenshots: None that would help.

Environment:

Flatsphere commented 1 year ago

Small update to the above - the provider (Virgin Media GB) appears to have added a captcha to their sign-in. My sign-in now fails on the first try and requires a captcha to be completed to work and allow access.

Flatsphere commented 1 year ago

The issue has been resolved. Had to speak to provider who clarified that IP was put on a watch list due to password change. After 48 hours this was repealed.

jsiegenthaler commented 1 year ago

I'll have time to look at this tomorrow. If it really is a captcha issue then that may be a challenge...