[Linux] XBMC app cannot connect to network. Computer can
#1
Hi guys

I have a rather weird problem. My little HTPC is all installed and play videos nicely over the network, I can remote administrate it via ssh and download log files via sftp Wink

but: XBMC has network issues. Weather complains about not having internet connection and the download of plugins remains stuck at 0%

XBMC SVN is 10.10, install via apt
OS is Ubuntu Lucid, 10.04.2
architecture is i686
kernel: 2.6.32-28-generic-pae (chosen by ubuntu on install)

in the log I first tried to access weather and then to download the youtube plugin, which got stuck at 0% and I skipped out of that after about 1 minute.

for the weather issue the debug log shows:

ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
15:13:55 T:2860407664 M:3408920576 WARNING: FillBuffer: curl failed with code 28
15:13:55 T:2860407664 M:3408920576 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
15:13:55 T:2860407664 M:3408920576 ERROR: Open - failed to open source <http://mirrors.xbmc.org/addons/dharma/addons.xml.md5>
15:14:05 T:2843622256 M:3409051648 WARNING: FillBuffer: curl failed with code 28
15:14:05 T:2843622256 M:3409051648 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
15:14:05 T:2843622256 M:3409051648 ERROR: WEATHER: Weather download failed!
15:14:21 T:2852014960 M:3409047552 WARNING: FillBuffer: curl failed with code 28
15:14:21 T:2852014960 M:3409047552 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
15:14:26 T:2860407664 M:3409047552 WARNING: FillBuffer: curl failed with code 28
15:14:26 T:2860407664 M:3409047552 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
the full debug log is here:

http://pastebin.com/5xw6xU7y

following instructions here (http://homepage.mac.com/sao1/fink/how.html) I tried to access the URL curl is complaining about manually:

medialion@xbmc:~$ wget http://mirrors.xbmc.org/addons/dharma/addons.xml.md5
--2011-02-20 15:45:04-- http://mirrors.xbmc.org/addons/dharma/addons.xml.md5
Resolving mirrors.xbmc.org... 212.110.166.220
Connecting to mirrors.xbmc.org|212.110.166.220|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33 [text/plain]
Saving to: `addons.xml.md5'

100%[================================================================================================================>] 33 --.-K/s in 0s

2011-02-20 15:45:19 (1.37 MB/s) - `addons.xml.md5' saved [33/33]
so the box can access it

Thanks for any help!
Reply
#2
is it wireless?
Reply
#3
nope, GbE
Reply
#4
Curl failure 28 is a timeout, from the manpage.

Try this from the command line:
Code:
curl -v http://mirrors.xbmc.org/addons/dharma/addons.xml.md5

And see what happens. Paste the output here.
ASRock ION 330
Ubuntu 11.10 x86_64 minimal install
xbmc from unstable ppa
Reply
#5
pardu@john:~$ curl -v http://mirrors.xbmc.org/addons/dharma/addons.xml.md5
* About to connect() to mirrors.xbmc.org port 80 (#0)
* Trying 212.110.166.220... connected
* Connected to mirrors.xbmc.org (212.110.166.220) port 80 (#0)
> GET /addons/dharma/addons.xml.md5 HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: mirrors.xbmc.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sat, 25 Jun 2011 21:33:03 GMT
< Server: Apache/2.2.9
< X-Prefix: 190.16.192.0/19
< X-AS: 10318
< Vary: Accept-Encoding
< Content-Length: 33
< Connection: close
< Content-Type: text/plain; charset=UTF-8
<
59f0598d4f87536596ce955a90efab7c
* Closing connection #

I have the same error and there is my command output, note that curl is not an actual dependency for xbmc just libcurl for python which is not the same., despite that I installed curl and run the command, that's how I got that output.
Reply
#6
Please time that to see if it could be a timeout issue. We've seen reports of timeouts due to server load, that could be what's going on here.

TheUni
Reply

Logout Mark Read Team Forum Stats Members Help
[Linux] XBMC app cannot connect to network. Computer can0