aws / graph-notebook

Library extending Jupyter notebooks to integrate with Apache TinkerPop, openCypher, and RDF SPARQL.
https://github.com/aws/graph-notebook
Apache License 2.0
720 stars 166 forks source link

[BUG] Unable to Synchronize Graph #539

Closed RonLek closed 10 months ago

RonLek commented 10 months ago

Community Note

Describe the bug I'm trying to visualize data from my Neptune DB using graph-explorer. I'm running graph-explorer in an EC2 instance within the same VPC as my Neptune cluster and creating an SSH tunnel from my local to port 8182 of this instance for connection. I can verify the connection by getting a response from https://<NEPTUNE_ENDPOINT>:8182/status from my browser.

However, the synchronization fails. The Network tab looks like the following

image

The first gremlin request gets a correct response but the second one fails with a 400. Additionally, the summary request fails due to a CORS error. Connectivity to the Neptune cluster is not a problem since the first gremlin request succeeds.

My graph has approximately 3,500 nodes and edges which I presume should not be large to cause timeouts.

Expected behavior A successful synchronization of the data.

RonLek commented 10 months ago

@michaelnchin @triggan would you know how to go about this?

triggan commented 10 months ago

Is there any reason why you're looking to use an SSH tunnel versus the built-in proxy of Graph Explorer?

What are the details of the 400 error that is coming back on the subsequent requests?

triggan commented 10 months ago

Just realized you posted this in the graph-notebook repo. Graph Explorer is a different project: https://github.com/aws/graph-explorer

RonLek commented 10 months ago

My bad, had multiple tabs open. Opening this in that repo. Thanks.