cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Self-Signed Certificates Break Websockets

neo4j: 3.4.3

works with a let’s encrypt certificate though

ServiceUnavailable: 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 ACCEPTED SOLUTION

Solution is to approve the self-signed certificate using the port that the websockets server is querying - in this case the bolt port :7687

So browsing to https://10.x.x.x:7687/browser/ and approving the certificate exception resolves the issue.

View solution in original post

1 REPLY 1

Solution is to approve the self-signed certificate using the port that the websockets server is querying - in this case the bolt port :7687

So browsing to https://10.x.x.x:7687/browser/ and approving the certificate exception resolves the issue.