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

unable to play back one specific stream #527

Open
damnms opened this issue Oct 29, 2023 · 3 comments
Open

unable to play back one specific stream #527

damnms opened this issue Oct 29, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@damnms
Copy link

damnms commented Oct 29, 2023

Context

Please provide any relevant information about your setup

  • Add-on Version: latest, 7.0.2.2
  • Kodi Version: Amlogic-ng.arm-20.2-Nexus
  • Kodi GUI Language: de
  • Operating System: coreelec
  • Operating System Language: de

Expected Behavior

i open this video in the addon and it worked for about 25 minutes, now its crashing all the time when i resume or start that video again from beginning:
https://www.youtube.com/watch?v=Vfd4-5soFAA


Current Behavior

the streem stalls and i get a fat error message in the log


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. open the video in the addon

Log

Please include a complete debug log.
kodi.log


Additional Information

Please provide any additional information that may be helpful.

the same video runs on my workstation perfectly fine. the coreelec and my workstation are connected by cable, so no wifi problem for sure. they are in the same zone etc.


@damnms damnms added the bug Something isn't working label Oct 29, 2023
@MoojMidge
Copy link
Collaborator

That's quite strange, but it isn't a problem with the Youtube plugin - your CoreELEC box is having network issues.

The log indicates that cURL timed out trying to open the video stream URL. The Youtube plugin only provides this URL to Kodi for playback, and the URL works fine (I can open the URL in your log without any issues).

You could try a few different things to see if it helps:

@damnms
Copy link
Author

damnms commented Oct 30, 2023

all other video playback perfectly fine, so its not only a network problem, at least imo, otherwise i would expect other videos to fail too. i will try your recommendations and see what happens

@MoojMidge
Copy link
Collaborator

all other video playback perfectly fine, so its not only a network problem, at least imo, otherwise i would expect other videos to fail too

This is not necessarily the case. Not only do different videos use different servers, but there are a number of reasons why connections to certains servers may not work properly. As an example I recently had an issue with my ISP where incorrect BGP routing resulted in routes to specific servers, in a specific geographic location, hopping back and forth around the world, resulting in high pings, timeouts, and packet loss.

That being said, I suspect your issue is a very specific issue, because I have the same device as you, also running CoreELEC, and something very similar happened to me.

It only happens in certain instances, when using libcurl on certain platforms, with certain servers that support HTTP2. For some as yet unknown reason, when connections to those servers are closed, libcurl sometimes tries to reuse a closed connection rather than open a new connection. There is more discussion about the issue here: xbmc/xbmc#17047

If it is this issue, then the two suggestions I made will probably help. If not, then unfortunately I don't really have anything useful to add - your device is trying to connect to a working URL, but something specific to your network or internet connection causes it to timeout when trying to do so.

You can also try to get a proper debug log following the instructions here: https://kodi.wiki/view/Log_file/Easy
Enable Verbose logging for the libcURL library in the component logging settings: https://kodi.wiki/view/Log_file/Easy#Enable_component-specific_logging
This may provide more relevant details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants