Firefox无法建立连接 - websocket和heroku

问题描述 投票:0回答:1

我在heroku上遇到websocket连接问题。

不知道问题出在哪里,因为在其他浏览器上它可以工作。类似的问题在这里:

Firefox Websocket security issue

如果我理解正确:

与Heroku和后端相关的东西缺少关于安全性的问题。只有Firefox关心这个问题,其他浏览器不关心。可能我可以在firefox上以某种方式忽略此错误并允许连接。

下面是截图The connection used to fetch this resource was not secure - 究竟是什么意思以及如何调试这里缺少的内容和位置?

enter image description here

security firefox heroku websocket actioncable
1个回答
1
投票

经过研究,它的原因是Firefox的代理。

如果有人会遇到类似问题,请执行以下操作:

  1. 打开Firefox
  2. 转到about:preferences
  3. 打开网络设置
  4. 配置代理访问Internet并确保存在“无代理”
© www.soinside.com 2019 - 2024. All rights reserved.