cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1426 curl v7.38.0 does not work with xbmc - cannot scrape or download

From: zygo <fezek_at_users.sf.net>
Date: Mon, 22 Sep 2014 16:30:33 +0000

I'm not a very tecnical person, but i will try to help.

Here the debug on the rss feeds:

15:45:08 T:139904277763840 DEBUG: CurlFile::Open(0x7f3e00c74c40) http://feeds.xbmc.org/xbmc
15:45:08 T:139904277763840 DEBUG: Curl::Debug - TEXT: Hostname was NOT found in DNS cache
15:45:10 T:139904277763840 DEBUG: Curl::Debug - TEXT: Resolving timed out after 2003 milliseconds
15:45:10 T:139904277763840 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:45:10 T:139904277763840 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:45:10 T:139904277763840 DEBUG: Curl::Debug - TEXT: Closing connection 1

So i use this rss feed in xbmc as a test:
http://services.sapo.pt/RSS/Feed/sapo/desporto/teasers
http://213.13.145.106/RSS/Feed/sapo/desporto/teasers

Using the ip make the rss work in xbmc, so probably a dns problem:

17:07:48 T:140638563247872 DEBUG: Curl::Debug - TEXT: Connection #0 to host 213.13.145.106 left intact
17:07:48 T:140638563247872 DEBUG: Got rss feed: http://213.13.145.106/RSS/Feed/sapo/desporto/teasers
17:07:48 T:140638563247872 DEBUG: RSS feed encoding: UTF-8
17:07:48 T:140638563247872 DEBUG: Parsed rss feed: http://213.13.145.106/RSS/Feed/sapo/desporto/teasers

by domain:

17:12:48 T:139786334021376 DEBUG: CurlFile::Open(0x7f228ac89c40) http://services.sapo.pt/RSS/Feed/sapo/desporto/teasers
17:12:48 T:139786334021376 DEBUG: Curl::Debug - TEXT: Hostname was NOT found in DNS cache
17:12:50 T:139786334021376 DEBUG: Curl::Debug - TEXT: Resolving timed out after 2002 milliseconds
17:12:50 T:139786334021376 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:12:50 T:139786334021376 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.

Downgrade to curl-7.37.1:

17:19:11 T:140130845107968 DEBUG: Curl::Debug - TEXT: Connection #0 to host services.sapo.pt left intact
17:19:11 T:140130845107968 DEBUG: Got rss feed: http://services.sapo.pt/RSS/Feed/sapo/desporto/teasers

Hope that helps

---
** [bugs:#1426]  curl v7.38.0 does not work with xbmc - cannot scrape or download**
**Status:** open
**Created:** Sat Sep 20, 2014 12:01 PM UTC by graysky
**Last Updated:** Mon Sep 22, 2014 11:59 AM UTC
**Owner:** Daniel Stenberg
Xbmc v13.2 does not work properly with curl v7.38.0. I cannot scrape anything now nor download anything through xbmc. The log indicates timing out to curl. I rebuilt xbmc against this new version of curl, but still, no downloads are possible.  Downgrading to v7.37.1 of curl solves the problem, so it seems to be related to this new release.
I have verified that I can download files form the shell with the current version of curl.  The xbmc dev group closed my ticket against xbmc with the comment, "report to curl."
Here are the lines from xbmc's log file showing the timeout:
ERROR:CCurlFile::FillBuffer-Failed:Timeoutwasreached(28)
ERROR:CCurlFile::CReadState::Connect,didn'tgetanydatafromstream.
ERROR:Open-failedtoopensource<http://mirrors.xbmc.org/addons/gotham/addons.xml.md5>
ERROR:CCurlFile::FillBuffer-Failed:Timeoutwasreached(28)
ERROR:CCurlFile::CReadState::Connect,didn'tgetanydatafromstream.
ERROR:Open-failedtoopensource<http://mirrors.xbmc.org/addons/frodo/addons.xml.md5>
ERROR:CCurlFile::FillBuffer-Failed:Timeoutwasreached(28)
ERROR:CCurlFile::CReadState::Connect,didn'tgetanydatafromstream.
ERROR:Open-failedtoopensource<http://mirrors.xbmc.org/addons/gotham/addons.xml|Encoding=gzip>
ERROR:CCurlFile::FillBuffer-Failed:Timeoutwasreached(28)
ERROR:CCurlFile::CReadState::Connect,didn'tgetanydatafromstream.
ERROR:Open-failedtoopensource<http://mirrors.xbmc.org/addons/frodo/addons.xml|Encoding=gzip>
ERROR:RepositoryXBMC.orgAdd-onsreturnednoadd-ons,listingmayhavefailed
OS: Arch Linux x86_64
% curl -V
curl 7.38.0 (x86_64-unknown-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1i zlib/1.2.8 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP 
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-09-22

These mail archives are generated by hypermail.