mybinder.org-deploy icon indicating copy to clipboard operation
mybinder.org-deploy copied to clipboard

Neo4j connections don't work anymore in mybinder, network restrictions?

Open marco-brandizi opened this issue 2 years ago • 3 comments

Hi all and thanks for providing mybinder!

This notebook is using our public Neo4j/cypher endpoint to get some data and show them in a graph.

While it used to work and it works from my laptop, when I try to run it into mybinder, now I get an error like:

ServiceUnavailable: Couldn't connect to knetminer-neo4j.cyverseuk.org:7687 (resolved to ('149.155.192.94:7687',)):
Timed out trying to establish connection to ResolvedIPv4Address(('149.155.192.94', 7687))

Is it because mybinder has port/protocol restrictions? As far as I know, the BOLT protocol is based on WebSockets and on TCP. Is there a way to make it working?

Thanks in advance.

marco-brandizi avatar May 26 '22 12:05 marco-brandizi

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar May 26 '22 12:05 welcome[bot]

ServiceUnavailable: Couldn't connect to knetminer-neo4j.cyverseuk.org:7687 (resolved to ('149.155.192.94:7687',)):

Port 7687 isn't allowed: https://github.com/jupyterhub/mybinder.org-deploy/blob/7638b5a21ca102eeed51a1fa5d3557256ccb7d5c/mybinder/values.yaml#L61-L71

mybinder.org is a federation of servers, so it's possible you used a different server with a non-standard network policy in the past.

manics avatar May 26 '22 13:05 manics

Hi @manics, good to know, thank you. I would suggest adding this port, cause Neo4j is ever more used.

marco-brandizi avatar May 26 '22 14:05 marco-brandizi