Re: Could not alias [g] to [g] as [g]


HadoopMarc <bi...@...>
 

Thnaks for posting back that the issue was solved!

Op woensdag 6 januari 2021 om 12:02:38 UTC+1 schreef ya...@...:

I use this code on my server:

import { process, driver } from "gremlin";


const url = 'ws://localhost:8182/gremlin';
const traversal = process.AnonymousTraversalSource.traversal;
const DriverRemoteConnection = driver.DriverRemoteConnection;
const DriverClientConnection = driver.Client;
const remote = new DriverRemoteConnection(url);
const client = new DriverClientConnection(url);


export const g = traversal().withRemote(remote);
export const c = client;
export const T = process.t;
export const __ = process.statics;

export default g;

On Tuesday, January 5, 2021 at 2:33:55 PM UTC+1 HadoopMarc wrote:
OK, I understand now what you mean with "I see this error only on my server ". What happens if you try to open a websocket connection with a test webscocket client, e.g. for firefox:


It might be that the server does not have an open 8182 port. For less wilder guesses, I really need more information (client stacktrace, server logs, etc).

Best wishes,     Marc
Op dinsdag 5 januari 2021 om 12:38:27 UTC+1 schreef ya...@...:
I'm using the docker version and I haven't changed anything. Where do I find the yaml config? I've tested it on 2 PC's (ubuntu and windows) and it works without a problem. It doesn't work only on a server (ubuntu).

On Monday, January 4, 2021 at 5:37:37 PM UTC+1 HadoopMarc wrote:
Hi,

Can you show the gremlin server yaml config file (part of janusgraph) as well as the groovy script file it refers to? The groovy script should define the GraphTraversalSource g that you want to bind to.

Best wishes,     Marc

Op zondag 3 januari 2021 om 23:56:20 UTC+1 schreef ya...@...:
Hi, I have JanusGraph with Scylla and Elasticsearch in a docker. I'm connecting to JanusGraph on backend using gremlin.

I see this error only on my server and not on my local machine. What does it mean and more importantly how do I fix it? I'm a noob when it comes to backend and database stuff so please be kind. Thank you.


Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.