You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering issues with importing a GraphML file into AWS Neptune using both the provided tooling and direct Gremlin queries. Below are the steps I followed and the errors I encountered:
I'm unsure on Issue 1 - I would have to recreate that GraphML file and debug the graphml2csv tool to determine why that is happening. For issue 2, it is likely because this requires an S3 VPC Endpoint on the VPC where your Neptune cluster is hosted. Neptune does not have a public IP address attached to it, so it has no way to route requests directly through an IGW to the Internet (and S3 is a public IP-space hosted service). In order for Neptune to have access to S3, it requires an S3 VPC Endpoint (recommended) or a NAT Gateway.
Also ensure that the pre-signed URLs you are creating for S3 are correctly generated using the s3 presigned API. You may have included an abbreviated URL for example purposes, but the example you provide is missing additional parameters that you would normally see on a presigned URL (i.e. signature).
Thank you @triggan , about the second use case, it was my bad not configuring the VPC Endpoint. It would be great if g.io would support "s3://" natively.
For the first use case please use the attached file dep.txt
Hello!
I am encountering issues with importing a GraphML file into AWS Neptune using both the provided tooling and direct Gremlin queries. Below are the steps I followed and the errors I encountered:
Environment:
Issue 1: Tooling Error
dss-cookbook
.mvn dependency:tree -DoutputType=graphml -DoutputFile=dep.xml
to generate a GraphML file (dep.xml
)../graphml2csv.py -i dep.xml
.KeyError('d0')
ingraphml2csv.py
.Issue 2: Direct Query Timeout Error
dep.xml
file to Amazon S3.curl -X POST -d '{"gremlin":" g.io(\"https://bucket.s3.eu-central-1.amazonaws.com/dep.xml?X-Amz-Algorithm=AWS4-HMAC\").read().iterate()"}' http://endpoint:8182/gremlin
504 Gateway Time-out
response, indicating that the server did not respond in time.I would appreciate your assistance in resolving these issues. Please let me know if you need any further information or clarification.
Best regards,
Andrii
The text was updated successfully, but these errors were encountered: