stellasia / neomap

A Neo4j Desktop application to visualize nodes with geographic attributes on a map.
GNU General Public License v3.0
106 stars 13 forks source link

Unable to connect to remote graph #40

Open twistpose opened 4 years ago

twistpose commented 4 years ago

Connecting to a local graph works fine.

When connecting to a remote graph, it's not possible to select any node labels from NeoMap. Any queries results in the error:

Invalid cypher query. Fix your query and try again

Neo4jError: Unsupported authentication token, missing key `credentials`

The remote server is using a different port than 7687 for bolt, but the correct port is used in the connect URL. The active remote connection opens in the Neo4j Desktop and works fine.

stellasia commented 4 years ago

@twistpose , which kind of credentials are you using? The user/password works fine for me when connecting to a neo4j sandbox, but it's likely not to work with Kerberos authentication.

twistpose commented 4 years ago

@stellasia I'm also using username/password. It works fine for me as well when connecting to a local neo4j sandbox, but I get this error when connecting to a remote neo4j-server. The remote server is not using port 7687 for bolt, but I have specified this port in the connect URL.

stellasia commented 4 years ago

@twistpose , then I don't understand, where are you setting the port? It is supposed to be automatic if you use the app within Neo4j Desktop.

twistpose commented 4 years ago

@stellasia The port is set in the projects-tab (Add Graph). The connect URL (bolt://123.123.123.123:9999) where 9999 is the port.

The connection works fine when starting Neo4j Browser from the project, but the Neomap app gives results in the error.