首页 > 其他分享 >Uncaught (in promise) Neo4jError: WebSocket connection failure. Due to security constraints in your

Uncaught (in promise) Neo4jError: WebSocket connection failure. Due to security constraints in your

时间:2023-01-03 12:03:13浏览次数:42  
标签:WebSocket 0.0 Neo4jError Due failure connection neo4j your


问题

使用​​vue-neo4j​​​连接​​neo4j​​数据库时,控制栏出现以下问题:

  • neo4j版本为4.4.5

​Uncaught (in promise) Neo4jError: 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​

Uncaught (in promise) Neo4jError: WebSocket connection failure. Due to security constraints in your_Common

解决方案

  • 将​​bolt​​​的地址改为​​0.0.0.0​
  • 或者把​​dbms.default_listen_address=0.0.0.0​​注释解开

查看启动日志,看是否修改成功!!!

Uncaught (in promise) Neo4jError: WebSocket connection failure. Due to security constraints in your_websocket_02


标签:WebSocket,0.0,Neo4jError,Due,failure,connection,neo4j,your
From: https://blog.51cto.com/u_13758447/5985136

相关文章

  • IT22441: DB2 INSTANCE MAY TRAP DUE TO CORRUPTED FCM BUFFER
    IT22441:DB2INSTANCEMAYTRAPDUETOCORRUPTEDFCMBUFFERhttps://www.ibm.com/mysupport/s/defect/aCI3p000000kFEH/dt158261?language=en_USDescriptionOn ......
  • java实现websocket的五种方式
    1.前言2.第一种使用Java原生代码实现websocket2.1.首先在项目中引入依赖2.2.创建WebsocketServer类2.3.启动SocketServer2.4.测试websocketserver3.使......
  • Nginx 代理webSocket时60s自动断开, 保持长连接
    利用nginx代理websocket的时候,发现客户端和服务器握手成功后,如果在60s时间内没有数据交互,连接就会自动断开,如下图:为了保持长连接,可以采取来两种方式.1.nginx.conf文件里locati......
  • websocket 多个nginx转发
    官网http://nginx.org/en/docs/http/websocket.html第一个nginxserver{listen6794;root/mnt/dist;location/analyze/{prox......
  • Nginx 代理websocket连接上限
    一.结论 1.nginx最多只能维持(65535*后端服务器IP个数)条websocket的长连接,如果后端websocket服务器IP只有一个,那么就只能最多支持65535条连接。瓶颈就产生在了nginx上......
  • websocket 多个nginx转发
    第一个nginxserver{listen6794;root/mnt/dist;location/analyze/{proxy_passhttp://ip:port;......
  • websocket demo
    js====>nodewstest.jsvarws=require('nodejs-websocket');constPORT=3000;varserver=ws.createServer((conn)=>{console.log("链接成功");conn......
  • vue中 WebSocket connection to 'ws://192.168.10.103:8080/ws' failed 问题的解决
    首先吧 vue中WebSocketconnectionto'ws://192.168.10.103:8080/ws'failed这个报错它不会影响你代码的运行,但是报错一定程度上影响页面的美观度。   下面我们......
  • websocket
    /***websocket工具类*WSocket.js*/classWSocket{constructor(baseUrl){this.ws=null;//this.timeout=10000;this.timeoutObj......
  • sb+websocket实例
    1、pom.xml<dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-star......