Client side ConnectionAbortedError: [WinError 10053] while waiting for s.recv response (4096)

A simple python 3.x client server application running locally (like on a single computer), sending simple messages back and forth.

I'm not sure why, but so often, when you expect a response from the server, my client receives the following error, and then terminates

pickledResponse = s.recv(4096);
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

What could be the reason for this? Maybe it's a timeout or something else? Looking for a way to avoid this and seeing that this is a local program for a school project, everything is fine :)

Thank,

+4
source share

Source: https://habr.com/ru/post/1548275/


All Articles