This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Timeout making ajax calls to SimpleHTTPServer from internet explorer
Type: behavior Stage: resolved
Components: Windows Versions: Python 2.7
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Andrew.Burrows, iritkatriel, r.david.murray, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2014-12-01 10:54 by Andrew.Burrows, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit Andrew.Burrows, 2014-12-01 10:54 Minimal code to reproduce the problem
Messages (3)
msg231928 - (view) Author: Andrew Burrows (Andrew.Burrows) Date: 2014-12-01 10:54
I have flask webservice running on windows, run up with `` which works fine from Chrome but when accessed with IE it sometimes fails with a timeout error. I've managed to reproduce the problem without flask which suggests there is (maybe?) some problem in the underlying Python networking code that flask is using. I've attached a simple website that displays the problem using only SimpleHTTPServer. To reproduce the problem unzip the file, cd into the directory and start the server using:

python -m SimpleHTTPServer 5001

Then visit http://localhost:5001 in Internet Explorer and it will timeout, usually within the first 20 or 30 ajax calls.

I'm using IE11 on windows 7 and python 2.7.8
msg231938 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-12-01 13:59
Why do you think this is a Python problem?  Can you reproduce it without using javascript?  Given that it works with other browsers (ie: python has no problem responding to the queries themselves) and javascript is doing the query, I think it would be much more likely to be an IE javascript bug, and hard to see how it could be a Python bug.

Also, FYI we prefer people attach text files, not zip files, to the issue.  It makes it easier for people to see what you are talking about.
msg391942 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-04-26 15:26
Closing this as Python 2.7 is past EOL and there was no followup for over 6 years. If you are still having this problem in 3.9+, and you believe it is indeed a python rather than javascript issue, please create a new issue.
Date User Action Args
2022-04-11 14:58:10adminsetgithub: 67161
2021-04-26 15:26:36iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg391942

resolution: out of date
stage: resolved
2014-12-01 13:59:00r.david.murraysetnosy: + r.david.murray
messages: + msg231938
2014-12-01 10:54:00Andrew.Burrowscreate