-
Notifications
You must be signed in to change notification settings - Fork 451
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
Use Splash with Tor #105
Comments
Are you running tor in the same Docker container as Splash? If not, it is likely not available at If you're running tor in a separate Docker container then you can make a link between them. https://github.com/TeamHG-Memex/aquarium has tor set up, you can check configs there. See also: scrapinghub/splash#234 and scrapinghub/splash#268. |
kmike , there is also this error happen when I run "docker-compose up":
I think problem tor is not running here. Does Aquarium has its own Tor ? If it is, I don't have to change host and port settings in tor.ini, because Aquarium's Tor has no relationship with my local Tor browser( port= 9150). How can I sure Aquarium's Tor is running ? |
^^ this is still incorrect - Tor is not available at Splash localhost, it is executed in a separate Docker container. It should be something like
You can also just pass 'proxy=tor' argument to the request - Aquarium provides tor proxy profile by default: https://github.com/TeamHG-Memex/aquarium/blob/master/%7B%7Bcookiecutter.folder_name%7D%7D/proxy-profiles/tor.ini |
Still get 401 error: also in haproxy.cfg I have username and password
In settings.py: and this error might cause problem: |
@ceylanMeric Did you ever manage to solve this issue? |
Closing due to a lack of feedback. |
I try to build proxy settings of splash. I assign Tor or Polipo port address to
set_proxy
, but it doesn't work. I get 504 error:In polipo.config(9150 is tor port):
In settings.py:
How can I fix this, or is there an easier way to use splash with Tor? Please help :(
The text was updated successfully, but these errors were encountered: