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

Breaking error on large lists #48

Open
BrodaNoel opened this issue Jan 27, 2019 · 2 comments
Open

Breaking error on large lists #48

BrodaNoel opened this issue Jan 27, 2019 · 2 comments

Comments

@BrodaNoel
Copy link

Hey guys!
I'm getting this error while getting a backup.
I'm running this command:

firestore-backup --accountCredentials ./xxxx-xxx-firebase-xxx.json --backupPath ./backup --requestCountLimit 50

It's weird because this command always worked properly.
It's backing up all the Collections, but it's failling while trying to backup the biggets Collection list (called "unsplash"). It crash even before starting backing up this big one.

Backing up Collection '/unsplash'
(node:13381) UnhandledPromiseRejectionWarning: Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded
    at Object.exports.createStatusError (/Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/common.js:87:15)
    at ClientReadableStream._emitStatusIfDone (/Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/client.js:235:26)
    at ClientReadableStream._receiveStatus (/Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/client.js:213:8)
    at Object.onReceiveStatus (/Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/client_interceptors.js:1256:15)
    at InterceptingListener._callNext (/Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/client_interceptors.js:564:42)
    at InterceptingListener.onReceiveStatus (/Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/client_interceptors.js:614:8)
    at /Users/noel/.nvm/versions/node/v9.10.1/lib/node_modules/firestore-backup/node_modules/grpc/src/client_interceptors.js:1019:24
(node:13381) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:13381) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Any ideas?

@BrodaNoel
Copy link
Author

BrodaNoel commented Feb 1, 2019

This bug seems to be related to firebase/firebase-admin-node#349

@BrodaNoel BrodaNoel changed the title UnhandledPromiseRejectionWarning: Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded Breaking error on large lists Feb 6, 2019
@yoiang
Copy link
Member

yoiang commented Mar 18, 2019

@BrodaNoel sorry for the late reply, can you clarify the firebase-admin issue and possible routes node-firestore-backup can take?

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