luminus

chrisps 2019-08-15T08:46:55.065700Z

I am having some issue with graphql/lacinia, where every access fails with a parsing error but the built-in /graphiql endpoint works as advertised. This is a project built with lein new luminus app_name +swagger +graphql +re-frame +shadow-cljs +oauth +auth-jwe +postgres

chrisps 2019-08-15T08:50:05.067300Z

I have not touched anything, the schema is as default, trying to access via re-graph (a re-frame gql-thing), fails with a {:errors [{:message The HTTP call failed., :extensions {:status 0}}]} which is not very enlightening. I’m unsure how to attack this. Any thoughts?

chrisps 2019-08-15T08:52:36.067800Z

I’ve used the [gq](https://github.com/hasura/graphqurl) to access the endpoint, but it fails with a

Introspecting schema... !
Error: GraphQL error: Failed to parse GraphQL query.
    at new ApolloError (~/.npm-packages/lib/node_modules/graphqurl/node_modules/apollo-client/bundle.umd.js:92:26)
    at ~/.npm-packages/lib/node_modules/graphqurl/node_modules/apollo-client/bundle.umd.js:1587:34
    at ~/.npm-packages/lib/node_modules/graphqurl/node_modules/apollo-client/bundle.umd.js:2007:15
    at Set.forEach (<anonymous>)
    at ~/.npm-packages/lib/node_modules/graphqurl/node_modules/apollo-client/bundle.umd.js:2005:26
    at Map.forEach (<anonymous>)
    at QueryManager.broadcastQueries (~/.npm-packages/lib/node_modules/graphqurl/node_modules/apollo-client/bundle.umd.js:2003:20)
    at ~/.npm-packages/lib/node_modules/graphqurl/node_modules/apollo-client/bundle.umd.js:2130:19
    at Object.next (~/.npm-packages/lib/node_modules/graphqurl/node_modules/zen-observable/lib/Observable.js:308:23)
    at notifySubscription (~/.npm-packages/lib/node_modules/graphqurl/node_modules/zen-observable/lib/Observable.js:130:18)