T
T
TRXTSSA2021-11-14 15:13:05
Python
TRXTSSA, 2021-11-14 15:13:05

How to fix requests error 10054 'Remote host forcibly terminated existing connection'?

There is a bot in VK, which, when a button is pressed, makes a get-request to the site page, takes data from there and then sends it to a person in a LAN. The first 5-7 minutes everything works correctly, but then an error is thrown:

requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 
'Удаленный хост принудительно разорвал существующее подключение', None, 10054, None))

I don't understand why the server is dropping the connection

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-11-14
@TRXTSSA

The site does not like parser bots, most likely. For nefig.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question