Questions tagged [python]

Python is a programming language. For Tor there is the Stem library.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Circuit Creation Failed: "CHANNEL_CLOSED"

I'm trying to create circuits using the Stem library and I keep getting the following error ... controller.new_circuit(['711e9e5711a6e28e2a27de23b7c70c91d39908d0','...
2
votes
3answers
3k views

Is it possible to create a Tor Hidden Service in Python (Django) or Ruby (Rails)?

All the Tor Hidden Services seem to be written in PHP or just plain HTML. If this is possible, is there any reason not to do it? How would one go about doing it?
0
votes
0answers
3k views

Tried for 120 seconds to get a connection to [scrubbed]:6667 (waiting for controller)

I'm running some experiments using the stem library where I change circuit paths fairly frequently. Every so often, I get a stream detached event and a Socks5Error: 'TTL Expired' in my Python script, ...
6
votes
2answers
13k views

How to connect to a remote socket through Tor in Python?

Using normal sockets I can stream a list of numbers (updated every second) from a server to a client. This works perfectly fine. Now I want to do the same using Tor. Using Socksipy I am able to make ...

1
2