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.

Neovis.js -Neo4j driver is configured to use insecure WebSocket on a HTTPS web page

My Neo4j browser works well and I tried to develop it with noevis.js.
My web server is using SSL, so I connect the html page with HTTPS.
When I connect test.html, there is an error like below.

"Neo4j driver is configured to use insecure WebSocket on a HTTPS web page. WebSockets might not work in a mixed content environment. Please consider configuring driver to use encryption."

"[blocked] The page at https://xxxx/test.html was not allowed to run insecure content from ws://xxxxx:7687/."

If I change my webserver config with "no SSL", there is no error. neovis.js works well.
When I configure SSL, how should I configure in js config.
How can I configure server_url as bolt with SSL?

It was solved. There is a solution in the manual.
Please, add the below value in the config
"encrypted: "ENCRYPTION_ON"

2 REPLIES 2

Probably better as a github issue on neovis.

Did you use a neo4j+s:// or bolt+s:// connection URL to your database?

the separate config option should no longer be used.

Link to manual??