Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-29-2019 08:43 AM
This post describes common issues users may encounter in connecting Halin to a Neo4j database, and how to address them.
Halin is a JavaScript application that executes inside of your browser, and uses the Neo4j Official JavaScript driver to communicate via the bolt protocol with your database. In other words, Halin is just a javascript client of a Neo4j database, but there are some special considerations because it runs in the browser, and is subject to the browser's security model.
If this article does not solve your issue, make sure also to check out Troubleshooting Connection Issues to Neo4j, which is intended for similar issues.
Users can run halin via https://halin.graphapp.io as a web page, they can run it as a graph app in Neo4j Desktop, or on their own inside of a company. How Halin is running for you has some consequences to how you connect to Neo4j, because of the browser security model.
Because Halin runs in your browser, it can see any hostname or IP address that your machine (where you are running Halin) can reach. As a result, you can use the hostname "localhost" to refer to your local machine (for example if you are running a Neo4j Desktop instance), or if you are running Halin behind a corporate firewall, you can use an internal hostname such as neo4j.dev.intranet
so long as your machine could normally connect to that address.
Halin will ask you to select whether or not to encrypt the connection. This is an important choice.
An important note is that the server must be willing to accept either encrypted or unencrypted bolt that your Halin connection is requesting. This interacts with Neo4j's dbms.connector.bolt.tls_level setting. Make sure to check those docs for further information.
These connection errors look something like this:
This error can have many different causes and resolutions unfortunately.
The main way users run into this is when they check the "Encrypted" box when connecting to a local Neo4j Desktop instance.
Potential causes:
dbms.connector.bolt.tls_level=REQUIRED
. The database simply will not accept unencrypted connection requests.All the sessions of the conference are now available online