I am working on a wagtail project(like django-cms) I get this error when I run python3 manage.py runserver 0.0.0.0:8000
code 400, message Bad request syntax
You're accessing the development server over HTTPS, but it only supports
I had changed SECURE_SSL_REDIRECT=FALSE and tested it still i get this same error. I had disabled cache in chrome.
I had deactivated chorme caching in registry by following steps.
Deactivate Chrome Cache in the Registry
Open Registry (Start -> Command -> Regedit)
Search for: HKEY_CLASSES_ROOT\ChromeHT
Change the part after ...chrom.exe" to this value: –disable-application- cache –media-cache-size=1 –disk-cache-size=1 — "%1"
Example: "C:\Program Files (x86)\Google\Chrome\Applic
me.exe" - disable-application-cache –media-cache-size=1 –disk-cache-size=1 — "%1"
I had also tried disable cache from chrome developer tools network -disable cache.
I had also tried by clearing cache from hsts on chrome.
I had also tried from incognito window on chrome. But still I get the same error
It is an Ubuntu machine on AWS(accessed by putty from windows pc).
I access from outside (windows pc - local pc )through http://54.23x.9x.17:8000
I am not able to resolve this error.
I had tried on some other machine. I got the following error on console for Linux Ubuntu
it is changing to https instead of http and I got "GET / HTTP/1.1" 301 0 on console window
Please help me in resolving this error.
With Many Thanks, Bharath AK