Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Exception in websocket_safe_readが発生し再接続されないバグ #227

Open
wanshot opened this issue Sep 30, 2022 · 0 comments
Open
Labels

Comments

@wanshot
Copy link
Contributor

wanshot commented Sep 30, 2022

内容

haroがエラーを吐き続ける状態になっていた

関連

ログ

Sep 29 02:09:02 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 02:09:05 haro python[13756]: reconnected to slack rtm websocket
Sep 29 02:27:42 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 02:27:46 haro python[13756]: Exception during reset or similar
Sep 29 02:27:46 haro python[13756]: Traceback (most recent call last):
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/slackclient.py", line 112, in websocke
Sep 29 02:27:46 haro python[13756]:     data += '{0}\n'.format(self.websocket.recv())
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 293, in recv
Sep 29 02:27:46 haro python[13756]:     opcode, data = self.recv_data()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 310, in recv_data
Sep 29 02:27:46 haro python[13756]:     opcode, frame = self.recv_data_frame(control_frame)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 323, in recv_data_fra
Sep 29 02:27:46 haro python[13756]:     frame = self.recv_frame()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 357, in recv_frame
Sep 29 02:27:46 haro python[13756]:     return self.frame_buffer.recv_frame()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_abnf.py", line 340, in recv_frame
Sep 29 02:27:46 haro python[13756]:     self.recv_header()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_abnf.py", line 288, in recv_header
Sep 29 02:27:46 haro python[13756]:     header = self.recv_strict(2)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_abnf.py", line 375, in recv_strict
Sep 29 02:27:46 haro python[13756]:     bytes_ = self.recv(min(16384, shortage))
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 427, in _recv
Sep 29 02:27:46 haro python[13756]:     return recv(self.sock, bufsize)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_socket.py", line 92, in recv
Sep 29 02:27:46 haro python[13756]:     raise WebSocketConnectionClosedException(
Sep 29 02:27:46 haro python[13756]: websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
Sep 29 02:27:46 haro python[13756]: During handling of the above exception, another exception occurred:
Sep 29 02:27:46 haro python[13756]: Traceback (most recent call last):
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finaliz
Sep 29 02:27:46 haro python[13756]:     fairy._reset(pool)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
Sep 29 02:27:46 haro python[13756]:     pool._dialect.do_rollback(self)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475,
Sep 29 02:27:46 haro python[13756]:     dbapi_connection.rollback()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 793, in rollback
Sep 29 02:27:46 haro python[13756]:     self._read_ok_packet()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 767, in _read_ok_
Sep 29 02:27:46 haro python[13756]:     pkt = self._read_packet()
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 987, in _read_pac
Sep 29 02:27:46 haro python[13756]:     packet_header = self._read_bytes(4)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1032, in _read_by
Sep 29 02:27:46 haro python[13756]:     raise err.OperationalError(
Sep 29 02:27:46 haro python[13756]: pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')
Sep 29 02:27:46 haro python[13756]: reconnected to slack rtm websocket
Sep 29 02:44:56 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 02:45:00 haro python[13756]: reconnected to slack rtm websocket
Sep 29 02:47:38 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 02:47:42 haro python[13756]: reconnected to slack rtm websocket
Sep 29 10:55:10 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 10:55:15 haro python[13756]: reconnected to slack rtm websocket
Sep 29 19:03:05 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 19:03:09 haro python[13756]: reconnected to slack rtm websocket
Sep 29 19:47:37 haro python[13756]: Exception during reset or similar
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1039, in _write_b
Sep 29 19:47:37 haro python[13756]:     self._sock.sendall(data)
Sep 29 02:27:46 haro python[13756]:     packet_header = self._read_bytes(4)
Sep 29 02:27:46 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1032, in _read_by
Sep 29 02:27:46 haro python[13756]:     raise err.OperationalError(
Sep 29 02:27:46 haro python[13756]: pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')
Sep 29 02:27:46 haro python[13756]: reconnected to slack rtm websocket
Sep 29 02:44:56 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 02:45:00 haro python[13756]: reconnected to slack rtm websocket
Sep 29 02:47:38 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 02:47:42 haro python[13756]: reconnected to slack rtm websocket
Sep 29 10:55:10 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 10:55:15 haro python[13756]: reconnected to slack rtm websocket
Sep 29 19:03:05 haro python[13756]: lost websocket connection, try to reconnect now
Sep 29 19:03:09 haro python[13756]: reconnected to slack rtm websocket
Sep 29 19:47:37 haro python[13756]: Exception during reset or similar
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1039, in _write_b
Sep 29 19:47:37 haro python[13756]:     self._sock.sendall(data)
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1204, in sendall
Sep 29 19:47:37 haro python[13756]:     v = self.send(byte_view[count:])
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1173, in send
Sep 29 19:47:37 haro python[13756]:     return self._sslobj.write(data)
Sep 29 19:47:37 haro python[13756]: BrokenPipeError: [Errno 32] Broken pipe
Sep 29 19:47:37 haro python[13756]: During handling of the above exception, another exception occurred:
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finaliz
Sep 29 19:47:37 haro python[13756]:     fairy._reset(pool)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
Sep 29 19:47:37 haro python[13756]:     pool._dialect.do_rollback(self)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475,
Sep 29 19:47:37 haro python[13756]:     dbapi_connection.rollback()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 792, in rollback
Sep 29 19:47:37 haro python[13756]:     self._execute_command(COMMAND.COM_QUERY, "ROLLBACK")
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1092, in _execute
Sep 29 19:47:37 haro python[13756]:     self._write_bytes(packet)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1042, in _write_b
Sep 29 19:47:37 haro python[13756]:     raise err.OperationalError(
Sep 29 19:47:37 haro python[13756]: pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'
Sep 29 19:47:37 haro python[13756]: Exception during reset or similar
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1039, in _write_b
Sep 29 19:47:37 haro python[13756]:     self._sock.sendall(data)
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1204, in sendall
Sep 29 19:47:37 haro python[13756]:     v = self.send(byte_view[count:])
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1173, in send
Sep 29 19:47:37 haro python[13756]:     return self._sslobj.write(data)
Sep 29 19:47:37 haro python[13756]: BrokenPipeError: [Errno 32] Broken pipe
Sep 29 19:47:37 haro python[13756]: During handling of the above exception, another exception occurred:
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finaliz
Sep 29 19:47:37 haro python[13756]:     fairy._reset(pool)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
Sep 29 19:47:37 haro python[13756]:     pool._dialect.do_rollback(self)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475,
Sep 29 19:47:37 haro python[13756]:     dbapi_connection.rollback()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 792, in rollback
Sep 29 19:47:37 haro python[13756]:     self._execute_command(COMMAND.COM_QUERY, "ROLLBACK")
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1092, in _execute
Sep 29 19:47:37 haro python[13756]:     self._write_bytes(packet)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1042, in _write_b
Sep 29 19:47:37 haro python[13756]:     raise err.OperationalError(
Sep 29 19:47:37 haro python[13756]: pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'
Sep 29 19:47:37 haro python[13756]: Exception during reset or similar
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1039, in _write_b
Sep 29 19:47:37 haro python[13756]:     self._sock.sendall(data)
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1204, in sendall
Sep 29 19:47:37 haro python[13756]:     v = self.send(byte_view[count:])
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1173, in send
Sep 29 19:47:37 haro python[13756]:     return self._sslobj.write(data)
Sep 29 19:47:37 haro python[13756]: BrokenPipeError: [Errno 32] Broken pipe
Sep 29 19:47:37 haro python[13756]: During handling of the above exception, another exception occurred:
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finaliz
Sep 29 19:47:37 haro python[13756]:     fairy._reset(pool)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
Sep 29 19:47:37 haro python[13756]:     pool._dialect.do_rollback(self)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475,
Sep 29 19:47:37 haro python[13756]:     dbapi_connection.rollback()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 792, in rollback
Sep 29 19:47:37 haro python[13756]:     self._execute_command(COMMAND.COM_QUERY, "ROLLBACK")
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1092, in _execute
Sep 29 19:47:37 haro python[13756]:     self._write_bytes(packet)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1042, in _write_b
Sep 29 19:47:37 haro python[13756]:     raise err.OperationalError(
Sep 29 19:47:37 haro python[13756]: pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'
Sep 29 19:47:37 haro python[13756]: Exception during reset or similar
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1039, in _write_b
Sep 29 19:47:37 haro python[13756]:     self._sock.sendall(data)
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1204, in sendall
Sep 29 19:47:37 haro python[13756]:     v = self.send(byte_view[count:])
Sep 29 19:47:37 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1173, in send
Sep 29 19:47:37 haro python[13756]:     return self._sslobj.write(data)
Sep 29 19:47:37 haro python[13756]: BrokenPipeError: [Errno 32] Broken pipe
Sep 29 19:47:37 haro python[13756]: During handling of the above exception, another exception occurred:
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finaliz
Sep 29 19:47:37 haro python[13756]:     fairy._reset(pool)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
Sep 29 19:47:37 haro python[13756]:     pool._dialect.do_rollback(self)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475,
Sep 29 19:47:37 haro python[13756]:     dbapi_connection.rollback()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 792, in rollback
Sep 29 19:47:37 haro python[13756]:     self._execute_command(COMMAND.COM_QUERY, "ROLLBACK")
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1092, in _execute
Sep 29 19:47:37 haro python[13756]:     self._write_bytes(packet)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1042, in _write_b
Sep 29 19:47:37 haro python[13756]:     raise err.OperationalError(
Sep 29 19:47:37 haro python[13756]: pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'
Sep 29 19:47:37 haro python[13756]: Exception during reset or similar
Sep 29 19:47:37 haro python[13756]: Traceback (most recent call last):
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finaliz
Sep 29 19:47:37 haro python[13756]:     fairy._reset(pool)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
Sep 29 19:47:37 haro python[13756]:     pool._dialect.do_rollback(self)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475,
Sep 29 19:47:37 haro python[13756]:     dbapi_connection.rollback()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 793, in rollback
Sep 29 19:47:37 haro python[13756]:     self._read_ok_packet()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 767, in _read_ok_
Sep 29 19:47:37 haro python[13756]:     pkt = self._read_packet()
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 987, in _read_pac
Sep 29 19:47:37 haro python[13756]:     packet_header = self._read_bytes(4)
Sep 29 19:47:37 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/pymysql/connections.py", line 1032, in _read_by
Sep 29 19:47:37 haro python[13756]:     raise err.OperationalError(
Sep 29 19:47:37 haro python[13756]: pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')
Sep 29 19:52:04 haro python[13756]: failed to handle message cafistar list with plugin "run_command"
Sep 29 19:52:04 haro python[13756]: Traceback (most recent call last):
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/dispatcher.py", line 54, in _dispatch_
Sep 29 19:52:04 haro python[13756]:     func(Message(self._client, msg), *args)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/beproudbot/src/haro/arg_validator.py", line 125, in wrapper
Sep 29 19:52:04 haro python[13756]:     return func(**validator.cleaned_data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/beproudbot/src/haro/plugins/create.py", line 219, in run_command
Sep 29 19:52:04 haro python[13756]:     get_term(message, command)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/beproudbot/src/haro/plugins/create.py", line 273, in get_term
Sep 29 19:52:04 haro python[13756]:     botsend(message, '\n'.join(msg))
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/beproudbot/src/haro/botmessage.py", line 13, in botsend
Sep 29 19:52:04 haro python[13756]:     message.send(text)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/dispatcher.py", line 184, in wrapped
Sep 29 19:52:04 haro python[13756]:     return func(self, text, *a, **kw)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/dispatcher.py", line 285, in send
Sep 29 19:52:04 haro python[13756]:     self._client.rtm_send_message(self._body['channel'], text, thread_ts=thread_ts)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/slackclient.py", line 142, in rtm_send
Sep 29 19:52:04 haro python[13756]:     self.send_to_websocket(message_json)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/slackclient.py", line 102, in send_to_
Sep 29 19:52:04 haro python[13756]:     self.websocket.send(data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 234, in send
Sep 29 19:52:04 haro python[13756]:     return self.send_frame(frame)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 259, in send_frame
Sep 29 19:52:04 haro python[13756]:     l = self._send(data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 423, in _send
Sep 29 19:52:04 haro python[13756]:     return send(self.sock, data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_socket.py", line 116, in send
Sep 29 19:52:04 haro python[13756]:     return sock.send(data)
Sep 29 19:52:04 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1173, in send
Sep 29 19:52:04 haro python[13756]:     return self._sslobj.write(data)
Sep 29 19:52:04 haro python[13756]: ssl.SSLWantWriteError: The operation did not complete (write) (_ssl.c:2410)
Sep 29 19:52:04 haro python[13756]: Exception ignored in thread started by: <bound method WorkerPool.do_work of <slackbot.utils.WorkerP
Sep 29 19:52:04 haro python[13756]: Traceback (most recent call last):
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/utils.py", line 56, in do_work
Sep 29 19:52:04 haro python[13756]:     self.func(msg)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/dispatcher.py", line 43, in dispatch_m
Sep 29 19:52:04 haro python[13756]:     if not self._dispatch_msg_handler(category, msg):
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/dispatcher.py", line 63, in _dispatch_
Sep 29 19:52:04 haro python[13756]:     self._client.rtm_send_message(msg['channel'], reply)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/slackclient.py", line 142, in rtm_send
Sep 29 19:52:04 haro python[13756]:     self.send_to_websocket(message_json)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/slackbot/slackclient.py", line 102, in send_to_
Sep 29 19:52:04 haro python[13756]:     self.websocket.send(data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 234, in send
Sep 29 19:52:04 haro python[13756]:     return self.send_frame(frame)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 259, in send_frame
Sep 29 19:52:04 haro python[13756]:     l = self._send(data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_core.py", line 423, in _send
Sep 29 19:52:04 haro python[13756]:     return send(self.sock, data)
Sep 29 19:52:04 haro python[13756]:   File "/home/haro/venv/lib/python3.8/site-packages/websocket/_socket.py", line 116, in send
Sep 29 19:52:04 haro python[13756]:     return sock.send(data)
Sep 29 19:52:04 haro python[13756]:   File "/usr/lib/python3.8/ssl.py", line 1173, in send
Sep 29 19:52:04 haro python[13756]:     return self._sslobj.write(data)
Sep 29 19:52:04 haro python[13756]: ssl.SSLError: [SSL: BAD_LENGTH] bad length (_ssl.c:2410)
Sep 29 19:52:04 haro python[13756]: Exception in websocket_safe_read: [Errno 0] Error
Sep 29 19:52:05 haro python[13756]: Exception in websocket_safe_read: [Errno 0] Error
Sep 29 19:52:06 haro python[13756]: Exception in websocket_safe_read: [Errno 0] Error
Sep 29 19:52:07 haro python[13756]: Exception in websocket_safe_read: [Errno 0] Error
移行同じログ再起動するまで発生
@wanshot wanshot added the bug label Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant