-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privoxy: Invalid header received from client. #174
Comments
this is completely normal, you should not be trying to access privoxy via the web ui (or curl/wget), instead you configure your browser to use the proxy. |
Hi @binhex. Sorry for being kind of a noob, never actually used privoxy before... I'm a bit confused with how the configuration part works. (Question 1) When I connect to the Proxy and use Firefox or Chrome, I get something like: Am I missing any configuration or steps before stuff starts to work?? (Question 2) Does the Privoxy part of the Docker run as a separate service which is exposed to LAN/Dockernet. Meaning that the Deluge part of the Docker is configured to run with Privoxy if the ENV Variable is set to "yes". So essentially could both Deluge and another computer on LAN use Privoxy as another proxy? (Question 3) Is there any documentation or instructions I could refer to for configuring and using Privoxy? |
can you send me a screenshot of how you have configured firefox and/or chrome to use privoxy?, also detail what the ip address is of your host machine running the container.
privoxy and deluge are two independant processes running in the same container that share the same network, so you can have deluge running, or deluge and privoxy running at the same time. you do NOT configure deluge to privoxy, this is not required and will cause issues.
i would only be googling it just like you, do a search for 'privoxy documentation' and start from there. |
Q1It's off right now but it was on before when it didn't work. All my browsers use the default settings for Proxies (ie., use whatever is in the system settings) The Docker runs on this home server with the IP (192.168.10.250, 192.168.10.200 and a few others). But the Privoxy port on the Docker is set to 192.168.10.250:18118. Q2
Sorry for all these questions, hope you could help me out here. Thanks for all your advice so far. |
hmm ok so Q1 looks ok, can you attach or paste your privoxy config file, it will be located in /config/privoxy/config. Q2.
|
Config file (inside the zip): So as for Privoxy, what do I need to configure in Privoxy or does it works good enough out of the box? Is Deluge setup with Privoxy by default is what I'm trying to say. |
you shouldnt need to configure it for it to work out of the box.
no, deluge (as in the app not the container) is not setup to use privoxy, and as previously mentioned, should not be set to do so. if what you are asking is does privoxy work if ENABLE_PRIVOXY is set to yes, then the answer to THAT question is yes. i can see no problems with your privoxy config file, so i can only assume something is blocking it on your lan, got vlan's defined?, are they blocking?, pfsense or some such advanced firewall, is it blocking?, host firewall, is that blocking?. |
so am i right in thinking you are running docker on windows?, if so the windows firewall could well be the problem as it tends to block inbound requests, try temporarily disabling the windows firewall and see if you can access privoxy, if so then you need to tweak the firewall. port 58846 and 58946 are there to be used if you turn off the vpn, as you can use them for incoming ports, so nothing to do with privoxy. |
Hi @binhex. I'm actually not running Docker on Windows. The Deluge docker is running on this dedicated home server that runs Debian Buster. The server also uses default firewall settings too. |
When connected to the Privoxy page, default port 8118, it reports "Invalid header received from client."
Tried different browsers, doesn't seem to help.
Help or any reports to this issue seems to be limited.
How anyone who has encountered this issue or has some possible solutions could shed light!
Thanks
Btw, I've mapped the 8118 port to 192.168.10.250:18118.
Also, there are no errors or anything irregular in the Docker logs.
The text was updated successfully, but these errors were encountered: