Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed. #345

Open
1232154pp4749687 opened this issue Sep 25, 2021 · 0 comments

Comments

@1232154pp4749687
Copy link

1232154pp4749687 commented Sep 25, 2021

Hi, i'm having this error after trying to connect through QR code.

[test] ('<41848>',)
[test] ("Initialized with: './sessions/test.json'",)
[test] ('Starting to ping in 15 seconds!',)
[test] ('Started pinging',)
[test] ('Listening on port: ', 41848)
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Program Files\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "./main.py", line 54, in ping_keep_alive
if not self.send_message("", opcode=websocket.ABNF.OPCODE_PING):
File "./main.py", line 69, in send_message
self.ws.send(message, opcode)
File "C:\Program Files\Python38\lib\site-packages\websocket_app.py", line 190, in send
raise WebSocketConnectionClosedException(
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@1232154pp4749687 and others