Add nodes from Neo4j to Gephi from another pc in the same network

Hi!

I am running neo4j 3.5.0 on a local pc but then I use Gephi from a laptop. Both of them in the same network.
I am trying to add the nodes from Neo4j to Gephi using as 'url', the IP of the laptop but I have the following error:

Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure apoc.gephi.add: Caused by: java.lang.RuntimeException: Can't read url or key http://129.88.47.183:8080/workspace1?operation=updateGraph as json: connect timed out

Neo4j code:

MATCH data = ()-[*]->()
CALL apoc.gephi.add('http://129.88.47.183:8080','workspace1',data,'weight') yield nodes
return * 

What am I doing wrong?

Thank you very much in advance!

/Angelos

I have a similar issue and found this docker - Neo4j and Gephi Graph Streaming plugin: Connection refused - Stack Overflow not sure if it helps you

I have the same issue! I get the error below. Did you ever find a solution?

Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure apoc.gephi.add: Caused by: java.lang.RuntimeException: Can't read url or key http://localhost:7474/WS1?operation=updateGraph as json: cannot retry due to server authentication, in streaming mode

Did you ever find a solution? I have the same issue.

Actually we did get this to work ... IF we limit the number of nodes that are returned to 25 ... so seems to be a data volume issues on the Gephi end ... this might help How to work with bigger datasets in Gephi - DataBulle

1 Like

Rats! I made the change, but still get this error: I'm using Windows 10

MATCH path = (:Person)-[:KNOWS]->(:Person) CALL apoc.gephi.add("http://localhost:7474",'workspace1',path,'weight') yield nodes return * LIMIT 10

ERROR "Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure `apoc.gephi.add`: Caused by: java.lang.RuntimeException: Can't read url or key http://localhost:7474/workspace1?operation=updateGraph as json: cannot retry due to server authentication, in streaming mode

The 'workspace1" and 'weight' I realized don't matter. I get the same error whatever I put in each. Also, the same error weather Gephi is running or not.

Also, I assume we use the HTTP port and not the Bolt. I tried both, but get "better" errors with 7474
Bolt port: 7687
HTTP port: 7474
HTTPS port: 7473

Also my java version: java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)

Try :8080 and check it really says workspace0 in Gephi ... names need to match exactly

Shoot, it still doesn't work. Same error. Is there anything else you can think of that we may be missing? I'm about to give up!