CCurlFile::FillBuffer - Failed: Timeout was reached(28)
#1
Hi, I can watch a stream Live TV for anywhere between 5-50 minutes before the stream freezes completely, displays the buffering logo (stuck on the number 0) for about 2 minutes then cuts out of the stream and returns to the menu. I can then open the Live TV stream straight away and it will play perfectly until it cuts off again.

Here is a log which includes when the problem happened:

https://paste.ee/p/VccpW

The error causing the problem seems to be:
CCurlFile::FillBuffer - Failed: Timeout was reached(28)
WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
DEBUG: CFileCache:Tonguerocess - Source read returned a fatal error! Will wait for buffer to empty.

I made changes to my advancedsettings.xml but I am still getting the issue no matter what I enter here:
Code:
<advancedsettings>
  <cache>
    <buffermode>1</buffermode>
    <memorysize>456204</memorysize>
    <readfactor>1</readfactor>
  </cache>

  <network>
    <curlclienttimeout>20</curlclienttimeout>
    <disableipv6>true</disableipv6>
    <curllowspeedtime>50</curllowspeedtime>
    <curlretries>4</curlretries>
  </network>

</advancedsettings>

I was wondering if anyone has seen this before or might have tips to get around it.

Thanks.
Reply
#2
Any ideas guys? Smile
Reply
#3
No, not really. The only thing I could see was the following at line 1226...

18:24:53.972 T:140201348929280 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
18:24:53.972 T:140201348929280 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
18:24:54.104 T:140201348929280 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
18:24:54.104 T:140201348929280 DEBUG: CFileCache:Tonguerocess - Source read returned a fatal error! Will wait for buffer to empty.
18:24:54.105 T:140201348929280 DEBUG: Thread FileCache 140201348929280 terminating

Maybe contact your legal IPTV provider.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#4
Thanks for having a look, yep its something so do with Curl and none of the settings I change to extend the Curl timeout are helping. It is not my IPTV provider, I tested this on a different network using my phone hotspot and the error does not occur :/
Reply
#5
I am experiencing the same here: https://forum.kodi.tv/showthread.php?tid=318115 on a raspberrypi
Reply

Logout Mark Read Team Forum Stats Members Help
CCurlFile::FillBuffer - Failed: Timeout was reached(28)0