CI/CD Pod crash in Azure

-1
Hello,   We have converted our application from version 8.18.5 to 8.18.22 and then deployed it on the server. After the upgrade, the application works fine in our local environment, but during the release, pods crashed and gave the below error. After research, we found that adding the system property for “JVM env var: -Daws.region=US-EAST-1” in our local file under Security > Configuration > Server option would resolve the issue but this does not fix the issue.   Could you please assist with how to fix this issue? Would you know how to add the system property for “JVM env var: -Daws.region=US-EAST-1” into our deployment, would it be pushed over from the Application tool, included in the DevOps Build step, or the DevOps Release step??   Error: ERROR - M2EE: An error occurred while initializing the Runtime: java.lang.reflect.InvocationTargetException ERROR - M2EE: com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: java.lang.reflect.InvocationTargetException             at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:348)   Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.reflect.InvocationTargetException             at com.mendix.basis.conf.CertificateProcessor.afterConfigurationUpdated(CertificateProcessor.scala:39)   Caused by: java.lang.reflect.InvocationTargetException: null             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)             at java.base/java.lang.reflect.Method.invoke(Unknown Source)             at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:21)             at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)             at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)             at scala.collection.AbstractIterable.foreach(Iterable.scala:933)             at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16)             at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24)             at com.mendix.basis.conf.CertificateProcessor.afterConfigurationUpdated(CertificateProcessor.scala:37)             at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:303)             at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:48)             at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)             at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129)             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)             at org.eclipse.jetty.server.Server.handle(Server.java:516)             at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) ERROR: Executing start did not succeed: result: 1, message: An error occurred while initializing the Runtime: java.lang.reflect.InvocationTargetException, caused by: java.lang.reflect.InvocationTargetException             at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) WARNING: start failed, stopping             at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)             at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)             at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)             at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)             at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) INFO: stopping app...             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) INFO: Waiting for the application to shutdown...             at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)             at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)             at java.base/java.lang.Thread.run(Unknown Source)   Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Expected authority at index 8: https://             at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:216)             at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:190)             at com.amazonaws.AmazonWebServiceClient.toURI(AmazonWebServiceClient.java:329)             at com.amazonaws.AmazonWebServiceClient.setEndpoint(AmazonWebServiceClient.java:317)             at com.amazonaws.services.s3.AmazonS3Client.setEndpoint(AmazonS3Client.java:758)             at com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:453)             at com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:424)             at com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46)             at com.mendix.storage.s3.internal.S3ClientBuilder.build(S3ClientBuilder.scala:48)             at com.mendix.storage.s3.internal.ClientProvider.createAmazonClient(ClientProvider.scala:91)             at com.mendix.storage.s3.internal.ClientProvider.updateClient(ClientProvider.scala:50)             at com.mendix.storage.s3.internal.ClientProvider.onCertificateProcessorReady(ClientProvider.scala:72)             at com.mendix.storage.s3.internal.AmazonS3StorageComponent.handleEvent(AmazonS3StorageComponent.scala:51)             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)             at java.base/java.lang.reflect.Method.invoke(Unknown Source)             at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:21)             at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)             at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)             at scala.collection.AbstractIterable.foreach(Iterable.scala:933)             at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16)             at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24)             at com.mendix.basis.conf.CertificateProcessor.afterConfigurationUpdated(CertificateProcessor.scala:37)             at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:303)             at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:48)             at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)             at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129)             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)             at org.eclipse.jetty.server.Server.handle(Server.java:516)             at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)             at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)             at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)             at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)             at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)             at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)             at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)             at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)             at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)             at java.base/java.lang.Thread.run(Unknown Source)   Caused by: java.net.URISyntaxException: Expected authority at index 8: https://             at java.base/java.net.URI$Parser.fail(Unknown Source)             at java.base/java.net.URI$Parser.failExpecting(Unknown Source)             at java.base/java.net.URI$Parser.parseHierarchical(Unknown Source)             at java.base/java.net.URI$Parser.parse(Unknown Source)             at java.base/java.net.URI.<init>(Unknown Source)             at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:214)             at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:190)             at com.amazonaws.AmazonWebServiceClient.toURI(AmazonWebServiceClient.java:329)             at com.amazonaws.AmazonWebServiceClient.setEndpoint(AmazonWebServiceClient.java:317)             at com.amazonaws.services.s3.AmazonS3Client.setEndpoint(AmazonS3Client.java:758)             at com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:453)             at com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:424)             at com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46)             at com.mendix.storage.s3.internal.S3ClientBuilder.build(S3ClientBuilder.scala:48)             at com.mendix.storage.s3.internal.ClientProvider.createAmazonClient(ClientProvider.scala:91)             at com.mendix.storage.s3.internal.ClientProvider.updateClient(ClientProvider.scala:50)             at com.mendix.storage.s3.internal.ClientProvider.onCertificateProcessorReady(ClientProvider.scala:72)             at com.mendix.storage.s3.internal.AmazonS3StorageComponent.handleEvent(AmazonS3StorageComponent.scala:51)             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)             at java.base/java.lang.reflect.Method.invoke(Unknown Source)             at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:21)             at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)             at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)             at scala.collection.AbstractIterable.foreach(Iterable.scala:933)             at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16)             at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24)             at com.mendix.basis.conf.CertificateProcessor.afterConfigurationUpdated(CertificateProcessor.scala:37)             at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:303)             at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:48)             at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)             at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129)             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)             at org.eclipse.jetty.server.Server.handle(Server.java:516)             at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)             at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)             at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)             at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)             at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)             at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)             at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)             at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)             at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)             at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)             at java.base/java.lang.Thread.run(Unknown Source)   INFO - Core: Mendix Runtime is shutting down now... INFO - Core: Mendix Runtime is now shut down. INFO: The application has been stopped successfully.    
asked
0 answers