当前位置:   article > 正文

Neo4j连接 (Connect to Neo4j) 报错_serviceunavailable: websocket connection failure.

serviceunavailable: websocket connection failure. due to security constraint

问题: Connect to Neo4j报错: 

  1. ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web
  2. browser, the reason for the failure is not available to this Neo4j Driver. Please use your
  3. browsers development console to determine the root cause of the failure. Common reasons
  4. include the database being unavailable, using the wrong connection URL or temporary network
  5. problems. If you have enabled encryption, ensure your browser is configured to trust the
  6. certificate Neo4j is configured to use. WebSocket `readyState` is: 3

打开浏览器后台提示报错信息:

WebSocket connection to 'ws://xxxx:7687/' failed: Establishing a tunnel via proxy server failed.

错误原因:

浏览器使用了代理服务器,因此导致请求失败

解决方案:

更改浏览器代理服务器设置,将请求加入白名单,不走代理服务器

更改路径:打开Internet属性面板,在”连接”页签中,点击“局域网设置”--->点击“高级”---->在"例外"的文本框中添加"bolt://*",保存即可。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/161160?site
推荐阅读
相关标签
  

闽ICP备14008679号