Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-10-2019 05:58 AM
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
02-26-2019 07:13 PM
I have a similar issue and found this https://stackoverflow.com/questions/49901949/neo4j-and-gephi-graph-streaming-plugin-connection-refus... not sure if it helps you
03-07-2019 06:09 PM
Did you ever find a solution? I have the same issue.
03-07-2019 06:09 PM
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
03-07-2019 06:56 PM
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 https://www.databulle.com/blog/random/gephi-ram.html
03-07-2019 07:22 PM
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)
03-07-2019 09:38 PM
Try :8080 and check it really says workspace0 in Gephi ... names need to match exactly
03-08-2019 07:00 AM
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!
All the sessions of the conference are now available online