Luca (Arcade)
Luca (Arcade)
ATApache TinkerPop
Created by starcode100 on 12/1/2023 in #questions
Error: `Failed to authenticate`, when connection pool size is >1 for GremlinServer with ArcadeDB
@arcadedb completely relies on the Gremlin Server for authentication and transport. That error seems related to the Gremlin Server. Maybe a concurrency issue with high load?
6 replies
ATApache TinkerPop
Created by gdotv on 8/4/2023 in #questions
Can gremlin-server be started via its Java package
I'd love to provide managed services one day, if anybody from this or arcadedb community is skilled on being on some marketplace, please contact me 🙂
8 replies
ATApache TinkerPop
Created by ZEE on 5/24/2023 in #questions
What's ArcadeDB's graph initialize call?
In case check this:
/**
* Manual test against a Gremlin Server.
*/
public class ConnectRemoteGremlinServer {

@Disabled
@Test
public void getAllVertices() {
final GraphTraversalSource g = traversal();

g.addV().property("myProp", "some value").next(); // creates the vertex
final List<Map<Object, Object>> vertices = g.V().valueMap().with(WithOptions.tokens).toList(); // verifies that the vertex created with properties is returned

Assertions.assertFalse(vertices.isEmpty());
}

private Cluster createCluster() {
final GraphBinaryMessageSerializerV1 serializer = new GraphBinaryMessageSerializerV1(
new TypeSerializerRegistry.Builder().addRegistry(new ArcadeIoRegistry()));

return Cluster.build().enableSsl(false).addContactPoint("localhost").port(8182).credentials("root", BaseGraphServerTest.DEFAULT_PASSWORD_FOR_TESTS).serializer(serializer)
.create();
}

private GraphTraversalSource traversal() {
return AnonymousTraversalSource.traversal().withRemote(DriverRemoteConnection.using(createCluster(), "graph"));
}
}
/**
* Manual test against a Gremlin Server.
*/
public class ConnectRemoteGremlinServer {

@Disabled
@Test
public void getAllVertices() {
final GraphTraversalSource g = traversal();

g.addV().property("myProp", "some value").next(); // creates the vertex
final List<Map<Object, Object>> vertices = g.V().valueMap().with(WithOptions.tokens).toList(); // verifies that the vertex created with properties is returned

Assertions.assertFalse(vertices.isEmpty());
}

private Cluster createCluster() {
final GraphBinaryMessageSerializerV1 serializer = new GraphBinaryMessageSerializerV1(
new TypeSerializerRegistry.Builder().addRegistry(new ArcadeIoRegistry()));

return Cluster.build().enableSsl(false).addContactPoint("localhost").port(8182).credentials("root", BaseGraphServerTest.DEFAULT_PASSWORD_FOR_TESTS).serializer(serializer)
.create();
}

private GraphTraversalSource traversal() {
return AnonymousTraversalSource.traversal().withRemote(DriverRemoteConnection.using(createCluster(), "graph"));
}
}
3 replies
ATApache TinkerPop
Created by ZEE on 5/24/2023 in #questions
What's ArcadeDB's graph initialize call?
Sorry, @ZEE I haven't seen this message. Did you figure it out?
3 replies