question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Encryption/trust can only be configured either through URL or config, not both

See original GitHub issue

Hi!

New BaseNeovisConfig does not have encrypted parameter. But error message somehow presume it is available.

https://neo4j-contrib.github.io/neovis.js/interfaces/BaseNeovisConfig.html

Encrypted is in OldNeoVisConfig.

https://neo4j-contrib.github.io/neovis.js/interfaces/OldNeoVisConfig.html

What will be the correct setup? Why connection to cloud Aura instance cause this error? Can I get a link to old driver for OldNeoVisConfig, so I can use https://github.com/neo4j-contrib/neovis.js/issues/227 solution? Because with 2.0.2 you cannot use old configuration file.

function draw() { var config = { containerId: "viz", neo4j: { serverUrl: "neo4j+s://ADDRESS:7687", serverUser: "neo4j", serverPassword: "PASS" },

I was able to find 1.5.0 driver, and successfully connect to my database. But I believe I should not use 2 years old driver.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13

github_iconTop GitHub Comments

3reactions
4sm-opscommented, Sep 16, 2022

thanks a lot, @thebestnom

Working config for Cloud Aura:

neo4j: {
serverUrl: "neo4j://DBNAME.databases.neo4j.io",
serverUser: "neo4j",
serverPassword: "PASS",
   driverConfig: { 
   encrypted: "ENCRYPTION_ON",
   trust: "TRUST_SYSTEM_CA_SIGNED_CERTIFICATES"
   }				
},
1reaction
4sm-opscommented, Sep 16, 2022
Screenshot 2022-09-16 at 15 34 12

neo4j:// - does not work, as encrypted: "ENCRYPTION_ON", is no longer supported, as far I understand.

could you please confirm that neovis is no longer compatible with cloud Aura?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Encryption/trust can only be configured either through URL or ...
hi first time trying to connect to a new aura db getting this message "Error: Encryption/trust can only be configured either through URL...
Read more >
How to visualize remote neo4j auradb with neovis.js?
If I use the "neo4j+s" / "neo4j+ssc" protocols, then : Encryption/trust can only be configured either through URL or config, not both.
Read more >
Troubleshooting Connection Issues to Neo4j
Configuring trust just for HTTPS is insufficient for browsers that ... Encryption/trust can only be configured either through URL or config, not both"....
Read more >
Using Neo4j Aura from Java and Spring Boot - Medium
The Neo4j Java Driver up to version 1.7.5 defaulted to “encryption is on and trust all certificates”, meaning it would even trust certificates ......
Read more >
Configure endpoints for the ASP.NET Core Kestrel web server
json file and can be overridden. If no ports are specified, Kestrel binds to http://localhost:5000 . Specify URLs using the: ASPNETCORE_URLS ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found