forked from sourcey/spectacle
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels