Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

"Maximum call stack size exceeded" on GKE #86

@stephenplusplus

Description

@stephenplusplus

Originally reported by @dan-j:

(node:40) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:550:31)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
    at replaceProjectIdToken (/home/node/app/node_modules/@google-cloud/common/src/util.js:560:22)
(node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:40) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Labels

🚨This issue needs some love.api: loggingIssues related to the googleapis/nodejs-logging API.triage meI really want to be triaged.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