Skip to content

Unhandled exception from gRPC for request size #480

@stephenplusplus

Description

@stephenplusplus

From @matanh-tzmedical on November 13, 2017 21:18

When trying to load test the our kubernetes stack by sending thousands of requests to our exposed endpoint I get this error which crashes the Node app:

{ Error: Request payload size exceeds the limit: 10485760 bytes. at /var/www/node_modules/grpc/src/client.js:554:15 code: 3, metadata: Metadata { _internal_repr: {} } }

It seems like the 1MB buffering that the @google-cloud/logging library is supposed to be doing is not happening.

Environment details

  • OS: Google Cloud Container Cluster - Ubuntu Latest Node image
  • Node.js version: Docker public image - node:6.10.3
  • npm version: 3.10.10
  • @google-cloud/logging-bunyan version: 0.7.0

Steps to reproduce

  1. Enable stackdriver logging on a Google Cloud Kubernetes app.
  2. Log thousands of requests as fast as possible.

Copied from original issue: googleapis/nodejs-logging-bunyan#14

Metadata

Metadata

Labels

🚨This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions