Pithikos / python-websocket-server

A simple fully working websocket-server in Python with no external dependencies
MIT License
1.13k stars 380 forks source link

"ConnectionAbortedError: [WinError 10053]" when closing/reloding page #110

Open AimbotNooby opened 1 year ago

AimbotNooby commented 1 year ago

Hey I've made an website, which sends some date from input text fields to the websocket. The problem is, when I reload or even close the page the following error occurs: "ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine."

Important: The python websocket is running a loop after receiving the message. Without this loop it works.

Btw I don't use the functions set_fn_new_client() and set_fn_client_left(), just set_fn_message_received().

Hope someone can help me with that. Please tell me if you need my code.