LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2010, 02:36 AM   #1
davejay1970
LQ Newbie
 
Registered: Jul 2010
Distribution: 2.6.28-19-server #61-Ubuntu SMP
Posts: 9

Rep: Reputation: 0
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

Last edited by davejay1970; 09-18-2010 at 03:01 AM. Reason: added server os version and firefox testing data
 
Old 09-18-2010, 07:13 AM   #2
kaushalpatel1982
Member
 
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, Kali Linux, Raspbian
Posts: 166

Rep: Reputation: 10
What exact Error display in case it wont open?
 
0 members found this post helpful.
Old 09-22-2010, 04:38 AM   #3
davejay1970
LQ Newbie
 
Registered: Jul 2010
Distribution: 2.6.28-19-server #61-Ubuntu SMP
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 09-24-2010, 11:57 PM   #4
davejay1970
LQ Newbie
 
Registered: Jul 2010
Distribution: 2.6.28-19-server #61-Ubuntu SMP
Posts: 9

Original Poster
Rep: Reputation: 0
bump
 
Old 09-25-2010, 04:42 AM   #5
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Post

It's problem may be DNS issue.Please configure your DNS properly.
 
0 members found this post helpful.
Old 09-26-2010, 12:17 AM   #6
davejay1970
LQ Newbie
 
Registered: Jul 2010
Distribution: 2.6.28-19-server #61-Ubuntu SMP
Posts: 9

Original Poster
Rep: Reputation: 0
Unlikely to be DNS as noted in OP.

Quote:
Originally Posted by ganesh24pal@gmail.com View Post
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?
 
Old 07-05-2011, 04:45 PM   #7
graemev
LQ Newbie
 
Registered: Sep 2010
Posts: 12

Rep: Reputation: 0
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.
 
Old 07-06-2011, 06:10 AM   #8
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Hi Gramev,

Can elobrate your problem , Which OS you are using.
 
0 members found this post helpful.
Old 07-07-2011, 11:28 AM   #9
graemev
LQ Newbie
 
Registered: Sep 2010
Posts: 12

Rep: Reputation: 0
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
 
Old 07-08-2011, 05:44 PM   #10
davejay1970
LQ Newbie
 
Registered: Jul 2010
Distribution: 2.6.28-19-server #61-Ubuntu SMP
Posts: 9

Original Poster
Rep: Reputation: 0
No help seen yet...

Quote:
Originally Posted by graemev View Post
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
 
  


Reply

Tags
dns, squid3, ubuntu, web



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Knoppix display weirdness yb99 Linux - Newbie 1 02-17-2010 11:24 AM
Is possible to have squid modify incoming pages? MikeyCarter Linux - Software 2 04-05-2007 04:33 PM
man pages don't display zahadumy Linux - General 4 05-22-2005 03:44 PM
Squid - Serving stale pages cli_man Linux - Software 0 12-08-2003 08:45 AM
man pages don't display linowes Linux - General 2 12-24-2002 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration