Sam Dutton
Sam Dutton

Reputation: 15269

Cloudant bulk insert errors

I'm getting a lot of errors intermittently from Cloudant, when I post several thousand ~1000-character documents 10 at a time to _bulk_docs, from a Node app running on my local machine:

Error: getaddrinfo ENOTFOUND samdutton.cloudant.com

What does this error mean?

I've found a few similar problems online, but any suggestions how to avoid this error?

Upvotes: 1

Views: 258

Answers (1)

Glynn Bird
Glynn Bird

Reputation: 5637

"getaddrinfo" represents your machine's inability to use DNS to find an IP address for the domain name "samdutton.cloudant.com". Can you confirm that your machine is able to resolve this DNS record correctly by doing

dig samdutton.cloudant.com

or

nslookup samdutton.cloudant.com

from your command line?

Upvotes: 2

Related Questions