neography icon indicating copy to clipboard operation
neography copied to clipboard

Getting random SocketError: Connection refused when creating relationships on large import

Open dam13n opened this issue 9 years ago • 4 comments

Excon::Errors::SocketError: Connection refused - connect(2) for [fe80::1%lo0]:7474 (Errno::ECONNREFUSED)

I am creating lots of nodes and then relationships between them. Around a 1000 nodes generated (but always at a different number), I get this above error when creating a relationship or setting relationship properties.

Could it just be going too fast?? ANd if so, any suggestion on a good way to govern speed?

dam13n avatar Mar 22 '15 22:03 dam13n

Are you batching your writes?

maxdemarzi avatar Mar 23 '15 01:03 maxdemarzi

I'm not. I'll give that a try!

dam13n avatar Mar 23 '15 02:03 dam13n

I guess what kinda confused me was I was running the same code a year back, and there were no issues. But that was on an Ubuntu VM on Windows, and now I'm on a Mac.

dam13n avatar Mar 23 '15 02:03 dam13n

I'm getting these errors in production after upgrading neography. I've set persistent connections to false, but at least once a day, I get a small flood of the Excon::Errors::SocketError: Connection refused. It causes the app to go down, what can I do differently?

andycamp avatar Aug 10 '15 11:08 andycamp