zet4/alpine-tor

500 Internal Privoxy Error when Privoxy enabled

arturhg opened this issue · 3 comments

When Privoxy enabled sometimes this error appears as a response:

500 Internal Privoxy Error

Privoxy encountered an error while processing your request:

Could not load template file no-server-data or one of its included components.

Please contact your proxy administrator.

If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It's typically the Privoxy install directory, or /etc/privoxy/).

Steps to reproduce:

  1. docker run -d -p 8118:8118 -p 2090:2090 -e tors=25 -e privoxy=1 zeta0/alpine-tor
  2. Make a request with HTTP proxy
  3. Get error
Otetz commented

Agreed, sometimes this happen.
I have workaround for python requests: https://github.com/Otetz/requests_proxy_adapter

@Otetz This is great!
But for fixing problem from the root, we can remove privoxy and use DeleGate instead.
Like this: DeleGate -> HaProxy -> Tors
Or there is a better solution?

zet4 commented

#7 mostly covers this so I will close this for now