-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionError(ProtocolError('Connection aborted.', BadStatusLine("''",)),) #308
Comments
Hi! Does it work if you just use plain Python and Requests (http://docs.python-requests.org/en/latest/)? |
Hi Heyman, i tried using only Requests and issue happens after 2050 requests , i am using gevent to send 10 concurrent requests at a time. following is the traceback: Traceback (most recent call last): Traceback (most recent call last): i run locust in parallel with the above script , here issue is happening for every 10 - 20 requests. |
Any update on this issue? |
Looks like this an error from httplib. Get more info on the following links |
FWIW, I was able to prevent this error by reducing the max_wait time so that the worker wouldn't exceed the timeout on the keep-alive connection (see https://bugs.python.org/msg103545) |
What did you reduce max_wait to? |
I am hitting the same issue. I am using python 3.7. It starts happening once I hit the max number of clients. I tried putting down the max_wait and min_wait time to 50 but that does not help as well. |
any update on this issue? am in the same predicament as @meldehi, using Python 3.7 |
Create a global Connection Pooler for requests and attach it to |
Also, add timeouts to calls from requests |
Hi Team,
I am are trying load test SSO(Single sign-on) flow with our server. For some of the requests i am getting "ConnectionError(ProtocolError('Connection aborted.', BadStatusLine("''",)),)". When i try to read the response it as Status Code 0 and no header fields. As the error says its due the connection aborted. can you please help me what is causing this issue?.
i have seen issue happens for response time of within 1 sec.
The text was updated successfully, but these errors were encountered: