-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
JVM Crash when using GCP Secret Manager and Alpine JVM #515
Comments
Looks like its a call out to Netty via JNI that causes this. Can you confirm if you have the latest up to date Netty libs? |
We are using I also opened an issue here It seems related to libc usage. |
Yeah they need to provide a musl compatible lib. |
Solved by using the last version of netty (embedded with the last grpc version):
|
Tested with eclipse-temurin:17.0.2-jre-alpine and eclipse-temurin:17.0.3_7-jre-alpine
Summary
SpringBoot crash at the very beginning of the startup.
The container is running in a GCP K8s.
Steps to reproduce
Start the image in GCP Cluster.
When Spring initialisation try to connect to GCP the JVM Crash.
Expected results
Have the JVM up & running or an error message in case of network/connection issue.
Actual results
Dump Crash file.
Triaging info
Java version: 17 (eclipse-temurin:17.0.3_7-jre-alpine)
What is your operating system and platform?
OS: Alpine
Plateform: K8s, version 1.21.10-gke.2000
How did you install Java?
Directly use the official docker image and add my jars.
Did it work before?
Without GCP Secret manager it works fine.
Did you test with other Java versions?
I can't test with version <17 ( our code is not compatible).
I tried with eclipse-temurin:17.0.3_7-jre ( debian_version, bullseye/sid) and it works fine
error.log
The text was updated successfully, but these errors were encountered: