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
path\node_modules\dociql\node_modules\sync-rpc\lib\index.js:146
throw new Error(
^
Error: nodeNC failed:
events.js:292
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
Emitted 'error' event on Socket instance at:
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
The above error gets thrown if the introspection query takes longer than 2 minutes (I have a very large schema so it takes just over 2 minutes to return). After some investigation it looks like this is a bug from the sync-rpc library see here so there is a fix but it requires editing the sync-rpc library itself.
Is there a way around this? I think allowing us to point to a json with the introspection results directly would solve this issue.
The text was updated successfully, but these errors were encountered:
jessesmall
changed the title
Error: ECONNRESET when reading in introspection query
Error: ECONNRESET after 2 minutes waiting for introspection query
Aug 12, 2021
The above error gets thrown if the introspection query takes longer than 2 minutes (I have a very large schema so it takes just over 2 minutes to return). After some investigation it looks like this is a bug from the sync-rpc library see here so there is a fix but it requires editing the sync-rpc library itself.
Is there a way around this? I think allowing us to point to a json with the introspection results directly would solve this issue.
The text was updated successfully, but these errors were encountered: