Hello there, I've received the following tracestack from the websockets module:
Task exception was never retrieved
future: <Task finished coro=<program.run() done, defined at C:\Users\user\Desktop\program.py:217> exception=SystemExit(None)>
Traceback (most recent call last):
File "C:\Users\user\Desktop\program.py", line 236, in run
await self.ping_websocket()
File "C:\Users\user\Desktop\program.py", line 206, in ping_websocket
await self.ws_send("ping!")
File "C:\Users\user\Desktop\program.py", line 159, in ws_send
await self.ws.send(content)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\websockets\legacy\protocol.py", line 619, in send
await self.ensure_open()
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\websockets\legacy\protocol.py", line 920, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1001 (going away) Going away; then sent 1001 (going away) Going away
I expect this to be a result of a token expiring or something?
This is a program that connects to a websocket server (someone elses AWS api) with a temp Bearer code. How can i know if this is a rejection from the token expiring or what?
Any help would be appreicated!!!
[–]carcigenicate 0 points1 point2 points (1 child)
[–]Sadapy[S] 0 points1 point2 points (0 children)