Skip to content

Error when executing torrequest with tor daemon running #15

@fvcr

Description

@fvcr

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions