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

Sync-gateway data dump throw unhandled promise exception #152

Open
shashanktomar opened this issue Jul 25, 2017 · 3 comments
Open

Sync-gateway data dump throw unhandled promise exception #152

shashanktomar opened this issue Jul 25, 2017 · 3 comments

Comments

@shashanktomar
Copy link

While dumping data to sync-gateway, i am getting this error:

[18:37:41] ✖ error: { Error: connect ECONNRESET 127.0.0.1:4985
    at Object.exports._errnoException (util.js:1018:11)
    at exports._exceptionWithHostPort (util.js:1041:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
  code: 'ECONNRESET',
  errno: 'ECONNRESET',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 4985 }
(node:63267) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ECONNRESET 127.0.0.1:4985

Some of the documents are missed because of this.

@alburdette619
Copy link

I am having this same issue. I frequently get cross reference errors in my application due to documents not getting written.

@tjbenton
Copy link
Collaborator

This might be happening because too many files are trying to write to the server at a time. Try running your fakeit command with --limit 5. This would be a temp fix until we can fix the real issue

@alburdette619
Copy link

alburdette619 commented Sep 7, 2017

#154

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

3 participants