Jump to content

Unable To Connect To Host


mbc0

Recommended Posts

Hi,

 

Firstly Everything actually works perfectly on my setup (5 Windows 7 XBMC Gotham Clients) except I have an annoying "glitch" which I am sure is just timing... 

 

My movie collection is quite large (2700) which is what I think is causing this "glitch" as I only get this when selecting movies from any XBMC3 skin from the XBMC3 Repo using Gotham and never my TV Shows (300)

 

when I select movies I get the screen come up "Downloading Jason Data" this normally sits at 0 for about 15 seconds before I see it count across to 2700 but about 70% of the time it stays at 0 and tells me "Unable to connect to host"

 

This happens on all clients AND my server itself running Windows 7, Mediabrowser Server, XBMC Gotham so that can rule out the network.

 

Any advice would be gratefully received and PLEASE PLEASE keep up the great work :-D :-D 

 

Thank You

Link to comment
Share on other sites

Hi Xnappo,

 

I have attached two log files...

 

1, Start XBMC and select Movies & got cannot connect to host error, exited XBMC and zipped log https://dl.dropboxusercontent.com/u/38473789/xbmc%20with%20host%20not%20connected%20error.rar

 

2, Start XBMC and select Movies & everything worked perfectly, exited XBMX and zipped log https://dl.dropboxusercontent.com/u/38473789/xbmc%20working%20fine.rar

 

Many Thanks For Your Help

Link to comment
Share on other sites

xnappo

Looks like it really is timing out on your huge collection.

 

With almost all skins now, you can reduce the amount of data need by turning off 'Metadata' -> 'Include People' and 'Include Overview'.  These are now background loaded.

 

If you STILL time out after changing that, then try opening:

 

%appdata%\xbmc\addons\plugin.video.xbmb3c\resources\lib\DownloadUtils.py

 

change this line:

conn = httplib.HTTPConnection(server, timeout=20)

to:

conn = httplib.HTTPConnection(server, timeout=40)

xnappo

Link to comment
Share on other sites

Hi Xnappo, I have turned off the Metadata as suggested in the XBMC3 Addon, will this have no effect then on my metadata? you say it is all background loaded anyway?  

 

Cheers

Link to comment
Share on other sites

xnappo

Yes, it is loaded in the background in most, if not all, modded skins. It will only be an issue if you wanted to use an unmodified skin for some reason.

 

Did it fix the problem?

 

xnappo

Link to comment
Share on other sites

Hi Xnappo, it would appear that just disabling the metadata has done the trick! it loads the movie list much quicker as well... many thanks for this :-)

Link to comment
Share on other sites

xnappo

Isn't it still intolerably slow even though it does load?

 

I have some ideas on making it faster, but they are lofty and require a lot of skin work.

 

Would it be useful to have a user-defined letter grouping?

 

Like you set the grouping to '5' then when you go into 'Movies' you would have #-D, E-I, J-M, N-R, S-W, X-Z ?

 

I could do something like that pretty easily.  

 

xnappo

Edited by xnappo
Link to comment
Share on other sites

Hi mate, 

 

It loads very quick but I do use solid state disks, I have to be honest if you introduced the grouping I would like it to be an option rather than forced as I am not sure if I would like the look of that? (hard without seeing it) 

 

For me now it works well & quick but would be interesting to know what others think!

 

Thanks again Xnappo

Link to comment
Share on other sites

xnappo

Ok - kinda weird that the 20 second timeout was hitting, but now you are getting all the data in a reasonable time.  It is using a local cache unless watched status changes, but with a library that big I would have thought it would be worse.

 

The grouping would DEFINITELY be optional.

 

xnappo

Link to comment
Share on other sites

xnappo

Yeah, I guess that isn't too bad.  In real life you probably use the 'Recent Movies' menu more anyway (I know I do).

 

xnappo

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...