-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
CCurlFile timeout too short for some iptv servers #25209
Comments
Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot 😉 It seems that you have not followed the template we provide and require for all bug reports (or have opened a roadmap item by accident). Please understand that following the template is mandatory and required for the team to be able handle the volume of open issues efficiently. Please edit your issue message to follow our template and make sure to fill in all fields appropriately. The issue will be closed after one week has passed without satisfactory follow-up from your side. This is an automatically generated message. If you believe it was sent in error, please say so and a team member will remove the "Ignored rules" label. |
Does this help: https://kodi.wiki/view/Advancedsettings.xml#network ? |
Timeout erros don't seem to occur anymore now (have increased timeout to 30 seconds) but something is still not right. I will see if I can capture the traffic with tcpdump or something to see what is going on.
|
Please try this PR for iptvsimple first: kodi-pvr/pvr.iptvsimple#864 |
Bug report
Describe the bug
There are timeouts occuring when trying to download the m3u file for the IPTV simple plugin.
Expected Behavior
M3U files on slower servers should sucessfully download, it works fine with wget on the same host as well as with two different IPTV apps on android (on the same network).
I have verified it's not some network or wifi issue, Layer-7 shenanigans at the ISP etc.
Actual Behavior
There are timeouts occuring when trying to download the m3u file for the IPTV simple plugin:
Possible Fix
I suspect this is because the timeout used for CCURLFile within Kodi is 10 seconds. If the server takes longer to respond (which it often does, as that m3u file seems to be generated via some php code), it will timeout.
Fix would be to make that timeout longer or have it configurable. Maybe it is already configurable somewhere?
Your Environment
Android
iOS
tvOS
Linux
macOS
Windows
Windows UWP
Operating system version/name: LibreElec 12.0.0.
Kodi version: 21
The text was updated successfully, but these errors were encountered: