[issue41345] Remote end closed connection without response

2020-07-27 Thread Martin Panter
Martin Panter added the comment: Previous report about Requests to the Python bug tracker: Issue 33620. I suspect this is an unavoidable race condition with trying a POST (or other non-idempotent) request on an idle HTTP connection. I think it has to be up to the higher-level application or

[issue41345] Remote end closed connection without response

2020-07-27 Thread Michal Arbet
Michal Arbet added the comment: Hello, Thank you very much for help, I created pull request for urllib3 -> https://github.com/urllib3/urllib3/pull/1911 Can u just confirm that this could be fixed in urllib3 as it is in pull request ? Have I fixed it by good way ? Thanks. Michal Arbet ( kevko

[issue41345] Remote end closed connection without response

2020-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: This surely is some application corner case. Closing. -- nosy: +gvanrossum resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue41345] Remote end closed connection without response

2020-07-21 Thread Ilia Androshchuk
Ilia Androshchuk added the comment: Hi Michal, I found some information in the package documentation Please check this page https://requests.readthedocs.io/en/master/user/advanced/#keep-alive -- ___ Python tracker

[issue41345] Remote end closed connection without response

2020-07-20 Thread Ilia Androshchuk
Ilia Androshchuk added the comment: Hi, Michal It took a lot of time, but I achieved exactly the same behavior. My Traceback : DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost DEBUG:urllib3.connectionpool:http://localhost:80 "POST / HTTP/1.1" 200 3138 Traceback (most

[issue41345] Remote end closed connection without response

2020-07-20 Thread Michal Arbet
Michal Arbet added the comment: I'm using Ubuntu 20.04 with dist apache2 and default settings : michalarbet@pixla:~/work$ dpkg -l | grep apache ii apache22.4.41-4ubuntu3 amd64Apache HTTP Server ii apache2-bin

[issue41345] Remote end closed connection without response

2020-07-20 Thread Ilia Androshchuk
Ilia Androshchuk added the comment: Hi Michal, Which version of operating system and apache are you running? I'll try to reproduce -- nosy: +an7e ___ Python tracker ___

[issue41345] Remote end closed connection without response

2020-07-20 Thread Michal Arbet
New submission from Michal Arbet : Hi, I'm not sure if this is really python bug, but I hope that you can check the issue. Issue is that from time to time i'm getting exception from python when sending request to server which has http keepalive option turned on. Requests send a request but