Comments (8)
Thanks for being part of our design, develop and feedback loop. You are awesome!
from invana-studio.
@Sandared can you post the screenshot of the errors from the console.
from invana-studio.
@Sandared Just to add , if secure web-sockets are supported by your browser and as long you opened the port 8182 to public. Safari does seem to support wss especially for ones with invalid certificate. Are you attempting to visualise in safari.
from invana-studio.
Hey sorry for the long wait.
I tried some different combinations:
- Your app on Heroku + Janusgraph on DO trying to connect via ws://:8182/gremlin (this one was expected)
- Your app on Heroku + Janusgrpah on DO trying to connect via wss://:8182/gremlin (here I don't know if Janusgraph would handle ssl with a self-signed certificate or not. I don't have a proxy installed for this)
- Graph explorer installed on same DO server as Janusgraph and connecting via ws://:8182/gremlin -> works if I map your port 88888 to 80, i.e., I use
docker run -d -p 80:8888 ...
When I map it to port 8888 as described in your documentation I just get a blank screen :/
Another thing I noticed: In case 2) your app becomes unusable, as from the failed connection attempt onwards it only shows a dark screen and no possibility to enter another url to connect to.
I hope that helps :)
Kind regards,
Thomas
from invana-studio.
Hey thanks for observations.
Screenshot 1 tells me you are access https://graph-explorer.herokuapp.com
and tried to use ws://gremlin-url
. This error can be fixed with just accessing http://graph-explorer.herokuapp.com
. But that still doesnt solve the problem
From Screenshot 2 & 3, it appears that the port is accessible out of the VPC or your server instance. If you can open the port 8182
on the server where you are running janusgraph docker. The port will be accessible and websockets would connect to the gremlin server. If you want to check whether the port number not being exposed to the internet server is the issue or not. Go to https://www.websocket.org/echo.html and give your gremlin url ws://xyz and see if that is able to connect. If it is not able to connect, then your digital ocean deployment needs to expose the port 8182, or need to tweet needful security settings.
Thanks for pointing the issue not able to switch to new connection URL #44 I have included this to be part of milestone alpha-release. So should be fixed soon.
from invana-studio.
Hey @Sandared
I have deployed fix for the issues - switching gremlin server #44 . I have covered use case for scenarios 1) when it is reconnecting and 2) from with in the app when already connected to a server. Thanks for the suggestion.
Regarding the last issue, Were you able to check if the port 8182 is open to public ? I'm guessing that's the reason http://graph-explorer.herokuapp.com is not able to connect to the server.
Let me know if that worked.
Again, Thanks for improving the product with your inputs.
from invana-studio.
Hi @rrmerugu
awesome work :)
The port was open (when I deployed your app on the same machine and then directed it to the address with the same port, but with ws:// instead of wss:// it worked flawlessly), but I assume that Janusgraph does not handle ssl with a self signed certificate and I would need to set up a proxy that does the ssl stuff.
Kind regards,
Thomas
from invana-studio.
Great! in that case I'm closing this issue for now. I appreciate the inputs :) .
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
- Graph Explorer Unable to Connect HOT 9
- 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.