I occasionally see this error in my logs even though the request completes:
INFO - Error while receiving a control message (SocketClosed): received exception "read of closed file"
The calling code looks like this:
with TorRequest() as tr:
logger.debug("making request")
response = tr.get(url)
logger.debug("got response")
# error happens here
...
Is it better to have the tor daemon running rather than having it be invoked by the script?
Certainly seems to be a benign issue and I suspect it's happening when the tor session is being torn down. How do I debug this issue or squelch this message?
I'd greatly appreciate any help or pointers! Thanks!
I occasionally see this error in my logs even though the request completes:
The calling code looks like this:
I'd greatly appreciate any help or pointers! Thanks!