Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Failed Error Messages #606

Open
mklcf opened this issue Dec 12, 2021 · 4 comments
Open

Connection Failed Error Messages #606

mklcf opened this issue Dec 12, 2021 · 4 comments

Comments

@mklcf
Copy link

mklcf commented Dec 12, 2021

For the past few weeks I'm getting "connection failed" error messages. It happens on every stream. It happens maybe 1 out of 5 times I try to open a stream. Eventually every stream does play normally.
I did a fresh Kodi install, on a different PC, and the same thing happens.

I'm not sure how to paste the log correctly, so I hope this is useful.

2021-12-12 09:58:00.026 T:9100 WARNING <general>: script.module.python.twitch: API version |V5| is deprecated, update to |Helix| by |TBD| 2021-12-12 09:58:00.740 T:9100 INFO <general>: Twitch: Service: Start 2021-12-12 09:58:03.302 T:7496 INFO <general>: CIRServerSuite::Process: failed to connect to irss, will keep retrying every 5 seconds 2021-12-12 09:58:03.423 T:5328 INFO <general>: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY 2021-12-12 09:58:03.452 T:9760 INFO <general>: initializing python engine. 2021-12-12 09:58:03.508 T:9760 WARNING <general>: script.module.python.twitch: API version |V5| is deprecated, update to |Helix| by |TBD| 2021-12-12 09:58:03.804 T:9760 INFO <general>: Twitch: Calling |_main| for mode |main| with pos args |[]| and kwargs |{}| 2021-12-12 09:58:03.815 T:9760 INFO <general>: CPythonInvoker(2, C:\Users\mrtnk\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\addon_runner.py): script successfully run 2021-12-12 09:58:04.994 T:2348 INFO <general>: CPythonInvoker(1, C:\Users\mrtnk\AppData\Roaming\Kodi\addons\service.xbmc.versioncheck\resources\lib\runner.py): script successfully run 2021-12-12 09:58:05.008 T:2348 INFO <general>: Python interpreter stopped 2021-12-12 09:58:05.179 T:9760 INFO <general>: initializing python engine. 2021-12-12 09:58:05.179 T:9760 INFO <general>: Twitch: Calling |_following| for mode |following| with pos args |[]| and kwargs |{}| 2021-12-12 09:58:05.278 T:9760 INFO <general>: CPythonInvoker(2, C:\Users\mrtnk\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\addon_runner.py): script successfully run 2021-12-12 09:58:06.030 T:9760 INFO <general>: initializing python engine. 2021-12-12 09:58:06.031 T:9760 INFO <general>: Twitch: Calling |_list_followed| for mode |followed| with pos args |['live']| and kwargs |{}| 2021-12-12 09:58:06.437 T:9760 INFO <general>: CPythonInvoker(2, C:\Users\mrtnk\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\addon_runner.py): script successfully run 2021-12-12 09:58:10.828 T:9760 INFO <general>: initializing python engine. 2021-12-12 09:58:10.828 T:9760 INFO <general>: Twitch: Calling |_play| for mode |play| with pos args |[]| and kwargs |{'channel_id': '105458682'}| 2021-12-12 09:58:11.299 T:9760 ERROR <general>: Twitch: Connection failed |script.module.python.twitch: GET Query to https://usher.ttvnw.net/api/channel/hls/bobross.m3u8, params {'sig': b'92d9e91b4a309d3a473cc14175d02d400cac3742', 'token': b'{"adblock":false,"authorization":{"forbidden":false,"reason":""},"blackout_enabled":false,"channel":"bobross","channel_id":105458682,"chansub":{"restricted_bitrates":[],"view_until":1924905600},"ci_gb":false,"geoblock_reason":"","device_id":null,"expires":1639300689,"extended_history_allowed":false,"game":"","hide_ads":false,"https_required":true,"mature":false,"partner":false,"platform":"web","player_type":"site","private":{"allowed_to_view":true},"privileged":false,"role":"","server_ads":true,"show_ads":true,"subscriber":false,"turbo":false,"user_id":null,"user_ip":"***********","version":2}', 'allow_source': 'true', 'allow_spectre': 'true', 'allow_audio_only': 'true', 'fast_bread': 'true', 'cdm': 'wv', 'reassignment_supported': 'true', 'playlist_include_framerate': 'true', 'rtqos': 'control', 'player_backend': 'mediaplayer'}, data {}, headers {'Client-ID': 'kimne78kx3ncx6brgo4mv6wki5h1ko', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0'}| 2021-12-12 09:58:11.299 T:9760 INFO <general>: CPythonInvoker(2, C:\Users\mrtnk\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\addon_runner.py): script successfully run 2021-12-12 09:58:19.271 T:9760 INFO <general>: Python interpreter interrupted by user 2021-12-12 09:58:19.271 T:5328 ERROR <general>: Skipped 3 duplicate messages.. 2021-12-12 09:58:19.271 T:5328 ERROR <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/?mode=play&channel_id=105458682] 2021-12-12 09:58:21.162 T:5328 INFO <general>: Stopping player 2021-12-12 09:58:21.162 T:5328 INFO <general>: Storing total System Uptime 2021-12-12 09:58:21.162 T:5328 INFO <general>: Saving settings 2021-12-12 09:58:21.163 T:5328 INFO <general>: Saving skin settings 2021-12-12 09:58:21.164 T:5328 INFO <general>: Stopping all 2021-12-12 09:58:21.164 T:5328 INFO <general>: ES: Stopping event server 2021-12-12 09:58:21.748 T:12716 INFO <general>: ES: UDP Event server stopped 2021-12-12 09:58:21.749 T:9100 INFO <general>: Twitch: Service: Shutdown 2021-12-12 09:58:21.749 T:9100 INFO <general>: CPythonInvoker(0, C:\Users\mrtnk\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\service_runner.py): script successfully run 2021-12-12 09:58:21.756 T:9100 INFO <general>: Python interpreter interrupted by user 2021-12-12 09:58:21.756 T:5328 INFO <general>: CServiceAddonManager: failed to stop service.xbmc.versioncheck (may have ended) 2021-12-12 09:58:21.776 T:5328 INFO <general>: Application stopped 2021-12-12 09:58:21.977 T:5328 INFO <general>: XBApplicationEx: destroying... 2021-12-12 09:58:22.230 T:5328 INFO <general>: AddOnLog: peripheral.joystick: Disabling joystick interface "directinput" 2021-12-12 09:58:22.230 T:5328 INFO <general>: AddOnLog: peripheral.joystick: Disabling joystick interface "xinput" 2021-12-12 09:58:22.230 T:5328 INFO <general>: ADDON: Dll Destroyed - Joystick Support 2021-12-12 09:58:22.230 T:5328 INFO <general>: unload skin 2021-12-12 09:58:22.236 T:5328 INFO <general>: Unloaded skin 2021-12-12 09:58:22.281 T:5328 INFO <general>: unload sections 2021-12-12 09:58:22.283 T:5328 INFO <general>: [WS-Discovery]: terminating 2021-12-12 09:58:22.285 T:5328 INFO <general>: XBApplicationEx: application stopped!

edit: I'm running Kodi 19.3 64bit on a Windows 10 PC, and Kodi 2.5.11+matrix.1 from the official Kodi repo (both systems same specs)

@anxdpanic
Copy link
Owner

The complete log for debug logging enabled would be required for me to be able to determine anything.
See https://kodi.wiki/view/Log_file/Easy

@mklcf
Copy link
Author

mklcf commented Jan 25, 2022

kodi.log

I hope this is more useful. I started a stream, it failed, then i exited Kodi.

@rjousse18
Copy link

same here, I have connection error when I try to play streams or VOD

@gd71
Copy link

gd71 commented Sep 24, 2022

Hello, same error here but insisting make connection works at the end (could be first time or after 10 retries)
same behavior:
Kodi 19.04 LE10.02 rpi 4
Kodi 20 alpha 3 Android NVidia Shield
Kodi 20 alpha 3 LE11 nightly RPI4
Already encounter the issue just before changing to the Helix API but has been fixed then API update and issue back again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants