Hello,

I'm trying to use a script I had on tails and it fails.
It's working normally on classical ubuntu with tor, so probably some extra
settings making it fails.

Basically, it is like first script here
https://stackoverflow.com/questions/5148589/python-urllib-over-tor

which fails like
  File "/usr/lib/python2.6/dist-packages/socks.py", line 376, in connect
    self.__negotiatesocks4(destpair[0],destpair[1])
  File "/usr/lib/python2.6/dist-packages/socks.py", line 312, in
__negotiatesocks4
    raise Socks4Error((ord(resp[1]),_socks4errors[ord(resp[1])-90]))
socks.Socks4Error: (91, 'request rejected or failed')

on 127.0.0.1:9151 or 9050

tor log file says
[warn] Rejecting SOCKS request for anonymous connection to private address
[scrubbed].

Obviously, iceweasel or telnet on this address is working.

I also saw that
https://tor.stackexchange.com/questions/1537/what-does-warning-rejecting-socks-request-for-anonymous-connection-to-private
but didn't give me the solution to allow my script to work.

Thanks a lot.

Al


_______________________________________________
tails-support mailing list
[email protected]
https://mailman.boum.org/listinfo/tails-support
To unsubscribe from this list, send an empty email to 
[email protected].

Reply via email to