3.5.1 unable to connect to internet

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

3.5.1 unable to connect to internet

Post by streetchat »

Hi all

User of the first XMBC from the start, i am surprised to see that the last 3.5.1 can not access internet.

XMBC can access all my shared drives on local lan but no internet access.

Network configuration is good:
ip 172.16.1.6
mask 255.255.255.0
gateway 172.16.1.1 (my dd-wrt router)
dns 1 172.16.1.1

the log file indicate it can not access some address:
23:01:49 M: 37437440 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://www.google.com (easy=00D51010, multi=00000000)
23:01:55 M: 37507072 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://74.125.19.103 (easy=00EA64D0, multi=00000000)
23:02:01 M: 37543936 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://www.google.com
23:02:06 M: 37507072 ERROR: CCurlFile::Exists - Failed: Timeout was reached(28) for http://www.google.com/
23:02:06 M: 37470208 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://74.125.19.103
23:02:12 M: 37351424 ERROR: CCurlFile::Exists - Failed: Timeout was reached(28) for http://74.125.19.103/
23:02:17 M: 37347328 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://www.google.com (easy=00D51010, multi=00000000)
23:02:22 M: 37416960 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://74.125.19.103 (easy=00EA64D0, multi=00000000)
23:02:27 M: 37453824 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://www.google.com

In fact, the router see the xbox trying to access thoses ip, but indicate unreplied.

I can access http://www.google.com with success from my computer with the same configuration.
I even tried to connect the xbox directly to internet, bypassing the router, with the same results.

So, Weather and scraping is not working.

Do you have any ideas ?

Regards to the community.
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

Re: 3.5.1 unable to connect to internet

Post by streetchat »

I found some things on internet saying it may be the libCurl dll that is causing bug.

So i tried to create an advancedsettings.xml and put that:

<advancedsettings>
<network>
<disableipv6>true</disableipv6>
<curlclienttimeout>90</curlclienttimeout>
<curllowspeedtime>90</curllowspeedtime>
</network>
</advancedsettings>

But this does nothing.

A long time ago, i was using xbmc on this box, with a t3ch version (i do not rememeber the release) and all was working fine.
Do you think this libcurl.dll can erally be the cause of lack of internet connection ?
Can i replace the libCurl.dll with an older one ?

Regards.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: 3.5.1 unable to connect to internet

Post by Dan Dar3 »

Give us a full debug log please - http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65

If you haven't found the advancedsettings.xml parameters on the wiki page or here on the forums, although they may be supported by XBMC / Kodi, they may not by XBMC4Xbox and they are simply ignored. http://www.xbmc4xbox.org.uk/wiki/UserDa ... network.3E

When you say you've connected the Xbox to the router and to "Internet" (assume that is modem or is it an Ethernet wire coming from your provider?) were you using the same network cable? Have you tried a different cable? Do you have any lights on the network adapter on the back your Xbox, are they on?
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

Re: 3.5.1 unable to connect to internet

Post by streetchat »

Hi and thanks for your help.

here are the logs:
http://goo.gl/uvf6BB
and
http://goo.gl/3dNtc4

My xbox is using an xecuter 5035 bios.
It is connected to a linksys router which is connected to my isp. The ISP box is only use as a gateway, no router or dhcp function.
The xbox can access all my share drives (video, photos, music...) but does not connect to internet.

So i tried to connect the xbox directly to tis ISP box.
The xbox catch the ISP internet address correclty.
But even in tis case, the xbox can not connect to internet.

Tonight, i tried different xbmc4xbox build with the same result (local lan is working well, but no internet)
i even tried very old xbmx release.

it seems that the whole xbox can not access internet.
But i do not have any filter on my router (and there is no filter on the isp box)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: 3.5.1 unable to connect to internet

Post by Dan Dar3 »

What Linksys model, version of DD-WRT?

You enabled debug mode too late, in one log it shows it gets DHCP settings from either your provider or Linksys I can't tell which, and in the second one it has network but again I can't tell what IP addresses it uses. If you can enable debug mode, then restart XBMC4Xbox and it should tell in the logs all the IP information it gets from either.

You say it can access the local LAN files on your PC, meaning local routing is fine. How is your PC connected, wired or wireless? Is your PC configured to get IP settings through DHCP from the router or is it staticly assigned or reserved in the router?

Did you play recently with the settings in DD-WRT Setup section? You could reset it to factory defaults in Administration section, if you know how to reconfigure it again, at least you review the changes you're making.

Although I guess if connecting the Xbox directly to the cable from the provider should give it full access, similar to how the router gets it and serves it to your LAN... puzzler.

Does your provider uses IPv6 instead of IPv4 by any chance? Just trying to rule out anything odd, clutching at straws here :-)
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

Re: 3.5.1 unable to connect to internet

Post by streetchat »

Hi,

the router is a linksys WRT54G with dd-wrt v24 sp2 (from 2010)
I alreready reset it to default settings to see if it can be the problem, but as i said, even the xbox directly connected to my isp box (wired), i got the same results.
My computer had a static ip in a range outside the DHCP range from my router.
Xbox use the same configuration. I even tried with DHCP. With DHCP, xbox can always access local lan too.

Tonight, i will check again the debug parameter and send new log files.

I do not know if my provider use IPV6. The ISP box is just a gateway and router is given an ipv4 address.

That is why i am trying to disable ipv6 on the xbox too.
But as even the old release can not go to internet too, i imagine that some change were made this way: upgrade of the box firmware, or ipv6 activated on the wan interface, i do not know.
I will look further this way.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: 3.5.1 unable to connect to internet

Post by BuZz »

The XBox has no ipv6 support, and libcurl is built without it.

It is highly unlikely it is connected to libcurl . It is likely to be network config or possible hardware / cabling or something.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: 3.5.1 unable to connect to internet

Post by Dan Dar3 »

I'm asking cause I have a somewhat similar setup - UPC cable modem plugged into a Linksys WRT54GL running DD-WRT v24-sp2 (08/07/10) mini serving mobiles, laptops and tablets through Wi-Fi and a Seagate NAS and XBMC4Xbox through wired.

Actually, there are two versions of DD-WRT v24-sp2 available, a build 13064 and 14896 - you can find out which by clinking the version in the top right corner. Updated recently to the latter one myself, I'm still trying it out and not sure yet whether there's something funny about this newer build but to me it doesn't seem to perform as well as the previous one, at least over wireless. Just putting it out there, I wouldn't do anything rash about about it. I only asked you about the specific version cause you can use it to Google it for funnies other people reported as well.

I have mine very little customized, but one thing that I find handy is to reserve IPs to machines by MAC, particularly useful for the Seagate NAS or the Xbox so they always get known IPs - see Services > Services > DHCP Server > Static leases.

Ignore the mention of IPv6, just thinking that maybe mentioning might make you remember something, if you enabled it in the router and whether your PC is running on both, which would explain why it works. Obviously you can rule this out very quickly if you check the network information on your PC. Like Buzz says XBMC4Xbox only support IPv4.

It's odd that your Xbox could not access the Internet when connected directly - the logs has mentions of IP addresses, I don't think those are hardcoded anywhere so DNS resolution seems to work, but not being able to actually connect would suggest an issue with the gateway and then I keep thing of routing issues with the router.

Code: Select all

23:01:49 M: 37437440 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://www.google.com (easy=00D51010, multi=00000000)
23:01:55 M: 37507072 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://74.125.19.103 (easy=00EA64D0, multi=00000000)
The fact that your PC with similar IP settings can go on the Internet through the router (wired? wireless?), but the Xbox can't access Internet resources, but it can see the PC shares would suggest that local routing is working but Internet access is denied for the Xbox through one of the wired ports. At this stage I would try plugging Xbox into a different Ethernet port on the router, different cable, hell if your PC is wireless even connect it with a cross-over cable to the PC and bridging wi-fi and ethernet on the PC to see if the Xbox can access the Internet that way, rulling out the Xbox or XBMC4Xbox as an issue.

Keep DEBUG mode enabled and look at the logs for the IP information and compare it to what you see in your PC (if Windows use ipconfig /all), just to make sure they are both in the same class and all IP information is similar.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: 3.5.1 unable to connect to internet

Post by Dan Dar3 »

Oh and last but not least, god I hope it's not this one cause it would be stupid, but explaining everything you just mentioned :-)

You didn't happen to set XBMC4Xbox either intentional or by accident to go through an HTTP proxy did you? Check the settings and see the option is not enabled, might say which is it in the logs when debug is on: http://www.xbmc4xbox.org.uk/wiki/Settin ... rk#Network
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

Re: 3.5.1 unable to connect to internet

Post by streetchat »

Hi and thanks both of you for your help.

i did not found time this night to do some debug on the xbox.

but i can confirm this:
dd-wrt is the 14896 one. I installed it few days ago on a wrt54GS V4 to check if it works with it. Before that, i had a WRT54G V1.1 with an older version of dd-wrt.
The configuration is pretty simple:
firewall active
dhcp active, but i use it only for wireless (smartphones or tablets only. All computers, xbox and playstations have a static ip)
they all are on the same subnet:
ips: 172.16.1.x
netmask: 255.255.255.0
gateway: 172.16.1.1 (the wrt54gs running dd-wrt)
dns: 172.16.1.1

The router is getting is ip configuration by the isp.
All computers and smartphones, tablets and playstations can access local lan and internet.

On the xbox, i tried with and without DHCP.
I double check that proxy was not set (but i will try to set up a proxy soon on my synology and set the xbox to use it, just to see if it works)
i tried the xbox directly connected to the isp box. the xbox get the ip from the isp, as well as gateway and dns. (i had to check the logs during a test on the isp box)
But scraper does not scrap, weather does not get content.

I checked on the isp support page, on my account to see if ipv6 is enabled and it is not.

More informations tonight (i hope so)

Best regards.
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

Re: 3.5.1 unable to connect to internet

Post by streetchat »

Hi all.

Fed up trying to find why the xbox wont connect to internet directly or through my router.

I ended installing a proxy on my synology and set this on the xbmc4xbox.

Now, xbmc scrap correctly the video titles, weather is working.

Thanks anyway for the help provided here.

If maybe i find the answer on this mystery, i will update you.

Best regards.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: 3.5.1 unable to connect to internet

Post by Dan Dar3 »

Very good, I was thinking that maybe incorrect proxy settings in XBMC4Xbox might be preventing it from getting out, but using that as a solution seems fair enough, well done.
streetchat
Posts: 7
Joined: Thu Jul 30, 2015 11:41 am

Re: 3.5.1 unable to connect to internet

Post by streetchat »

Hi,

I imagine that my isp do some filter on the mac address of the xbox or something else, because even directly connected to internet (with no router), the xbox can not access internet.

The proxy thing is the only thing that can hide the xbox connection to my mind. Or maybe some nat on the router ?

Very strange.
Post Reply