Skip to content

noisy log: INFO: Error while receiving a control message (SocketClosed): received exception "{read,peek} of closed file"

Every time I run onionprobe, I get the following output:

[...]
2022-07-23 09:35:10,202 INFO: Elapsed time: 0:00:03.878111
2022-07-23 09:35:10,202 INFO: Status code is 200
2022-07-23 09:35:10,203 INFO: Error while receiving a control message (SocketClosed): received exception "read of closed file"
2022-07-23 09:35:10,203 INFO: Error while receiving a control message (SocketClosed): received exception "peek of closed file"
2022-07-23 09:35:10,203 INFO: Error while receiving a control message (SocketClosed): received exception "peek of closed file"
2022-07-23 09:35:10,203 INFO: Error while receiving a control message (SocketClosed): received exception "peek of closed file"
2022-07-23 09:35:10,203 INFO: Error while receiving a control message (SocketClosed): received exception "peek of closed file"
2022-07-23 09:35:10,203 INFO: Error while receiving a control message (SocketClosed): received exception "peek of closed file"

In this case, these Errors are "only" outputted six times, but I've seen as many as 19.

This problem is tracked upstream at: https://github.com/torproject/stem/issues/112.

However, related, while reading https://github.com/torproject/stem/issues/123, I'm wondering about the future of stem:

Stem 1.8.0 is the latest release and I don't have any plans on making future ones.

The above reply was written recently, June 28th 2022.