Content not loading and invalid compression messages

Asked by Byron Grossnickle on 2009-11-02

After updating to Karmic from Jaunty (9.04), certain web sites will not load. An example of this is www.funnyplace.org
It will try to load the page, but then come up with a blank page. Also when accessing certain pages you get the following message: The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

I am using tinyproxy in conjunction with Dansguardian, so it could be either product. I have traced it back to one of those 2 because if I prevent stuff from going through Dansguardian and tinyproxy, things work fine. Tinyproxy went from 1.6.3-3.2 in Jaunty to 1.6.5.0 in Karmic and Danguardian made the jump from 2.9.9.7-2 to 2.10.1.1-1

I would really like to leave both enabled and would really appreciate help anyone can give with with regards to this problem. I checked the configuration files and they did not seem to be overwritten, so I am suspecting something has changed in the code of 1 or both of these products

Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu tinyproxy Edit question
Assignee:
No assignee Edit question
Last query:
2009-11-05
Last reply:
2009-11-20
Michael Adam (obnox) said : #1

Hi,
what is your tinyproxy configuration?
And how are tinyproxy and dansguardian combined?

Michael Adam (obnox) said : #2

Hi,
what is your tinyproxy configuration?
And how are tinyproxy and dansguardian combined?

Byron Grossnickle (bmgrossn) said : #3

Tiny proxy config is unchanged......Default install.......

Here is how I have things configured......

1.Install TinyProxy with Synaptic Package Manager
2.Install DansGuardian with Synaptic Package Manager
3.gksudo gedit /etc/dansguardian/dansguardian.conf
1.Comment out the UNCONFIGURED
2.Change proxy port to TinyProxy default of 8888
4.If one desires to stop here, set browser proxies to localhost and port 8080
5.Route all browser traffic through the TinyProxy.
1.# Let tinyproxy out (it is running as nobody)
iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --uid-owner nobody -j ACCEPT
2.# Forward all web traffic to dansguardian/tinyproxy
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-ports 8080
3.Test browsers without proxy to see if working
6.If working correctly make changes for every time system starts
1.sudo bash -c "iptables-save > /etc/iptables.rules"
2.gksudo gedit /etc/network/interfaces
1.After appropriate interface:
1.pre-up iptables-restore < /etc/iptables.rules
2.If saving when system goes down is desired, after appropriate int:
1.post-down iptables-save -c > /etc/iptables.rules

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Michael Adam (obnox) said : #5

I'd like to come back to this question.
Dunno if it is still possibe (due to expiry...)

1. in your config described above, is it right that your call chain is the following?
    (I don't quite understand the numbering)

    browser---> [dansguardian, port 8080] --> [tinyproxy, port 8888]

2. can you load the website using only tinyproxy?

3. can you load the website using only dansgardian?

Michael Adam (obnox) said : #6

Is it possible to unexpire an expired question?