You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to export a very large dataset from firestore and have it converted to json format. This package works fine on datasets with minimal firebase documents.
Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: request to https://www.googleapis.com/oauth2/v4/token failed, reason: Client network socket disconnected before secure TLS connection was established
at Object.callErrorFromStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/client.js:179:52)
at Object.onReceiveStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
code: 16,
details: 'Failed to retrieve auth metadata with error: request to https://www.googleapis.com/oauth2/v4/token failed, reason: Client network socket disconnected before secure TLS connection was established',
metadata: Metadata { internalRepr: Map(0) {}, options: {} },
note: 'Exception occurred in retry method that was not classified as transient'
}
Node.js v18.18.0
Steps to reproduce the behavior
I'm not an expert in this sort of thing, so any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Expected behavior
I am trying to export a very large dataset from firestore and have it converted to json format. This package works fine on datasets with minimal firebase documents.
Actual behavior
What i run:
firestore-export --accountCredentials /path-to-credential/credentials.json --backupFile Posts.json --nodePath Posts
On my large datasets, after about 1-2 minutes of retrieving documents, i get an error that stops the program:
/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/call.js:31
return Object.assign(new Error(message), status);
^
Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: request to https://www.googleapis.com/oauth2/v4/token failed, reason: Client network socket disconnected before secure TLS connection was established
at Object.callErrorFromStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/client.js:179:52)
at Object.onReceiveStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (/usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /usr/local/lib/node_modules/node-firestore-import-export/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
code: 16,
details: 'Failed to retrieve auth metadata with error: request to https://www.googleapis.com/oauth2/v4/token failed, reason: Client network socket disconnected before secure TLS connection was established',
metadata: Metadata { internalRepr: Map(0) {}, options: {} },
note: 'Exception occurred in retry method that was not classified as transient'
}
Node.js v18.18.0
Steps to reproduce the behavior
I'm not an expert in this sort of thing, so any help would be appreciated.
The text was updated successfully, but these errors were encountered: