Skip to content

SSL handshake freeze randomly #64

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

Open
zatarus opened this issue Oct 29, 2017 · 3 comments
Open

SSL handshake freeze randomly #64

zatarus opened this issue Oct 29, 2017 · 3 comments

Comments

@zatarus
Copy link

zatarus commented Oct 29, 2017

Versions:

Django 1.9.7
Python 2.7.9
Django-sslserver 0.20
Safari 10.1.2

running server with both --nothread and --noreload options to keep it simple.

When too many consequent requests, last request freeze at point:
self._sslobj.write(data)
That is from Python's ssl.py.

Closing the browser doesn't let it go and if I use Firefox instead, it waits about 3 seconds and resolves the freeze at the server side.

Unfortunately, I can not reproduce with exact steps, it appears only when I reload the page every second. To keep going, I have to stop and run the server again.

@jbub
Copy link

jbub commented Dec 8, 2017

Same thing here, im on Chrome.

@scamper07
Copy link

Hi,
Even i'm facing this issue. Once in a while server hangs. In this state i see that the socket is stuck in ESTABLISHED state and the connection doesn't break and only way to recover is to restart the server.

As a preventive method, is there any way to set timeout in django-sslserver?

@johnthagen
Copy link
Contributor

Perhaps related to #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants