Comments (9)
Thanks, @rrmerugu! I'll read through that documentation to see if that will help me.
from invana-studio.
Hey @Donny3000 , please check here #73 for new instructions. The project is in the middle of design transition phase. Apologies for the poor documentation. Will fix it soon.
from invana-studio.
Thanks, @rrmerugu for your prompt reply and incredible work on this great project! I took look at #73 and it all made sense to me. But, I seem to be getting the same error message/pop-up. To be clear these are the steps I'm performing:
- docker run -p 8000:8000 -d -e GREMLIN_SERVER_URL=ws://localhost:8182/gremlin --name invana-engine invanalabs/invana-engine
- docker run -p 8888:8888 -d --name graph-explorer invanalabs/graph-explorer
- Then, point my browser to http://localhost:8888
Is this the correct sequence/steps to perform?
from invana-studio.
I see, in this case, the first thing you shall debug is whether Invana Engine GraphQL is configured correctly or not. Do a simple query by going to http://localhost:8000/graphql. If that is failing with error, there is some issue with the invana-engine deployment. All the above steps assume you are running a JanusGraph instance using docker run -it -p 8182:8182 janusgraph/janusgraph
or other methods, and JanusGraph server is available at 8182 port
from invana-studio.
Thanks again for the assistance. I'm am indeed running a JanusGraph instance with the docker command you showed. I can confirm that the JanusGraph instance is up and running correctly because I can start a gremlin console client to remotely connect to the server and issue the "g.V().limit(2).toList()" command and get results back. However, if I issue the command in your screenshot using the GraphQL interface, this is the error I get
Do you have any additional insight as to why this would be happening? Thanks again for your assistance!
from invana-studio.
Looks like this is a docker issue, can you check the logs of the janusgraph and invana-engine container using docker logs <container ID>
. That might lead you to some hints.
from invana-studio.
Thanks, @rrmerugu for the docker logs
advice! It seems invana_engine
us running into connection issues when I issue the g.V().limit(5).toList()
GraphQL query. It's still not clear as to why this "connection refused" error is happening since I can indeed connect to my JanusGraph server instance remotely through the gremlin client console.
from invana-studio.
So, I was able to get it working by using the following docker run
command to start the invana-engine
docker run -p 8000:8000 -d -h invana_engine -e GREMLIN_SERVER_URL=ws://172.17.0.2:8182/gremlin --name invana-engine invanalabs/invana-engine
where the IP address of 172.17.0.2
is the IP address assigned by the docker network to the JanusGraph server. Now, although I do have it working, this seems very suboptimal.
What is the correct way to solve this problem without having to resort to using the container's internal docker IP address for the GREMLIN_SERVER_URL
?
from invana-studio.
Glad it's working. I generally do something like this docker run --rm -d --network host --name my_nginx nginx
, where I map the ports of the docker to host network directly. So I dont have to access the docker container over the docker network IP(172.17.0.2:8182), instead I can connect to localhost:8182 directly.
Hope this helps, https://docs.docker.com/network/network-tutorial-host/
from invana-studio.
Related Issues (20)
- Connect to authentication enabled gremlin server HOT 1
- Incorrect order of [red, green, blue] in src/core/utils.js function LightenDarkenColor() HOT 2
- when the mouseover it didn't works HOT 7
- CosmosDB Gremlin support HOT 6
- show list of vertices HOT 1
- toggle show/hide legend on the canvas HOT 2
- Review JSON canvas HOT 1
- add horizontal scroll to table canvas
- Connect to Neo4j HOT 3
- "Failed to connect. WebSocket connections are not supported at the moment." HOT 2
- Error response from daemon: OCI runtime create failed: HOT 2
- Is it works with AWS Neptune HOT 3
- TypeError: e.connector.requestBuilder is undefined (Uncaught exception) HOT 2
- Edge label is not displayed HOT 4
- properties not shown HOT 4
- invana-studio doesn't connect to invana-engine using docker compose HOT 15
- Azure CosmosDB support HOT 2
- show error message when a query is executed HOT 1
- graph render not stabilising HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invana-studio.