erdiaker / torrequest

Simple Python interface for HTTP(s) requests over Tor
234 stars 42 forks source link

Error when executing torrequest with tor daemon running #15

Open fvcr opened 3 years ago

fvcr commented 3 years ago

Hi,

When I run:

from torrequest import TorRequest
tr=TorRequest(password='')

import requests
response= requests.get('http://ipecho.net/plain')
print ("My Original IP Address:",response.text)

tr.reset_identity() #Reset Tor
response= tr.get('http://ipecho.net/plain')
print ("New Ip Address",response.text)

I only succeed with the tor daemon stopped.

3

2

1

The error occurs when the tor daemon is running.

5

6

7

I ran the tests in a docker container, debian: sid.

12

I would like to be able to run torrequest with the tor daemon running, could someone help me with this problem?

Thanks!

pcko1 commented 3 years ago

@fvcr same issue on my end, will be watching this