Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deploying a Neo4j app on Heroku #320

Open
kapso opened this issue Jul 30, 2018 · 2 comments
Open

Error deploying a Neo4j app on Heroku #320

kapso opened this issue Jul 30, 2018 · 2 comments

Comments

@kapso
Copy link

kapso commented Jul 30, 2018

I am getting the following error when deploying my Neo4j app on Heroku -

NoMethodError: undefined method `zero?' for nil:NilClass

This is the neo4j.yml

staging:
  type: bolt
  url: <%= ENV['GRAPHENEDB_BOLT_URL'] %>
GRAPHENEDB_BOLT_URL = bolt://user:password@server:24786

Runtime information:

Neo4j database version: Neo4j Community Edition 3.4.4
neo4j gem version: 9.3.0
neo4j-core gem version: 8.1.4


UPDATE: when I switch to http as the protocol, I am able to start the Heroku app and everything works.

@cheerfulstoic
Copy link
Contributor

Hello @kapso. The problem is likely the Bolt protocol over SSL. That is supported in the master brand of this gem, but it hasn't been released yet because there was an issue found with it. I'm not sure when it will be able to be released, though you're welcome to try it.

As you found you can still use http just fine

@kapso
Copy link
Author

kapso commented Jul 30, 2018

@cheerfulstoic thanks for the quick response, will use http for now. Look forward to the bolt release/fixes. Thanks.

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

No branches or pull requests

2 participants