I'm uploading hundreds of millions of items to my database via a REST API from a cloud server on Heroku to a database in AWS EC2. I'm using Python and I am constantly seeing the following INFO log message in the logs.
[requests.packages.urllib3.connectionpool] [INFO] Resetting dropped connection: <hostname>
This "resetting of the dropped connection" seems to take many seconds (sometimes 30+ sec) before my code continues to execute again.
Thanks for your help. Andrew.
Requests uses Keep-Alive
by default. Resetting dropped connection
, from my understanding, means a connection that should be alive was dropped somehow. Possible reasons are:
Keep-Alive
.See https://stackoverflow.com/a/25239947/2142577 for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With