r/StackoverReddit • • Jul 01 '24

Python aiohttp websocket disconnect

/r/learnprogramming/comments/1dpnc28/python_aiohttp_websocket_disconnect/
2 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Jul 01 '24

[removed] — view removed comment

2

u/Comfortable-Log9908 Jul 01 '24

I removed closed and ping atribute as:
AttributeError: 'ClientWebSocketResponse' object has no attribute 'ping'

ERROR:root:Error in buzzer function: 'ClientWebSocketResponse' object has no attribute 'closed'

and everything works like a charm, thank you again !!