neo4j-rstats / neo4r

A Modern and Flexible Neo4J Driver
https://neo4j-rstats.github.io/user-guide/
Other
106 stars 30 forks source link

Cannot connect to Neo4j Aura #92

Closed timothyEastridge closed 2 years ago

timothyEastridge commented 2 years ago

Hello - Neo4j has release an free cloud database called Neo4j Aura, and I would like to connect from the RStudio Cloud platform to build shiny apps with a Neo4j backend.

When I try to connect using the URI provided in Neo4j Aura, I received the following error: con$ping() Error: Protocol "neo4j+s" not supported or disabled in libcurl

davidlrosenblum commented 2 years ago

Correct - Aura does not have an https api, only bolt

billmclellan commented 2 years ago

Are there any R APIs for bolt? And has anyone tried to use their Python or javascript API - would it work behind the scenes of an R package?

ColinFay commented 2 years ago

@billmclellan there's a proof of concept here: https://github.com/neo4j-rstats/boltr

deka commented 2 years ago

Hi Is http(s) feature planned ? Can we have visibilty ? Can you explain why auraDb http api is disabled ? Security concerns ? Regards

Perhaps @laeg ?

Related neo4j question an other question

timothyEastridge commented 2 years ago

Has anyone had success using Python Bolt connection within R via the reticulate package? @billmclellan

laeg commented 2 years ago

Hey folks,

Best to keep updated about the status of the HTTP API on the feedback wall: https://neo4j-aura.canny.io/auradb/p/cypher-query-via-http?boards=auradb

We have a lot of folks requesting a "provisioning API" but not the use of Cypher via HTTP.

I realise that this is the only way to interact with Aura via this library, so please upvote and describe your reason for our considerations.

Cheers, LG

laeg commented 2 years ago

Has anyone had success using Python Bolt connection within R via the reticulate package? @billmclellan

I came across this today @timothyEastridge: https://twitter.com/ifeanyidiaye/status/1539709259629346821

If I get a chance, I'll try to see if I can get it to play nice with the new GDS Client: https://github.com/neo4j/graph-data-science-client

timothyEastridge commented 2 years ago

@laeg the twitter example gave the following error: ModuleNotFoundError: No module named 'monotonic'

timothyEastridge commented 2 years ago

I was able to use Neo4j's supported Python driver to connect R to Neo4j Aura by leveraging the reticulate and neo4j packages. Here is a link to the github code:

https://github.com/timothyEastridge/Connect-to-Neo4j-Aura-from-R/

laeg commented 2 years ago

Amazing stuff @timothyEastridge! Thanks for sharing 💚