-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secret manager doesn't seem to be working with latest node version (22.7.0) #5637
Comments
Issue was opened with an invalid reproduction link. Please make sure the repository is a valid, publicly-accessible github repository, and make sure the url is complete (example: https://github.com/googleapis/google-cloud-node) |
This is a valid issue, no idea why its closed… Here is how to fix it: Change your Dockerfile from...
To...
Locally downgrade node via |
Valid issue on my end too |
For anyone else: I think it's an upstream issue in Node 22.7. |
Hit this issue with 22.7 today. Upgrading to 22.8 solved it for me |
Please make sure you have searched for information in the following guides.
A screenshot that you have tested with "Try this API".
.
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
.
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
.
A clear and concise description of what the bug is, and what you expected to happen.
[Nest] 1 - 08/26/2024, 7:26:39 AM ERROR [ExceptionHandler] "length" is outside of buffer bounds RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: "length" is outside of buffer bounds
at proto.utf8Write (node:internal/buffer:1066:13) at Op.writeStringBuffer [as fn] (/app/node_modules/protobufjs/src/writer_buffer.js:61:13)
at BufferWriter.finish (/app/node_modules/protobufjs/src/writer.js:453:14) at /app/node_modules/@grpc/proto-loader/build/src/index.js:177:109
at Array.map () at createPackageDefinition (/app/node_modules/@grpc/proto-loader/build/src/index.js:177:39)
at Object.fromJSON (/app/node_modules/@grpc/proto-loader/build/src/index.js:230:12) at GrpcClient.loadProtoJSON (/app/node_modules/google-gax/build/src/grpc.js:228:51)
at new LocationsClient (/app/node_modules/google-gax/build/src/locationService.js:118:32) at new SecretManagerServiceClient (/app/node_modules/@google-cloud/secret-manager/build/src/v1/secret_manager_service_client.js:134:32)
Stream closed EOF for default/service-deploy-bb8d9cf64-8p6qn
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
.
The text was updated successfully, but these errors were encountered: