[Apple TV] XBMC no longer updating library

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Guille779 Offline
Member
Posts: 84
Joined: Nov 2008
Reputation: 0
Post: #21
scooter- Wrote:Ok, I'm getting the same thing too so I bumped up the log level and had a look at what the logs said on my aTV...

22:12:41 T:43511296 M: 16490496 INFO: Get URL: http://www.thetvdb.com/api/1D62F2F90030C...all/en.zip
22:12:43 T:43511296 M: 16494592 NOTICE: HTTP: connect select failed: Operation now in progress
22:12:43 T:43511296 M: 16502784 ERROR: Unable to connect to http://www.thetvdb.com: 36
22:12:43 T:43511296 M: 16502784 ERROR: InternalGetEpisodeList: Unable to retrieve web site
22:12:43 T:43511296 M: 16502784 DEBUG: DoScan - Finished dir: smb://SERVER/disk1/TV/Dollhouse/
22:12:43 T:43511296 M: 16498688 DEBUG: Process - Finished scan

Now, error '36' as I understand it is when the request is still in progress but it returns an error because it took too long. It seems to die if the response is any more than about 5 seconds.

Running this:
$ time curl http://www.thetvdb.com/api/1D62F2F90030C...all/en.zip
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://zip.thetvdb.com/data/zip/en/82046.zip">here</a>.</p>
<hr>
<address>Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at http://www.thetvdb.com Port 80</address>
</body></html>

real 0m20.926s
user 0m0.007s
sys 0m0.008s

Shows me that thetvdb.com is taking 20 seconds to hand back that request, so it could be some network congestion on their part. A way to fix it, at least temporarily, might be to increase the timeout for accessing the scrapers. I have no idea where that might be though...


You are correct, the problem is TheTVdb and not XBMC. Using XBMC Media Companion to scrape my TV Show I get the following error:

Unable to load webpage http://www.thetvdb.com/api/GetSeries.php...anguage=en



System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 70.98.76.33:80

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)

at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

--- End of inner exception stack trace ---

at System.Net.HttpWebRequest.GetResponse()

at Media_Companion.options.loadwebpage()
find quote
Guille779 Offline
Member
Posts: 84
Joined: Nov 2008
Reputation: 0
Post: #22
time curl as of today at 6:23 pm for http://www.thetvdb.com:

real: 0m42.79s

That'simply too long, no wonder the XBMC times out!
find quote
teoh Offline
Junior Member
Posts: 14
Joined: Oct 2008
Reputation: 0
Location: Norway
Post: #23
Same problem started occurring here yesterday. Running the Linux version.
find quote
jayhawk785 Offline
Aeon Group
Posts: 230
Joined: Oct 2008
Post: #24
thetvdb seems EXTREMELY slow and was down for a bit today... pretty sure that's the reason scrapes are failing. but i'll wait for a dev to chime in.
find quote
Guille779 Offline
Member
Posts: 84
Joined: Nov 2008
Reputation: 0
Post: #25
Seems to be working now, anyone care to comment?
find quote
tyche Offline
Senior Member
Posts: 106
Joined: Oct 2008
Reputation: 0
Post: #26
thetvdb.com was having problems for a few days. I ran into the same issues as I took the weekend to rework my shows. That's about it. Do a clean library and then update and it should bring in anything missing.
find quote
jtp8736 Offline
Junior Member
Posts: 21
Joined: Feb 2009
Reputation: 0
Post: #27
ERROR: Unable to connect to http://www.thetvdb.com: 36

I'm getting the same error in my log. I deleted the database and tried starting over. This is discouraging. Sad
find quote
Guille779 Offline
Member
Posts: 84
Joined: Nov 2008
Reputation: 0
Post: #28
jtp8736 Wrote:ERROR: Unable to connect to http://www.thetvdb.com: 36

I'm getting the same error in my log. I deleted the database and tried starting over. This is discouraging. Sad

Seems a bit slow again...
find quote
jayhawk785 Offline
Aeon Group
Posts: 230
Joined: Oct 2008
Post: #29
still failing for me
... shame
find quote
Guille779 Offline
Member
Posts: 84
Joined: Nov 2008
Reputation: 0
Post: #30
jayhawk785 Wrote:still failing for me
... shame

It's working right now, albeit a bit slow. It was down a few hours ago though...
find quote
Post Reply