当我尝试从 Phoenix 服务器加载任何内容时,为什么 Google Chrome 出现 400 错误?

Why is Google Chrome getting 400 errors when I try to load any content from a Phoenix server?

我目前正在尝试启动一个 Phoenix 项目 运行,但是我的普通开发浏览器 (Chrome) 由于某种原因导致所有请求格式错误,并且只从服务器获取 400 .我可以在所有其他浏览器和隐身模式中看到默认启动页面,但我希望能够只使用 Chrome。

到目前为止我已经尝试过:

这是 Chrome 中我的错误的要点。

localhost/:1 GET http://localhost:4000/ 400 (Bad Request)
favicon.ico:1 GET http://localhost:4000/favicon.ico 400 (Bad Request)

这是给我带来麻烦的服务器示例:

https://github.com/phoenix-examples/hello_phoenix

有没有人以前有过这方面的经验或知道我可以尝试让 Chrome 与 Phoenix 相处融洽?

选择 Chrome > Clear Browsing Data... 下的 "since the beginning of time" 选项并再次清除所有数据修复它!