Camunda upgrade to 8

Hi All,

i have update camunda to 8 using camunda verison 8.5.8 and getting below error

org.springframework.context.ApplicationContextException: Failed to start bean 'zeebeLifecycleEventProducer'

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:288)

at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:472)

at java.base/java.lang.Iterable.forEach(Iterable.java:75)

at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:257)

at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:202)

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:990)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:628)

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:335)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352)

at com.rbc.uscm.file.CmndaFileconfigWfSvcApplication.main(CmndaFileconfigWfSvcApplication.java:12)

Caused by: io.camunda.zeebe.client.api.command.ClientStatusException: Time out between gateway and broker: Request timed out after PT15S

at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.transformExecutionException(ZeebeClientFutureImpl.java:116)

at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.join(ZeebeClientFutureImpl.java:54)

at io.camunda.zeebe.spring.client.annotation.processor.ZeebeDeploymentAnnotationProcessor.lambda$start$6(ZeebeDeploymentAnnotationProcessor.java:93)

at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

at io.camunda.zeebe.spring.client.annotation.processor.ZeebeDeploymentAnnotationProcessor.start(ZeebeDeploymentAnnotationProcessor.java:70)

at io.camunda.zeebe.spring.client.annotation.processor.ZeebeAnnotationProcessorRegistry.lambda$startAll$0(ZeebeAnnotationProcessorRegistry.java:54)

at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

at io.camunda.zeebe.spring.client.annotation.processor.ZeebeAnnotationProcessorRegistry.startAll(ZeebeAnnotationProcessorRegistry.java:54)

at io.camunda.zeebe.spring.client.event.ZeebeClientEventListener.handleStart(ZeebeClientEventListener.java:32)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:365)

at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:237)

at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:168)

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:185)

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:178)

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156)

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:452)

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:385)

at io.camunda.zeebe.spring.client.event.ZeebeLifecycleEventProducer.start(ZeebeLifecycleEventProducer.java:38)

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285)

... 13 common frames omitted

Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: Time out between gateway and broker: Request timed out after PT15S

at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)

at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)

at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.join(ZeebeClientFutureImpl.java:52)

... 34 common frames omitted

Caused by: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: Time out between gateway and broker: Request timed out after PT15S

at io.grpc.Status.asRuntimeException(Status.java:533)

at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:481)
     <dependency>
         <groupId>io.camunda</groupId>
         <artifactId>spring-boot-starter-camunda-sdk</artifactId>
         <version>${camunda.version}</version>
      </dependency> 
      <dependency>
         <groupId>io.camunda</groupId>
         <artifactId>spring-boot-starter-camunda-tasklist</artifactId>
         <version>${camunda.version}</version>
      </dependency>
      <dependency>
            <groupId>io.camunda.spring</groupId>
            <artifactId>spring-boot-starter-camunda-test</artifactId>
            <version>${camunda.version}</version>
            <scope>test</scope>
      </dependency>  
zeebe:
  client:
    connection-mode: ADDRESS
    request-timeout: 30s
    cloud:
      clientId: id
      clientSecret: secret
      authUrl: url
    broker:
      grpcAddress: https://localhost:123
      restAddress: https://localhost:123
      prefer-rest-over-grpc: true
    security:
      plaintext: false
	  
	  
tasklist:
  client:
    profile: oidc
    enabled: true
    base-url: https://localhost:123
    auth-url: https://localhost:123
    client-id: tasklist
    client-secret: secret
    grantType: client_credentials

Hi @vinod_rbc, welcome to the forums! It appears there might be an issue with Zeebe after the upgrade. What version did you upgrade from? How is Camunda deployed? How did you perform the upgrade? What do the Zeebe logs show?

@nathan.loding thanks for the response.
However there seems to be connection issue which was resolved