django代码400,消息错误请求版本(& # 39;& # 238; x9el *



我试图实现'安全Django Admin登录与OTP',但我现在不能登录到管理面板。我从所有地方删除了这个应用程序,但仍然不能工作。有解决办法吗?

[05/Feb/2021 21:39:49] code 400, message Bad request version ('îx9elx00$x13x01x13x03x13x02À+À/̨̩À,À0À')
[05/Feb/2021 21:39:49] You're accessing the development server over HTTPS, but it only supports HTTP.

如果你是在开发版本,你不能在你的本地主机上使用https连接,所以只要把你的URL转到http,错误就会消失。例:

https://localhost: 8000

https://127.0.0.1:8000

把它改成

http://localhost: 8000

http://127.0.0.1:8000

也可能在127.0.0.1:8000

最新更新