[tor-bugs] #32939 [Core Tor/sbws]: Python stack in sbws
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jan 13 19:26:34 UTC 2020
#32939: Python stack in sbws
-------------------------------+--------------------
Reporter: tom | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/sbws | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
{{{
Jan 10 18:23:16 WARNING MainThread heartbeat.py:67 -
print_heartbeat_message - There is no progress measuring new unique
relays.
Jan 10 18:23:16 DEBUG MainThread scanner.py:548 - main_loop - Attempted to
measure 317 relays in 7.899018947283427 minutes
Jan 10 18:23:16 CRITICAL MainThread scanner.py:707 - run_speedtest -
Something went wrong.
Please create a ticket in https://trac.torproject.org with this traceback.
Jan 10 18:23:16 ERROR MainThread scanner.py:708 - run_speedtest -
Traceback (most recent call last):
File "/home/tom/sbws-venv/lib/python3.7/site-
packages/sbws/core/scanner.py", line 700, in run_speedtest
max_pending_results, pool)
File "/home/tom/sbws-venv/lib/python3.7/site-
packages/sbws/core/scanner.py", line 550, in main_loop
if controller.get_conf('TestingTorNetwork') == '1':
File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/control.py",
line 2170, in get_conf
entries = self.get_conf_map(param, default, multiple)
File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/control.py",
line 2254, in get_conf_map
response = self.msg('GETCONF %s' % ' '.join(lookup_params))
File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/control.py",
line 651, in msg
self._socket.send(message)
File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/socket.py",
line 450, in send
self._send(message, lambda s, sf, msg: send_message(sf, msg))
File "/home/tom/sbws-venv/lib/python3.7/site-packages/stem/socket.py",
line 247, in _send
raise stem.SocketClosed()
stem.SocketClosed
}}}
It seems like sometimes tor does not respond to a controller message and
that causes sbws to crash...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32939>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list