Neo4J: N/A: WebSocket connection failure.

扶醉桌前 提交于 2019-12-18 09:43:15

问题


G'day. Installed neo4j (v3.0.5 according to the browser) on AWS (ubuntu). No matter what i try, when i connect to the db i get this error:

"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"

Tried making sure the relevant connections to bolt etc are open... but problem persists. Anyone got any idea?


回答1:


After a day of searching, it turns out that the default security policy from EC2 in AWS doesn't include the port for bolt (7687). Had to add this manually to the security policy rules (inbound) for this EC2 instance.

Also, since this may come up in future searches for someone, the default password for Neo4J in AWS is the name of the instance ID.



来源:https://stackoverflow.com/questions/45206816/neo4j-n-a-websocket-connection-failure

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!