Errors in runserver command: Django 1.9.6

22 views
Skip to first unread message

palansh agarwal

unread,
May 28, 2016, 5:28:21 AM5/28/16
to Django users
Hello all,

I was trying to setup my django project on amazon ec2 instance. When I do "python manage.py runserver 0.0.0.0:8000" and try to access the website from my browser, I get the following stack trace:

Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
    self.finish_response()
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 131, in finish_response
    self.close()
  File "/usr/lib/python2.7/wsgiref/simple_server.py", line 33, in close
    self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'


Any hep would be appreciated.

Thanks
Palansh Agarwal

Reply all
Reply to author
Forward
0 new messages