You are not logged in.

#1 2013-10-10 00:34:44

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

[SOLVED] Privoxy and Squid not playing nice together

I just installed and setup privoxy and squid, and they both work without issue independently, but as soon as I uncomment

cache_peer localhost parent 8118 7 no-digest no-query
never_direct allow all

I receive:

The following error was encountered while trying to retrieve the URL: http://www.google.ca/url?

    Unable to forward this request at this time.

This request could not be forwarded to the origin server or to any parent caches.

here is my squid.conf: http://pastebin.com/URaL3hRv
and my privoxy/config: http://pastebin.com/aLHg9XrG
(both are basically vanilla, save for a few squid settings to get it working)

when squid and privoxy are chained, direct connections seem to work, but redirects go to that error page

edit: forgot to mark solved last time

Last edited by HiImTye (2014-04-11 21:06:28)

Offline

#2 2013-10-20 03:53:47

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Privoxy and Squid not playing nice together

I fixed it by changing in the file

/etc/privoxy/config

the line

listen-address  127.0.0.1:8118

to

listen-address  127.0.0.1:8118
listen-address  [::1]:8118

(yay, now my tablet can have ad-blocking again)

Last edited by HiImTye (2013-10-20 03:54:36)

Offline

#3 2014-04-11 21:04:49

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Privoxy and Squid not playing nice together

update: google.com (among other things) kept timing out whenever  I would use the proxy, forcing me to disable them. to remedy this, I added the following to /etc/squid/squid.conf

# fix timeouts
dns_v4_first on

edit: this resolves an issue where ip6 is enabled, but your ISP doesn't provide ip6

Last edited by HiImTye (2014-04-11 21:05:21)

Offline

Board footer

Powered by FluxBB