Giter Site home page Giter Site logo

Comments (2)

neurofoo avatar neurofoo commented on May 13, 2024

I'm getting a similar error. Using neo4j-ee 3.2.0 running as a causal cluster in Mesosphere DC/OS.

Compiled code into a .jar and placed in my plugins folder. Added the required directive to the neo4j.conf file.

On restarting the cluster, I get in my logs:

2017-07-07 21:23:42.317+0000 INFO  Mounted unmanaged extension [org.neo4j.graphql] at [/graphql]
2017-07-07 21:23:43.112+0000 WARN  The following warnings have been detected with resource and/or provider classes:
  WARNING: A sub-resource method, public final javax.ws.rs.core.Response org.neo4j.graphql.GraphQLResource.get(java.lang.String,java.lang.String), with URI template, "/", is treated as a resource method
  WARNING: A sub-resource method, public final javax.ws.rs.core.Response org.neo4j.graphql.GraphQLResource.options(javax.ws.rs.core.HttpHeaders), with URI template, "/", is treated as a resource method
  WARNING: A sub-resource method, public final javax.ws.rs.core.Response org.neo4j.graphql.GraphQLResource.executeOperation(java.lang.String), with URI template, "/", is treated as a resource method

I am able to execute graphql commands, e.g.,

WITH '{ Person (username:"test") { id } }' as query, {} as params
CALL graphql.execute(query,params) YIELD result
UNWIND result.Person as p
RETURN p.id

However, if I use the recommended electron graphiql app or just go to localhost:7474/graphql, I get a 500 error code. NB: localhost because I have a connection to the db ssh tunneled to my dev machine.

from neo4j-graphql.

linonetwo avatar linonetwo commented on May 13, 2024

This is probably caused by:

  1. Method should be GET, though I don't understand why neo4j-graphql use GET instead of POST
  2. there should be at least a {} in the Query Variable, or it will be an empty string, which is not a JSON

from neo4j-graphql.

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.