当前位置:网站首页>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

2022-07-23 05:55:00 Honyelchak

问题

使用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

在这里插入图片描述

解决方案

  • bolt的地址改为0.0.0.0
  • 或者把dbms.default_listen_address=0.0.0.0注释解开
    在这里插入图片描述

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

在这里插入图片描述

原网站

版权声明
本文为[Honyelchak]所创,转载请带上原文链接,感谢
https://blog.csdn.net/m0_38072683/article/details/125864027