Failed to create session
Describe Your Problem:
Suddenly plugin stopped working.
Error 401.
Ziggo NL
Login on the Ziggo Mijn Ziggo is OK.
In log I can see that
Logs:
Show the Homebridge logs here, remove any sensitive information.
Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.
Screenshots:
Environment:
- Plugin Version:
- Homebridge Version:
- Node.js Version:
- NPM Version:
- Operating System:
Yes for me too. Initial investigations show that the backend has changed, and it's a big change. Has broken many things. I'm looking into it, but it's not going to be quick or easy.
I've got mine to logon again, but the MQTT session will not start, Try on your Ziggo NL service: logon via the web Ziggo TV app. Then restart Homebridge to see if the plugin can now successfully logon to the backend.
I got this far, but the following is not working: MQTT session will not connect (thus any control of the settop box is not possible) Channel list won't load (so no channels appear in the list)
This looks like a large breaking change in the backend systems. Are you available to do some testing and provide logs? Best we communicate via email...
I'm happy to work with you to solve this issue.
Availability is high.
Exchange of info through email is ok.
Send me an email...
Send email
I responded by email...
@tooh making good progress today...
Telenet (Belgium) also broken FYI
@sammyke007 thanks, I believe it impacts every country. I'll need some volunteers to report back on my changes once I have them running. I've got some core parts back working today, but there's some detail to be worked out. Stay tuned.
I can volunteer if you want, I’m available all evening (Belgium)
@bdormael: thanks. Watch out for an alpha release soon
If needed I can also volunteer (NL)
Branch created for development: https://github.com/jsiegenthaler/homebridge-eosstb/tree/v2-New-Session-Structure
I've started to release v2.0.0-alpha.x versions, you can install the latest alpha from Homebridge (Homebridge > Plugin > Spanner icon > Install Alternate Version, then select the desired version to install). I'm currently testing on my own setup. Please read the changelog. All assistance welcome.
Installed Alpha 3, then restarted, unfortunately still same error message: [10/15/2022, 11:06:19 AM] [Telenet] Creating eosstb BE session... [10/15/2022, 11:06:19 AM] [Telenet] Step 1 of 7: get authentication details [10/15/2022, 11:06:20 AM] [Telenet] Step 1 of 7: Failed to create BE session: 404 Not Found
Hi @bdormael For BE I had a special logon sequence. I guess the logon method or sequence has changed. I'll need to work with a BE user to get the new logon sequence. Would you be willing to assist? We'd need to exchange data via email...
Happy to assist, what’s your email address ?
Op 15 okt. 2022, om 11:29 heeft jsiegenthaler @.***> het volgende geschreven:
Hi @bdormael https://github.com/bdormael For BE I had a special logon sequence. I guess the logon method or sequence has changed. I'll need to work with a BE user to get the new logon sequence. Would you be willing to assist? We'd need to exchange data via email...
— Reply to this email directly, view it on GitHub https://github.com/jsiegenthaler/homebridge-eosstb/issues/70#issuecomment-1279704953, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBRJ5TJKWQK7KIJWPHB22LWDJ2QDANCNFSM6AAAAAARD657QM. You are receiving this because you were mentioned.
installed Alpha 3 and restarted but getting an error? is keeps reconnecting
[15/10/2022, 12:14:31] [EOSSTB] Creating eosstb session... [15/10/2022, 12:14:31] [EOSSTB] Step 1 of 1: logging in with username [email protected] [15/10/2022, 12:14:31] [EOSSTB] Step 1 of 1: response: 200 OK [15/10/2022, 12:14:31] [EOSSTB] Session created [15/10/2022, 12:14:31] [EOSSTB] Session state: CONNECTED [15/10/2022, 12:15:01] [EOSSTB] Discovering platform and devices... [15/10/2022, 12:15:01] [EOSSTB] Found customer data: xxxxxxx_nl [15/10/2022, 12:15:01] [EOSSTB] Calling getPersonalizationData [15/10/2022, 12:15:01] [EOSSTB] Refreshing personalization data for householdId xxxxxxx_nl ReferenceError: requestType is not defined at /usr/local/lib/node_modules/homebridge-eosstb/index.js:2659:63 at processTicksAndRejections (node:internal/process/task_queues:96:5) [15/10/2022, 12:15:01] [EOSSTB] Child bridge process ended [15/10/2022, 12:15:01] [EOSSTB] Process Ended. Code: 1, Signal: null [15/10/2022, 12:15:08] [EOSSTB] Restarting Process... [15/10/2022, 12:15:09] [EOSSTB] Launched child bridge with PID 5906 [15/10/2022, 12:15:10] Registering platform 'homebridge-eosstb.eosstb' [15/10/2022, 12:15:10] [EOSSTB] Loaded homebridge-eosstb v2.0.0-alpha.3 child bridge successfully [15/10/2022, 12:15:10] Loaded 0 cached accessories from cachedAccessories.0E3A5916D452. [15/10/2022, 12:15:10] [EOSSTB] homebridge-eosstb v2.0.0-alpha.3 [15/10/2022, 12:15:10] Homebridge v1.5.0 (HAP v0.10.2) (EOSSTB) is running on port 56869. [15/10/2022, 12:15:25] [EOSSTB] Creating eosstb session... [15/10/2022, 12:15:25] [EOSSTB] Step 1 of 1: logging in with username [email protected] [15/10/2022, 12:15:25] [EOSSTB] Step 1 of 1: response: 200 OK [15/10/2022, 12:15:25] [EOSSTB] Session created [15/10/2022, 12:15:25] [EOSSTB] Session state: CONNECTED
The crash is fixed in Alpha 4, available now. The crash was in the error handler, so you will likely have some other error. If another error occurs, please set debugLevel to 3, and also enable homebridge Debug mode. Then post the log snippet where the error occurred.
@bdormael insert a b between the j and s of my username, and use that well known email service starting with G. I don't want to post my email in plain text for spam reasons...
Hi All: please test, should now connect in NL. You should observe the MasterChannelList loading. However, I haven't got the device channel list loading yet... to come...
Alpha 5- connection to box OK- appears in home app- can switch on / off boxObservation:No masterchannellist visible in home appQuestionHave -D flag activated.How can I activated debug level 4Sent from my iPhoneOn 15 Oct 2022, at 16:08, jsiegenthaler @.***> wrote: Hi All: please test, should now connect in NL. You should observe the MasterChannelList loading. However, I haven't got the device channel list loading yet... to come...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@tooh your observations are exactly as described in the ChangeLog, thats good. To set debuglevel 4, edit the debugLevel entry in the plugin config, or through the plugin settings GUI: Debug Level = Maximum
Debuglevel clear.Will set this for next run.Noted that you use a link to sunrise.chIs this correct in my NL situation?[10/15/2022, 4:54:58 PM] [EOSSTB] Mediabox 1: Refreshing channel list...[10/15/2022, 4:54:58 PM] [EOSSTB] Mediabox 1: refreshChannelList: master channel list not yet loaded, exiting[10/15/2022, 4:54:58 PM] [EOSSTB] Device 2: Mediabox 2 3C36E4-EOSSTB-003899162402[10/15/2022, 4:54:58 PM] [EOSSTB] Device not found in cache, creating new accessory for 3C36E4-EOSSTB-003899162402[10/15/2022, 4:54:58 PM] [EOSSTB] Setting up device 2 of 2: Mediabox 2[10/15/2022, 4:54:58 PM] [EOSSTB] Mediabox 2: Refreshing channel list...[10/15/2022, 4:54:58 PM] [EOSSTB] Mediabox 2: refreshChannelList: master channel list not yet loaded, exiting
Extra logging10/15/2022, 5:24:08 PM] [EOSSTB] Refreshing personalization data for householdId 4852497_nl[10/15/2022, 5:24:08 PM] [EOSSTB] Failed to refresh the master channel list - check your internet connection: ERR_BAD_REQUEST: [10/15/2022, 5:24:08 PM] [EOSSTB] refreshMasterChannelList error: [AxiosError: Request failed with status code 404] { code: 'ERR_BAD_REQUEST', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }
HiYour log provides insufficient detail for me to analyze anything.Please follow the instructions I provided yesterday and supply the full debug data.
Sorry, had the debuglevel set on homebridge instead of the plugin.Corrected this and got more verbose logging.The ERR BAD REQUEST not occurring any more.
Hi @tooh I'm unclear if you still have an issue. If you do, please send me the complete log via email. Only with a complete log can I trace what is happening.
@bdormael insert a b between the j and s of my username, and use that well known email service starting with G. I don't want to post my email in plain text for spam reasons...
Hi,
I've send you an email a couple of days ago, do you need any extra information or can I help somehow ?
Hi BE will likely be trickyDo you have experience in Tracing and grabbing data from Chrome DEV mode ? I Need to see the new logon sequence.It would help if you also described the current steps needed….