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

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

问题描述

今天,我在Windows中下载neo4j-community-3.2.0,当我启动服务器时,我在浏览器中遇到一个问题,在neo4j-community-3.1.2中遇到了这个问题,我已经勾选了设置中不使用Bolt"选项解决了该问题.但是在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天全站免登陆