WebSocket 连接失败.由于您的网络浏览器的安全限制 [英] WebSocket connection failure. Due to security constraints in your web browser

查看:146
本文介绍了WebSocket 连接失败.由于您的网络浏览器的安全限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我在windows中下载neo4j-community-3.2.0,当我启动服务器时,我在浏览器中遇到了一个问题,我在neo4j-community-3.1.2中遇到了这个问题,我已经通过勾选不要在设置中使用螺栓"选项解决了这个问题.但是在 neo4j-community-3.2.0 中,我看不到不要使用 Bolt"选项,我不知道该怎么做.

Today I download neo4j-community-3.2.0 in windows, when i start the server, i meet one problem in browser, i meet this problem in neo4j-community-3.1.2 and i had solved it by Ticking the "Do not use Bolt" option in settings solved the issue. But in neo4j-community-3.2.0 , i can't see "Do not use Bolt" option ,and i don't know how to do.

不适用:WebSocket 连接失败.由于 Web 浏览器的安全限制,此 Neo4j 驱动程序无法找到失败的原因.请使用您的浏览器开发控制台来确定失败的根本原因.常见原因包括数据库不可用、使用错误的连接 URL 或临时网络问题.如果您启用了加密,请确保您的浏览器配置为信任 Neo4j 配置使用的证书.WebSocket readyState 是:3

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

推荐答案

  1. 在浏览器齿轮的左下角,选择不使用螺栓.
  2. 打开您的 ${NEO4J_HOME}/conf/neo4j.conf 文件和 编辑螺栓设置.只需取消注释这一行 dbms.connector.bolt.address=0.0.0.0:7687
  3. 更改 Neo4j 的版本
  4. 检查你的JDK版本,使用JDK1.8
  1. In the lower left corner of the browser gear, select do not use bolt.
  2. Open your ${NEO4J_HOME}/conf/neo4j.conf file and edit the bolt settings. It is just about uncommenting this line dbms.connector.bolt.address=0.0.0.0:7687
  3. Change the version of Neo4j
  4. Check your JDK version, use JDK1.8

这篇关于WebSocket 连接失败.由于您的网络浏览器的安全限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆