Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to load a webpage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Tue Jul 30, 2002 2:23 am    Post subject: unable to load a webpage Reply with quote

Hello, I hope I am posting this in the right place.

I am having trouble connecting to a website. I can ping to it and get no dropped packets. I can also get to the website from Windows but for some reason I am not able to load the site in linux by any browser.

I am able to connect to other websites without any problem so I am not sure where to look. I am on a cable modem using dhcp

Any ideas what could be causing this problem or where to look for the answers.

Thanks
Chickpea
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 30, 2002 2:33 am    Post subject: Reply with quote

Are you using the same browser in Windows as you are in Linux? Many websites are poorly built, so that they are unusable by anything other MSIE. What happens? Do you get an error message? A blank screen? Connection times out? Try lying about your User-Agent and/or viewing the HTML source. If you can see the source, it's not a network problem, but a browser problem.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 596
Location: USA

PostPosted: Tue Jul 30, 2002 2:35 am    Post subject: Reply with quote

taking another approach from rac's suggestion (which could definitely be the problem, but just in case...), you said you could pint it, right? Have you tried entering the IP address directly into your browser and see if it'll load that? I've actually had the problem before, for whatever reason. If it works, you can try adding an entry in /etc/hosts for it, but a reboot should fix it.
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Tue Jul 30, 2002 2:36 am    Post subject: Reply with quote

Do you need to specify proxy settings in your browser? I know that ping usually uses the system's proxy settings, but the browser uses it's own and so you need to tell the browser what the system already knows.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Tue Jul 30, 2002 9:40 pm    Post subject: Reply with quote

I dont use the same web browser for windows and linux. In windows I use IE and in linux i use konqueror, mozilla and/netscape (although nestcape seems to have broken after installing mozilla)

I dont understand how I can ping the website but not connect thru the browser (okay, well I kinda do but still). I have tried konqueror, mozilla, netscape, links, lynx. I have tried them all except for Opera.

I dont connect thru a proxy so I dont think that is my problem. It is just damn annoying. It is only two sites.

I have even tried putting the IP address in the addy bar. Nothing! Nada zilch!

I guess it will be a mystery.

C
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20506

PostPosted: Wed Jul 31, 2002 12:09 am    Post subject: Reply with quote

What are the sites? Perhaps the problem isn't limited to you.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Wed Jul 31, 2002 12:41 am    Post subject: Reply with quote

well the site is http://www.hgtv.com and http://www.diynet.com :)
I like to do a little do it yourself work from time to time. I am curious to see if it works for you.

Thanks!
C
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 31, 2002 1:05 am    Post subject: Reply with quote

Both sites load up fine on konqueror. Do you have a firewall that blocks these IPs? One thing you could try is emerge tcptraceroute and then do:
Code:

tcptraceroute www.hgtv.com 80

to see where stuff gets lost.

Chickpea wrote:
well the site is http://www.hgtv.com and http://www.diynet.com :)
I like to do a little do it yourself work from time to time. I am curious to see if it works for you.

Thanks!
C
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20506

PostPosted: Wed Jul 31, 2002 1:24 am    Post subject: Reply with quote

Yeah, they work fine for me too (Galeon). I was hoping they were more obscure or possibly overrun with IE extensions.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Wed Jul 31, 2002 1:44 am    Post subject: Reply with quote

well thanks guys for checking. I will try the traceroute thing. I do have a firewall but I dont have anything in the configuration that should prevent me from loading. However, I suppose it wouldnt hurt to try to shutdown the firewall and see what happens.

Thank you again. Hopefully I will be able to get it figured out.

C
Back to top
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Thu Aug 01, 2002 7:59 pm    Post subject: Reply with quote

Actually ping only tells you that the computer is replying to ping. WWW sites use port 80 for communications. So you can ping boxes without webservers. So ping might be going through your firewall but port 80 HTTP might not be.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20506

PostPosted: Thu Aug 01, 2002 8:03 pm    Post subject: Reply with quote

Kabuto wrote:
Actually ping only tells you that the computer is replying to ping. WWW sites use port 80 for communications. So you can ping boxes without webservers. So ping might be going through your firewall but port 80 HTTP might not be.
Except his problem is only with 2 sites, not all HTTP traffic.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Kabuto
l33t
l33t


Joined: 01 Aug 2002
Posts: 701

PostPosted: Thu Aug 01, 2002 9:37 pm    Post subject: Reply with quote

These two site are both on the same subnet. Maybe something going to these addresses (208.62.120.133 and .134).
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Fri Aug 02, 2002 4:52 pm    Post subject: Reply with quote

Quote:
These two site are both on the same subnet. Maybe something going to these addresses (208.62.120.133 and .134).


I thought that too but I am able to get thru to them on the Windows side.

I still am not able to load the pages on Gentoo. I am not sure why. when I did the tcptraceroute, it showed all the traffic as going thru (from what I can tell....will have to read more of the documentation) yet the web browser times out.

I have tried all of them(web browsers) and nothing seems to work. I thought also that it could be a problem with KDE because for some reason when I try to load netscape 7.0 I am not able to do it ( I get an error message) but I can load and run netscape in other Window Managers.

I guess it is not that important to get to these particular sites but it is frustratingly odd that I cant

Any other ideas?

Thanks so much!
Chickpea
Back to top
View user's profile Send private message
Blaze
n00b
n00b


Joined: 16 Apr 2002
Posts: 24

PostPosted: Fri Aug 02, 2002 5:31 pm    Post subject: Reply with quote

try wget [url here] and see if you can open the file it downloaded with a browser. Also, if wget fails, see what error message it gives you since it will probably be more informative then anything konq will give you.
Back to top
View user's profile Send private message
Nebajoth
n00b
n00b


Joined: 04 Jul 2002
Posts: 22
Location: Ottawa, Ontario, Canada

PostPosted: Fri Aug 02, 2002 6:43 pm    Post subject: Reply with quote

Kabuto wrote:
Actually ping only tells you that the computer is replying to ping. WWW sites use port 80 for communications. So you can ping boxes without webservers. So ping might be going through your firewall but port 80 HTTP might not be.


In addition, HTTP uses a different protocol than ping does. Ping uses ICMP packets, whereas HTTP uses TCP. Something between you and the host you are trying to connect to may be filtering TCP requests, but not ICMP packets.
_________________
"I'm not a robot like you. I don't like having disks crammed into me... unless they're Oreos, and then only in the mouth."
-- Fry
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Fri Aug 02, 2002 11:31 pm    Post subject: Reply with quote

Well Guys I am still getting an error message using wget. It is a time out message. wget tried three times.

Sooooo, there must be something strange in my configurations which is preventing me from getting to this site. Now I am just annoyed. Dont understand it.

Oh, well, maybe my Linux box is just too cool for Home and Garden stuff.

Think I will compile Gnome.

Thanks for the help

Cat
Back to top
View user's profile Send private message
entropy
n00b
n00b


Joined: 27 Jun 2002
Posts: 32
Location: Denver, CO

PostPosted: Sun Aug 04, 2002 2:47 am    Post subject: Reply with quote

Try doing this:
Code:

cd /usr/src/linux
cat .config | grep CONFIG_INET_ECN


If you get CONFIG_INET_ECN=y this is bad, and you will want to disable this otpion.


This will check to see if you have explicit congestion notification enabled. Here is what the kernel help page says on ECN:

"Note that, on the Internet there are many broken firewalls which refuse connections from ECN-enabled machines, and it may be a while before these firewalls are fixed. Until the, to access a site behind such a firewall (some of which are major sites, at the time of this writing) you will have to disabl this option, either by saying N r by using the sysctl".

In short, if ECN is enabled, it may prevent you from connection to these sites. You will have to disable this option and recompile your kernel.

Good luck

Andy




Chickpea wrote:
Well Guys I am still getting an error message using wget. It is a time out message. wget tried three times.

Sooooo, there must be something strange in my configurations which is preventing me from getting to this site. Now I am just annoyed. Dont understand it.

Oh, well, maybe my Linux box is just too cool for Home and Garden stuff.

Think I will compile Gnome.

Thanks for the help

Cat
Code:
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Tue Aug 06, 2002 4:54 pm    Post subject: Reply with quote

Quote:
If you get CONFIG_INET_ECN=y this is bad, and you will want to disable this otpion.


Thanks for the tip. I do have that option enabled. So I will disable it and recompile my kernel (I assume that is what I need to do) and hope that works.

I appreciate the tip!

Cat
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Tue Aug 06, 2002 9:40 pm    Post subject: An update Reply with quote

FINALLY!!! IT WORKS

Andy, thank you for pointing me in the right direction. Disabling the CONFIG_INET_ECN option worked. Who knew one little thing could make everything so wrong.

Now I can do girly stuff and linux at the same time! Yeah!

Cat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum