johnnadratowski / golang-neo4j-bolt-driver

Golang Bolt driver for Neo4j
MIT License
213 stars 72 forks source link

Connection issues #38

Closed jenmud closed 6 years ago

jenmud commented 6 years ago

I have tried your library out and even followed your examples, and consistently get the following error.

panic: An error occurred initializing connection
        An error occurred decoding ack failure message response
                Couldn't read expected bytes for message length. Read: 0 Expected: 2.
Internal Error(*errors.errorString):EOF

I am running the latest Neo4j v3.3.1

Your assistance will be much appropriated.

jenmud commented 6 years ago

The problem was authentication. I added in the username and password and all started working. Perhaps a more useful error would help.