-
Notifications
You must be signed in to change notification settings - Fork 653
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.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: darwin x64
- Node.js version:8.5.0
- npm version:5.4.2
- google-cloud/pubsub version:0.14.1
Steps to reproduce
- require
google-cloud/pubsub
subscription=pubsub.topic('awesomeTopic).subscription('awesomeTopicSubcription',{reuseExisting: true})
3.
subscription.on('error',function(error){
logger.error('subscription',error);
})
- This (3) will log the following
{"message":"subscription",
"stack":"Error: Received RST_STREAM with error code 2\n at ClientDuplexStream.<anonymous>
(/app/node_modules/@google-cloud/pubsub/src/connection-pool.js:218:21)\n
at emitOne (events.js:115:13)\n at ClientDuplexStream.emit (events.js:210:7)\n
at ClientDuplexStream._emitStatusIfDone (/app/node_modules/grpc/src/node/src/client.js:260:10)\n
at ClientDuplexStream._receiveStatus (/app/node_modules/grpc/src/node/src/client.js:233:8)\n
at /app/node_modules/grpc/src/node/src/client.js:757:12","code":13,"timestamp":"2017-09-19T04:57:56.510Z",
"level":"error"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.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.