Erratic EADDRINUSE errors when querying database via arangojs

23 views
Skip to first unread message

ropel...@gmail.com

unread,
Aug 16, 2015, 1:17:00 AM8/16/15
to ArangoDB
Hi,

I'm running ArangoDB 2.6.4 on Windows 8.1.

I'm using a nodejs script with arangojs to import a large number of edges from XML files. I've been getting "Error: Connect EADDRINUSE" errors intermittently back from the database from a variety of different queries (it's not reproducible) but I'm not sure why--or where to start looking for a fix.

Any idea whether this is a problem on Arango's end?

Or, as a workaround, is there an easy way to simply delay and retry a query if gives an error?

Thanks for your help.

Max Neunhöffer

unread,
Aug 18, 2015, 8:03:38 AM8/18/15
to ArangoDB
Hi,

Can you please confirm that:
  - it is node.js giving the error and not the database server?

If this is right, I fear this has nothing to do with ArangoDB or arangojs, see
This seems to be an unresolved issue of node.js on Windows. This links to
and
which suggest the same. There seems to be a workaround for OSX, but none for Windows.

What happens, if you delay the calls to arangojs a bit?

Best regards,
  Max.
Reply all
Reply to author
Forward
0 new messages