Task returning unexpectly
lgrahl opened this issue · comments
If one runs the tests from the saltyrtc-client-js implementation, the following error can be found in the log:
[2018-07-17 15:32:10.100117] ERROR: saltyrtc.path.6.client.7fc0f46d31f8.0x01: Task <Task finished coro=<ServerProtocol.initiator_receive_loop() done, defined at /home/lenny/Projects/saltyrtc/saltyrtc-server-python/saltyrtc/server/server.py:536> result=None> returned unexpectedly
[2018-07-17 15:32:10.100270] NOTICE: saltyrtc.path.6.client.7fc0f46d31f8.0x01: Closing due to protocol error: A task returned unexpectedly
Still need to pin down what test this reproduces.
This happens when the connection_closed
future resolves (
while True
and let the exception do its job.