Kodi Community Forum
FTP Timed out - advancedsettings.xml file present! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: FTP Timed out - advancedsettings.xml file present! (/showthread.php?tid=336528)



FTP Timed out - advancedsettings.xml file present! - guillaumesoucy - 2018-10-16

Hi everyone!

I got my local FTP server timed out (trying to load a directory with over 8500 items).

I have a advancedsettings.xml with settings into it but it seem to be not recognized.

Code:


<advancedsettings>
<network>
  <curlclienttimeout>86400</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
</network>

<cache>
  <memorysize>0</memorysize>  <!-- number of bytes used for buffering streams in memory
    When set to 0 the cache will be written to disk instead of RAM -->
  <buffermode>3</buffermode>  <!-- Choose what to buffer:
     0) Buffer all internet filesystems (like "2" but additionally also ftp, webdav, etc.) (default)
     1) Buffer all filesystems (including local)
     2) Only buffer true internet filesystems (streams) (http, etc.)
     3) No buffer -->
  <readfactor>4.0</readfactor> <!-- this factor determines the max readrate in terms of readfactor * avg bitrate of a video file.
This can help on bad connections to keep the cache filled. It will also greatly speed up buffering. Default value 4.0. -->
</cache>
</advancedsettings>


How to get rid of the time out? 86400 seconds its a entire day, Kodi attempt to load it for about only 15 seconds.

Thanks,

Guillaume


RE: FTP Timed out - advancedsettings.xml file present! - guillaumesoucy - 2018-10-17

can have some help please?


RE: FTP Timed out - advancedsettings.xml file present! - fritsch - 2018-10-18

Code:
xbmc/settings/AdvancedSettings.cpp:    XMLUtils::GetInt(pElement, "curlclienttimeout", m_curlconnecttimeout, 1, 1000);

Timeout is between 1 second and 1000 seconds, post your Debug Log, please.


RE: FTP Timed out - advancedsettings.xml file present! - guillaumesoucy - 2018-10-23

Please look at the last line, I've just trying to list the directory.

https://paste.kodi.tv/akilerufax.kodi

Thanks,

Guillaume


RE: FTP Timed out - advancedsettings.xml file present! - wsnipex - 2018-10-24

1.) Starting Kodi from Debian (17.6 Debian package version: 2:17.6+dfsg1-1ubuntu1)
this build is unsupported here, please try with our PPAs (see my signature)
2.) not a Debug Log