Code Monkey home page Code Monkey logo

Comments (5)

Kai-Chen avatar Kai-Chen commented on July 3, 2024

At some point in the 2.x series releases of Neo4j, the default configuration has changed to require login credential for all REST connections. This is probably what you're seeing. I don't think in the README there is an instruction to run sbt test. The closest I can think of is running sbt test:console. But if you do want to run sbt test, I would recommend adding the Neo4j credentials in BaseAnormCypherSpec so the tests can connect to your Neo4j server.

Sorry about the cryptic error message; it's one of the few drawbacks of a streaming transaction endpoint, which won't be able to use proper HTTP response status code to signal error (so even an error is transmitted using a 200 response). Hopefully when we add support for Play 2.5 and have to rewrite json parsing we can add some better diagnostics message on error.

Btw, what's the molecule in your avatar? adenine or something like that? Very neat.

from anormcypher.

foofighter2146 avatar foofighter2146 commented on July 3, 2024

@sheldon-white If you have installed Neo4j locally and use it only for testing and playing around with, disable auth in neo4j.confbefore running the server for the first time by uncommenting the line

dbms.security.auth_enabled=false

You should not do this if you use a database with security issues. Then you should add credentials to BaseAnormCypherSpec like Kai-Chen wrote.

@Kai-Chen Maybe you could add these hints to README.md?

from anormcypher.

Kai-Chen avatar Kai-Chen commented on July 3, 2024

Documentation added. Thanks!

from anormcypher.

sheldon-white avatar sheldon-white commented on July 3, 2024

Thanks for the responses, I'll take a look.
(The molecule is called Indole. When very dilute it smells like Jasmine. In concentrated form it smells totally repulsive, like feces...)

from anormcypher.

Kai-Chen avatar Kai-Chen commented on July 3, 2024

See issue #61 also.

from anormcypher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.