I tried to run tor in command line by running

service tor start

After seeing this message

 * Starting tor daemon...                                                [ OK ] 

I tried to start "obfsproxy managed" but this error occurs:

pyptlib.config.EnvError: neither TOR_PT_{SERVER,CLIENT}_TRANSPORTS set

I used


to set the variable but after that other errors occur.

Should I set all these variables manually? Isn't there any mechanism to set them automatically?

1 Answer 1


obfsproxy should be setup inside of torrc if you wish to use it with tor, it shouldn't be executed seperately. The managed flag indicates that the opening process will be "managing" it, in this case the opening process is your shell and it's not providing the required configuration parameters.

The process for adding obfs3 bridges is outlined in this answer: How to add obfs3 bridges in torrc?

  • thanks. so what happens if i do not set this flag?
    – Shi.Bi
    Commented Jun 18, 2016 at 6:37
  • i wanna run obfsproxy for developing issues. should i follow the same instruction?
    – Shi.Bi
    Commented Jun 18, 2016 at 6:38
  • If you want to play around and experiment with Pluggable Transports then this is probably the document for you: gitweb.torproject.org/torspec.git/tree/pt-spec.txt
    – cacahuatl
    Commented Jun 18, 2016 at 22:29
  • yes thats it. thankyou :)
    – Shi.Bi
    Commented Jun 21, 2016 at 5:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .