Open shanequint opened 5 years ago
I think graphson v2 is not support in your backend. The gremlin-console normally doesn’t use graphson. You can checkout to update to graphson v3.
Is their a reason to use the official gremlin driver for JavaScript.
I had tried the official gremlin driver for JavaScript when I first started my project and had trouble submitting scripts. I use the ConfiguredGraphManagement and JanusGraphManagement APIs to dynamically create graphs, create schema, Index properties and load CSV data from the browser and could not get these API calls to work. I basically re-engineered the graphExp javascript engine for my purposes. I will try the official driver again now that I have more experience with the product.
Is there some documentation I can read about the graphson V3 upgrade?
I have now converted my project to use the official gremlin GLV for JavaScript and get the same results. It works fine for version 0.3.1, but does not work for version 0.4.0.
You have to configure GraphSON v3 on both site. http://tinkerpop.apache.org/docs/3.4.3/dev/io/#graphson
Or configure GraphSON v2 to be support on server side.
@shanequint any progress on this? I'm trying to use gremlin-visualizer, and no matter what I try, I'm not getting back results
@tfcace I could not get 0.4.0 to work, and was not sure how to configure the GraphSON v2 or v3 in my app and server side. I rolled back to version 0.3.3 now and all is working as expected. When I have some time I will try to figure out how to do the configuration @farodin91 suggested. I looked at the link provided above and did not see documentation on how to configure Janusgraph server to use GraphSON v2 as suggested.
I have a React app that connects to Janusgraph over a websocket connection. This worked well in version JanusGraph 0.3.1. I installed version 0.4.0 and it works with the gremlin console, but when trying to connect from javascript websocket with the following simplified sample websocket call:
I get no response and I get the following error in the server logs:
I also tried using Graphexp and get the same results.
I don't get any results back from the websocket call in the browser console or the network tab.