Django WSGIRequestHandler error
So I was playing with a small Django application the other night (a weblog, if you care) and found that I was unable to connect to the development server.
Firefox would tell me:
The connection was interrupted
The connection to 192.168.1.4:8000 was interrupted while the page was loading.
And the development server would report the following error:
AttributeError: WSGIRequestHandler instance has no attribute ‘path’
What was the problem? Heh, it was me being stupid.
It turns out I was accidentally typing https://192.168.1.4:8000 instead of http://192.168.1.4. I’m used to using SSL for connecting to my home server and I guess I did that by accident when connecting to the Django runserver.
So if you get that error, check to make sure you aren’t accidentally trying to use SSL.
March 1st, 2008 at 1:54 pm
THANK YOU :)