Skip to content
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

runsslserver localhost:8000 hangs #96

Open
Madoshakalaka opened this issue Jan 1, 2020 · 4 comments
Open

runsslserver localhost:8000 hangs #96

Madoshakalaka opened this issue Jan 1, 2020 · 4 comments

Comments

@Madoshakalaka
Copy link

python manage.py runsslserver localhost:8000 will print out the following

Validating models...

System check identified no issues (0 silenced).
January 01, 2020 - 01:13:05
Django version 2.1.1, using settings 'drumout.settings'
Starting development server at https://localhost:8000/
Using SSL certificate: C:\Users\Matt\.virtualenvs\drumout-imUlFA1b\lib\site-packages\sslserver\certs\
development.crt
Using SSL key: C:\Users\Matt\.virtualenvs\drumout-imUlFA1b\lib\site-packages\sslserver\certs\developm
ent.key
Quit the server with CTRL-BREAK.

Yet it won't respond to any request from chrome browser and the request will time out.

If I use 127.0.0.1:8000, the problem resolves.


My environment:

python 3.6.3
django 2.1.1
windows 10

@Madoshakalaka
Copy link
Author

Update: 127.0.0.1:8000 would also hang sometimes. Seems like restarting chrome helps.

@Madoshakalaka
Copy link
Author

I think it has nothing to do with localhost or 127.0.0.1, It's just #64 #88 , the server intermittently freezes.

@ArthurCore
Copy link

Hi, I had the same problem with the chrome browser.
I solved this problem in the following way.

  1. Delete all caches in the chrome browser
  2. Restarting the Django server
  3. Restart Chrome Browser

@Madoshakalaka
Copy link
Author

@ArthurCore thanks!

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

2 participants