Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Unable to connect to Neo4j from Master/Bolt build #14

Open
nielsthinkiq opened this issue Dec 28, 2016 · 1 comment
Open

Unable to connect to Neo4j from Master/Bolt build #14

nielsthinkiq opened this issue Dec 28, 2016 · 1 comment

Comments

@nielsthinkiq
Copy link

Probably more of a question than an issue. I downloaded and built from the master branch and observe the following:

  • It stops building at 83%, but says that it is running. Is this an issue that I need to do something about or has the building completed?
  • I am unable to connect to the Neo4j instance. I get this error:
    -- [ratpack-compute-1-5] INFO org.neo4j.ogm.drivers.bolt.request.BoltRequest - Request: MATCH (n) OPTIONAL MATCH (n)-[r0]-() DELETE r0, n with params {}
    -- [ratpack-compute-1-5] ERROR ratpack.error.internal.DefaultDevelopmentErrorHandler - exception thrown for request to /api/reload
    -- org.neo4j.ogm.exception.ConnectionException: Error connecting to graph database using Bolt: Neo.ClientError.Security.Unauthorized, The client is unauthorized due to authentication failure.
  • I cannot see that there is any information about what it is trying to connect to, whether this is an embedded database. In the build.gradle file there is a user/password combo, what should it be set to?

Thanks in advance,
Niels

@mangrish
Copy link
Contributor

@nielsthinkiq: There are some renovations going on with this project at the moment. We are hoping to make it a bit more simple to get started.

Regarding the 83% build issue. That's just how Gradle works. When you stop the server with Ctrl-C you should see it say 100% if it exists successfully.

I've removed the system variables from the build.gradle file. In order to configure this for your database you will just need to update the src/main/resources/ogm.properties file now (also updated in the documentation).

I did find an issue when running from gradle versus running from IntelliJ. I've now made this project work strictly for gradle until we complete the renovation to the project.

Let me know how you get on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants