ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))

Bug #1470236 reported by Everett Toews
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK
Incomplete
Undecided
Unassigned

Bug Description

If there is a long time (hours) between requests to the API, you can get connection errors.

    requests.exceptions.ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))

Here are 2 complete examples:

http://paste.openstack.org/show/329576/
http://paste.openstack.org/show/329577/

Changed in python-openstacksdk:
status: New → Incomplete
Revision history for this message
Ian Cordasco (icordasc) wrote :

It's plausible that a connection is hanging around in the connection pool that we're not closing because the server supports Keep-Alive. When we try to use it, it causes a connection error because the socket's closed on the server side. I'm going to show this to Cory to see if he can help us debug it.

Revision history for this message
Cory Benfield (cory-benfield) wrote :

I'm intrigued by the lack of debug logs from urllib3: I'd have expected to see some.

Regardless, it is certainly *plausible* that a connection is hanging around. That at least should be an easily tested scenario.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.