-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Labels
api: pubsubIssues related to the googleapis/nodejs-pubsub API.Issues related to the googleapis/nodejs-pubsub API.externalThis issue is blocked on a bug with the actual product.This issue is blocked on a bug with the actual product.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- OS: Google Cloud Container-Optimized OS
- Node.js version: 10.17.0
- npm version: 6.12.0
@google-cloud/pubsubversion: 1.x (1.1.5, tried reverting down to 1.0.0, same error, currently using 0.21.1)
Steps to reproduce
Unclear so far but have been seeing it after publishing 10k+ messages to various topics. Will get back with more details when we can but if anyone else is seeing this to confirm this isn't a config issue let us know.
We are using our own wrapper around pubsub which you can find here: https://github.com/starchup/google-pubsub-wrapper, extremely bare bones
Error stacktrace
E 2019-11-19T16:49:45.701927239Z events.js:174
E 2019-11-19T16:49:45.702039214Z throw er; // Unhandled 'error' event
E 2019-11-19T16:49:45.702047675Z ^
E 2019-11-19T16:49:45.702054717Z
E 2019-11-19T16:49:45.702060707Z Error [ERR_STREAM_WRITE_AFTER_END]: write after end
E 2019-11-19T16:49:45.702068184Z at writeAfterEnd (_stream_writable.js:248:12)
E 2019-11-19T16:49:45.702074930Z at ClientHttp2Stream.Writable.write (_stream_writable.js:296:5)
E 2019-11-19T16:49:45.702081282Z at filterStack.sendMessage.then.message (/node_modules/@grpc/grpc-js/build/src/call-stream.js:372:34)
E 2019-11-19T16:49:45.702088817Z at process._tickCallback (internal/process/next_tick.js:68:7)
E 2019-11-19T16:49:45.702094878Z Emitted 'error' event at:
E 2019-11-19T16:49:45.702121372Z at errorOrDestroy (internal/streams/destroy.js:107:12)
E 2019-11-19T16:49:45.702164237Z at onwriteError (_stream_writable.js:436:5)
E 2019-11-19T16:49:45.702169699Z at onwrite (_stream_writable.js:461:5)
E 2019-11-19T16:49:45.702174990Z at /node_modules/async-listener/glue.js:188:31
E 2019-11-19T16:49:45.702180323Z at process._tickCallback (internal/process/next_tick.js:63:19)
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the googleapis/nodejs-pubsub API.Issues related to the googleapis/nodejs-pubsub API.externalThis issue is blocked on a bug with the actual product.This issue is blocked on a bug with the actual product.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.