Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: connect EADDRNOTAVAIL #1

Open
mainakae opened this issue Nov 12, 2014 · 1 comment
Open

Error: connect EADDRNOTAVAIL #1

mainakae opened this issue Nov 12, 2014 · 1 comment

Comments

@mainakae
Copy link

Hello,

I've been using this tool to dump a pretty big CouchDB database (59.2 MB after compaction) with 100k documents, and it keeps failing with this message:

{ [Error: connect EADDRNOTAVAIL]
status: 400,
result:
{ ok: false,
start_time: Wed Nov 12 2014 16:24:37 GMT+0100 (CET),
docs_read: 7055,
docs_written: 7055,
doc_write_failures: 0,
errors: [],
last_seq: 7056,
status: 'aborted',
end_time: Wed Nov 12 2014 16:25:52 GMT+0100 (CET) } }

A previous database, (28 MB and 7k documents) issued the same problem but after stopping all nodejs instances running in the machine, fininshed correctly the dump, so I assume there must be some relation. I've also checked in SO, there are many issues with connect EADDRNOTAVAIL regarding localhost connections and other nodejs instances running in the same machine. Perhaps it could help to fix the problem ;)

Congratulations for this piece of work!
Pedro.

@nolanlawson
Copy link
Member

Try using a larger batch_size, but yeah the error handling in this CLI is currently nonexistent, so improvements would be appreciated. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants