Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-12-2021 03:32 PM
I'm trying to connect to a Neo4j instance using py2neo in a Jupyter Notebook running on Mybinder.org. See the example here:
Binder
I'll get the following error:
ConnectionUnavailable: Cannot open connection to ConnectionProfile('bolt://...')
What causes this problem and how can I work around it?
01-13-2021 02:01 PM
Any more error info?
What kind of URL and server do you have?
Which py2neo version, which neo4j version.
Does it work in a regular python shell with py2neo?
etc.
01-13-2021 11:07 PM
Neo4j server:
Operating System: CentOS Linux 8 (Core)
Neo4j: Enterprise 4.1.1
py2neo: 2020.1.1
Our Neo4j instance is publicly accessible (see https://github.com/covid-19-net/covid-19-community for details) here:
http://132.249.238.185:7474/browser/ (username: reader, password: demo)
An example Jupyter Notebook is here:
https://github.com/covid-19-net/covid-19-community/blob/master/notebooks/analyses/GraphVisualization...
You can run this notebook on MyBinder.org to reproduce the error:
https://mybinder.org/v2/gh/covid-19-net/covid-19-community/HEAD?filepath=notebooks%2Fanalyses%2FGrap...
The same notebook works fine when run locally or on the Pangeo server:
https://binder.pangeo.io/v2/gh/covid-19-net/covid-19-community/master?filepath=notebooks%2Fanalyses%...
01-23-2021 06:28 AM
Could it be incompatible python version or network visibility?
I.e. can you reach the neo4j server from your mybinder instance? perhaps they block ports outside of http(s) range?
01-24-2021 12:34 AM
Yes, thanks, it must be a blocked port.
01-13-2022 05:13 PM
Im facing the same error. How do i resolve it
All the sessions of the conference are now available online