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 *
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
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
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)