invana / invana-studio

Open source graph visualiser.
Apache License 2.0
174 stars 19 forks source link

"Failed to connect. WebSocket connections are not supported at the moment." #73

Closed karsil closed 3 years ago

karsil commented 3 years ago

First of all thank you very much for maintaining this great project! I've been using it over the last months and it was always a great tool while tinkering around with JanusGraph.

I've encountered the following problem in the last time: When opening the interface and trying to connect, it presents me the following errors in multiple browsers: Failed to connect. WebSocket connections are not supported at the moment., making it impossible to continue using it.

graph_explorer_error

Is this a known problem? Or is the source of this error found somewhere else?

Thanks in advance!

rrmerugu commented 3 years ago

Hey @karsil , I made few changes in the last release. This is expected, I'm really sorry that this broke your flow. I didn't announce it, because I was testing it my end. The new version of the graph-explorer uses invana-engine as the backend, You should be connecting to http://localhost:8000/graphql instead of ws://localhost:8182/gremlin , refer how to start invana-engine in its repo readme.

I have moved all the query logics to invana-engine separating the project into query/computation layer(invana-engine) and visualisation layer(graph-explorer).

Attaching few screenshots of the latest version of graph explorer. Give it a try with invana-engine and please let me know what do you think. Just to iterate again on the change; You need to start invana-engine, and use that url with graph-explorer.

2 3 4

karsil commented 3 years ago

@rrmerugu Thank you very much for your answer, that was the solution. I got it running and will check on it further in the coming days!