librelist archives

« back to archive

Flask freezes when visiting site with IE

Flask freezes when visiting site with IE

From:
Dennis Scheiba
Date:
2014-08-29 @ 08:40
Hi,

 

I just finished most of my app and tested it with IE and I can visit 2-3
sites with the IE, but after some time Flask will not respond anymore and
the site will just keep loading infinitely (even when now visiting trough
Chrome/Opera). I  don't even get a GET Request in the console of my Flask
app. I don't have any Problems with Chrome/Opera.

The only thing that works is to restart flask and avoid visiting the site
with the IE (in my case Version 11).

 

I primary use sqlite3 requests with render_template, url_for and one jsonify
function within my app.

 

I use Flask 0.10.1 on Python 3.4 with Windows 7 64bit.

 

 

Thank you in advance! :)

 

Best

Dennis

Re: [flask] Flask freezes when visiting site with IE

From:
Piyush Katariya
Date:
2014-08-29 @ 11:55
I experienced the same issue with Python 2.7 on all versions of
IE.
On Aug 29, 2014 2:14 PM, "Dennis Scheiba" <Dennis.Scheiba@gmx.de> wrote:

> Hi,
>
>
>
> I just finished most of my app and tested it with IE and I can visit 2-3
> sites with the IE, but after some time Flask will not respond anymore and
> the site will just keep loading infinitely (even when now visiting trough
> Chrome/Opera). I  don’t even get a GET Request in the console of my Flask
> app. I don’t have any Problems with Chrome/Opera.
>
> The only thing that works is to restart flask and avoid visiting the site
> with the IE (in my case Version 11).
>
>
>
> I primary use sqlite3 requests with render_template, url_for and one
> jsonify function within my app.
>
>
>
> I use Flask 0.10.1 on Python 3.4 with Windows 7 64bit.
>
>
>
>
>
> Thank you in advance! :)
>
>
>
> Best
>
> Dennis
>

Re: [flask] Flask freezes when visiting site with IE

From:
Dorian Hoxha
Date:
2014-08-29 @ 11:58
.... I think too (it was long time ago). Probably IE tries to request
something, and flask is single threaded, so everything hangs.


On Fri, Aug 29, 2014 at 1:55 PM, Piyush Katariya <corporate.piyush@gmail.com
> wrote:

> I experienced the same issue with Python 2.7 on all versions of
> IE.
> On Aug 29, 2014 2:14 PM, "Dennis Scheiba" <Dennis.Scheiba@gmx.de> wrote:
>
>> Hi,
>>
>>
>>
>> I just finished most of my app and tested it with IE and I can visit 2-3
>> sites with the IE, but after some time Flask will not respond anymore and
>> the site will just keep loading infinitely (even when now visiting trough
>> Chrome/Opera). I  don’t even get a GET Request in the console of my Flask
>> app. I don’t have any Problems with Chrome/Opera.
>>
>> The only thing that works is to restart flask and avoid visiting the site
>> with the IE (in my case Version 11).
>>
>>
>>
>> I primary use sqlite3 requests with render_template, url_for and one
>> jsonify function within my app.
>>
>>
>>
>> I use Flask 0.10.1 on Python 3.4 with Windows 7 64bit.
>>
>>
>>
>>
>>
>> Thank you in advance! :)
>>
>>
>>
>> Best
>>
>> Dennis
>>
>

Re: [flask] Flask freezes when visiting site with IE

From:
Lars Hansson
Date:
2014-09-04 @ 05:40
Don't use the development server in production. Say it all together now...

On Fri, Aug 29, 2014 at 7:58 PM, Dorian Hoxha <dorian.hoxha@gmail.com> wrote:
> .... I think too (it was long time ago). Probably IE tries to request
> something, and flask is single threaded, so everything hangs.
>
>
> On Fri, Aug 29, 2014 at 1:55 PM, Piyush Katariya
> <corporate.piyush@gmail.com> wrote:
>>
>> I experienced the same issue with Python 2.7 on all versions of IE.
>>
>> On Aug 29, 2014 2:14 PM, "Dennis Scheiba" <Dennis.Scheiba@gmx.de> wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> I just finished most of my app and tested it with IE and I can visit 2-3
>>> sites with the IE, but after some time Flask will not respond anymore and
>>> the site will just keep loading infinitely (even when now visiting trough
>>> Chrome/Opera). I  don’t even get a GET Request in the console of my Flask
>>> app. I don’t have any Problems with Chrome/Opera.
>>>
>>> The only thing that works is to restart flask and avoid visiting the site
>>> with the IE (in my case Version 11).
>>>
>>>
>>>
>>> I primary use sqlite3 requests with render_template, url_for and one
>>> jsonify function within my app.
>>>
>>>
>>>
>>> I use Flask 0.10.1 on Python 3.4 with Windows 7 64bit.
>>>
>>>
>>>
>>>
>>>
>>> Thank you in advance! :)
>>>
>>>
>>>
>>> Best
>>>
>>> Dennis
>
>

Re: [flask] Flask freezes when visiting site with IE

From:
digwtx
Date:
2014-09-04 @ 07:14
maybe you could find something help here:

http://stackoverflow.com/questions/8180220/ie9-hangs-local-flask-instance

在 2014-08-29 04:40:23,"Dennis Scheiba" <Dennis.Scheiba@gmx.de> 写道:


Hi,

 

I just finished most of my app and tested it with IE and I can visit 2-3 
sites with the IE, but after some time Flask will not respond anymore and 
the site will just keep loading infinitely (even when now visiting trough 
Chrome/Opera). I  don’t even get a GET Request in the console of my Flask 
app. I don’t have any Problems with Chrome/Opera.

The only thing that works is to restart flask and avoid visiting the site 
with the IE (in my case Version 11).

 

I primary use sqlite3 requests with render_template, url_for and one 
jsonify function within my app.

 

I use Flask 0.10.1 on Python 3.4 with Windows 7 64bit.

 

 

Thank you in advance! :)

 

Best

Dennis

Re: [flask] Flask freezes when visiting site with IE

From:
marty mcmillan
Date:
2014-09-04 @ 08:25
How do I unsubscribe
On Sep 4, 2014 3:18 AM, "digwtx" <digwtx@163.com> wrote:

> maybe you could find something help here:
>
> http://stackoverflow.com/questions/8180220/ie9-hangs-local-flask-instance
>
> 在 2014-08-29 04:40:23,"Dennis Scheiba" <Dennis.Scheiba@gmx.de> 写道:
>
> Hi,
>
>
>
> I just finished most of my app and tested it with IE and I can visit 2-3
> sites with the IE, but after some time Flask will not respond anymore and
> the site will just keep loading infinitely (even when now visiting trough
> Chrome/Opera). I  don’t even get a GET Request in the console of my Flask
> app. I don’t have any Problems with Chrome/Opera.
>
> The only thing that works is to restart flask and avoid visiting the site
> with the IE (in my case Version 11).
>
>
>
> I primary use sqlite3 requests with render_template, url_for and one
> jsonify function within my app.
>
>
>
> I use Flask 0.10.1 on Python 3.4 with Windows 7 64bit.
>
>
>
>
>
> Thank you in advance! :)
>
>
>
> Best
>
> Dennis
>
>