High latency in SSL connect causes WantReadError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Won't Fix
|
Medium
|
Feilong Wang |
Bug Description
We ran into an issue where the Ceilometer central agent was bubbling up errors ("WantReadError") from the Glance client when trying to poll the Glance api over an https connection. The target Glance instance is outside a firewall on a separate node.
Based on the debug trace, I've tracked this down to the common http library in glanceclient/
try:
.....
if kwargs[
.....
else:
resp = conn.getresponse()
The issue occurs when conn.request() is made. On slow connections the slow process of the data transfer/
Changed in python-glanceclient: | |
assignee: | nobody → Phil Neal (nealph) |
summary: |
- High latency in SSL connect can cause WantReadError + High latency in SSL connect causes WantReadError |
Working on a fix for this using a select option to force a wait to occur.