LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid (probably) weirdness does not allow some pages to display (http://www.linuxquestions.org/questions/linux-server-73/squid-probably-weirdness-does-not-allow-some-pages-to-display-832981/)

davejay1970 09-18-2010 03:36 AM

Squid (probably) weirdness does not allow some pages to display
 
Hi all,

I am experiencing a problem which I lack the knowledge to crack at this stage. I run a home server (2.6.28-19-server #64-Ubuntu SMP) which firewalls and proxies for my LAN (including 2 linux boxes, a vista box and a win7 box).

Most of the time this works well. Very occasionally we will run into a website which will not display at all on the LAN boxes.

Examples: for a long time I could hit the forums.egosoft.com site but not the egosoft.com site. Now my wife can't hit www.boden.co.uk. I'm pretty sure that the problem is in the Squid3 config. Isolation testing:

Run the vista box direct into the ADSL modem: get the website.
Hit the website using Lynx through SSH on the server box: get the website.
Try to get the site on a browser (have tested with IE8 and chrome) on any of the win boxes through the proxy - no joy. DNS error.
Firefox on Ubuntu desktop from the linux client boxes gives an error message about an unrecognised form of compression.

I can only assume that I've misconfigured the Squid3 proxy in some way - it works for 99% of sites but fails utterly on others.

Any advice please?

cheers
Dave

kaushalpatel1982 09-18-2010 08:13 AM

What exact Error display in case it wont open?

davejay1970 09-22-2010 05:38 AM

Sorry for delay, have been away.

Firefox error: Content encoding error. The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.


Chrome error:
This webpage is not available.

The webpage at http://www.boden.co.uk/ might be temporarily down or it may have moved permanently to a new web address.

More information on this error
Below is the original error message

Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.


IE 8 error:
Internet Explorer cannot display the webpage

What you can try:
Diagnose Connection Problems

More information

This problem can be caused by a variety of issues, including:

•Internet connectivity has been lost.
•The website is temporarily unavailable.
•The Domain Name Server (DNS) is not reachable.
•The Domain Name Server (DNS) does not have a listing for the website's domain.
•There might be a typing error in the address.
•If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds

1.Click the Favorites Center button , click Feeds, and then click the feed you want to view.

To view recently visited webpages (might not work on all pages)

1.Click Tools , and then click Work Offline.
2.Click the Favorites Center button , click History, and then click the page you want to view.

davejay1970 09-25-2010 12:57 AM

bump

ganesh24pal@gmail.com 09-25-2010 05:42 AM

It's problem may be DNS issue.Please configure your DNS properly.

davejay1970 09-26-2010 01:17 AM

Unlikely to be DNS as noted in OP.
 
Quote:

Originally Posted by ganesh24pal@gmail.com (Post 4108488)
It's problem may be DNS issue.Please configure your DNS properly.

Ganesh, thanks for your reply. As you see in my original post, I can hit the pages using a browser on the proxying host. Therefore DNS is configured appropriately. This is why I am looking at Squid3 as a possible culprit. The boxes can see the site when connected directly to the modem, the proxy box can see the site, but the other boxes cannot see the site through the proxy. If my DNS settings were wrong then I would not expect to be able to see the site at all.

I don't think DNS is it. Any other suggestions?

graemev 07-05-2011 05:45 PM

squid and boden
 
Did you ever get to the bottom of this?

I'm seeing exactly this error (pretty much same combo of machines also) same squid [style] setup same site, same error messages.

ganesh24pal@gmail.com 07-06-2011 07:10 AM

Hi Gramev,

Can elobrate your problem , Which OS you are using.

graemev 07-07-2011 12:28 PM

which OS
 
Not quite sure which OS you want. In terms of my squid server it's on Debian (Lenny)
the clients & server are all as per the originators setup

davejay1970 07-08-2011 06:44 PM

No help seen yet...
 
Quote:

Originally Posted by graemev (Post 4406084)
Did you ever get to the bottom of this?

I'm seeing exactly this error (pretty much same combo of machines also) same squid [style] setup same site, same error messages.

@Graemev, no, I'm afraid I didn't. After receiving the unhelpful one-liners above (I can only assume that they are hoping to fluke a reputation improvement despite not contributing meaningfully) I soldiered on for a while until other issues (QoS for real-time apps and some proprietary stuff run on one client which was unable to cope with proxying) forced me to a different configuration, sans proxy.

Hopefully Ganesh has something better than "reconfigure your DNS" to offer you - I await his next pearl of wisdom.

cheers


All times are GMT -5. The time now is 06:16 PM.