Channels: Django server doesn't start

Created on 18 Nov 2017  路  5Comments  路  Source: django/channels

After creating the Django Project python manage.py runserver starts the server, but no output on command line appears (except GET commands). After creating an app and running the server it doesn't produces any output. Also, the server isn't started.

  • OS : Windows 10
  • Python : 2.7 and 3.6
  • Django: 1.11.3

  • Console Output: Performing system checks...
    Wait time (around 30 minutes)

  • Broswer Output: Firefox can鈥檛 establish a connection to the server at localhost:8000.

Expected Behavior:

Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.

November 16, 2017 - 15:50:53
Django version 1.11, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

and server starts working

Current Behavior:

Performing system checks...

and server doesn't starts.

Most helpful comment

@fakabbir did you ever find a fix?

All 5 comments

@fakabbir did you ever find a fix?

How did you fixed it?

any solution?

Hi, apologies for missing previous asks. I'm not sure but there were errors in my code and I wanted to see error over the log (not a blank log). Removing the error or creating a new project with different version helped me out.

One solution is to upgrade Django

pip install django --upgrade

Oftentimes one will get other unrelated issues to solve that are linked with the upgrade but once all all fixed the server should run just fine.

Was this page helpful?
0 / 5 - 0 ratings