Environment
Platform: EKS
Kubernetes/Platform Version(s): 1.31
Describe the bug
Upon upgrading to v5.4.2 the manager container crashes during initialization. Error log below:
FIPS mode detected (via /proc/sys/crypto/fips_enabled). 2025-01-22 15:01:09,594|INFO |MANAGER|apache.pekko.event.slf4j.Slf4jLogger(applyOrElse:117): Slf4jLogger started Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.pekko.http.scaladsl.HttpExt.sslTlsStage(Http.scala:858) at org.apache.pekko.http.scaladsl.HttpExt.sslTlsServerStage(Http.scala:845) at org.apache.pekko.http.scaladsl.HttpExt.fuseServerBidiFlow(Http.scala:114) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandle(Http.scala:253) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandleImpl(Http.scala:309) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandleAsync(Http.scala:374) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandleAsyncImpl(Http.scala:387) at org.apache.pekko.http.scaladsl.ServerBuilder$Impl.bind(ServerBuilder.scala:160) at com.neu.core.BootedCore.$init$(Core.scala:35) at com.neu.web.Rest$.<clinit>(Rest.scala:8) at com.neu.web.Rest.main(Rest.scala) Caused by: java.security.NoSuchAlgorithmException: Default SSLContext not available at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:185) at java.base/javax.net.ssl.SSLContext.getDefault(SSLContext.java:110) at org.apache.pekko.stream.scaladsl.TLSPlacebo$.<clinit>(TLS.scala:232) ... 11 more
To Reproduce
Steps to reproduce the behavior:
- Enabled FIPS mode.
- Disable Manager SSL. (This is done because we have a LB in front of it that handles SSL)
- Use 5.4.2 image.
Expected behavior
Manager to be able to run without SSL enabled (i.e. as http) in order to allow our LB to handle SSL into/out of the cluster.
Environment
Platform: EKS
Kubernetes/Platform Version(s): 1.31
Describe the bug
Upon upgrading to v5.4.2 the manager container crashes during initialization. Error log below:
FIPS mode detected (via /proc/sys/crypto/fips_enabled). 2025-01-22 15:01:09,594|INFO |MANAGER|apache.pekko.event.slf4j.Slf4jLogger(applyOrElse:117): Slf4jLogger started Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.pekko.http.scaladsl.HttpExt.sslTlsStage(Http.scala:858) at org.apache.pekko.http.scaladsl.HttpExt.sslTlsServerStage(Http.scala:845) at org.apache.pekko.http.scaladsl.HttpExt.fuseServerBidiFlow(Http.scala:114) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandle(Http.scala:253) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandleImpl(Http.scala:309) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandleAsync(Http.scala:374) at org.apache.pekko.http.scaladsl.HttpExt.bindAndHandleAsyncImpl(Http.scala:387) at org.apache.pekko.http.scaladsl.ServerBuilder$Impl.bind(ServerBuilder.scala:160) at com.neu.core.BootedCore.$init$(Core.scala:35) at com.neu.web.Rest$.<clinit>(Rest.scala:8) at com.neu.web.Rest.main(Rest.scala) Caused by: java.security.NoSuchAlgorithmException: Default SSLContext not available at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:185) at java.base/javax.net.ssl.SSLContext.getDefault(SSLContext.java:110) at org.apache.pekko.stream.scaladsl.TLSPlacebo$.<clinit>(TLS.scala:232) ... 11 moreTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Manager to be able to run without SSL enabled (i.e. as http) in order to allow our LB to handle SSL into/out of the cluster.