还未发布过话题
  • [D 200331 01:31:59 heartbeat:95] WS read message: None
    [W 200331 01:31:59 heartbeat:98] WS closed

    ERROR:tornado.application:Exception in callback functools.partial(>, exception=WebSocketClosedError()>)
    Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/tornado/websocket.py", line 1098, in write_message
    fut = self._write_frame(True, opcode, message, flags=flags)
    File "/usr/local/lib/python3.7/site-packages/tornado/websocket.py", line 1075, in _write_frame
    return self.stream.write(frame)
    File "/usr/local/lib/python3.7/site-packages/tornado/iostream.py", line 546, in write
    self._check_closed()
    File "/usr/local/lib/python3.7/site-packages/tornado/iostream.py", line 1008, in _check_closed
    raise StreamClosedError(real_error=self.error)
    tornado.iostream.StreamClosedError: Stream is closed

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/tornado/ioloop.py", line 743, in _run_callback
    ret = callback()
    File "/usr/local/lib/python3.7/site-packages/tornado/ioloop.py", line 767, in _discard_future_result
    future.result()
    File "/Users/jake/atxserver2-ios-provider/heartbeat.py", line 87, in _drain_queue
    await self._ws.write_message(message)
    File "/Users/jake/atxserver2-ios-provider/heartbeat.py", line 37, in write_message
    return await super().write_message(message)
    File "/usr/local/lib/python3.7/site-packages/tornado/websocket.py", line 1506, in write_message
    return self.protocol.write_message(message, binary=binary)
    File "/usr/local/lib/python3.7/site-packages/tornado/websocket.py", line 1100, in write_message
    raise WebSocketClosedError()
    tornado.websocket.WebSocketClosedError

  • 求大佬搭救.
    比如连了 3 台 iphone, 其中 1 台重启, 就会有概率出现这个报错. 然后另外两台也都在 atxserver2 里下线了, 但那两台 WDA 都正常运行的, 用转发的端口也能访问,但就是在 atxserver2 上不显示了,重启的手机一会也会自动连接成功,但也是在 atxserver2 上不显示了,尝试了各种方法是在没辙,求大佬搭救 T_T