How to resovle exception: io.camunda.zeebe.client.api.command.ClientStatusException: io exception

Hello Team,
I’m using self managed zeebe gateway .
I have zeebe java client. If client not working for a long time (not call to zeebe gateway…),it’ throwed exception when call zeebe api:

io.camunda.zeebe.client.api.command.ClientStatusException: io exception

 	at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.transformExecutionException(ZeebeClientFutureImpl.java:116) ~[zeebe-client-java-8.5.0.jar!/:8.5.0]

 	at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.join(ZeebeClientFutureImpl.java:54) ~[zeebe-client-java-8.5.0.jar!/:8.5.0]

 Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

 	at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[na:na]

 	at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source) ~[na:na]

 	at io.camunda.zeebe.client.impl.ZeebeClientFutureImpl.join(ZeebeClientFutureImpl.java:52) ~[zeebe-client-java-8.5.0.jar!/:8.5.0]

 	... 9 common frames omitted

 Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

 	at io.grpc.Status.asRuntimeException(Status.java:533) ~[grpc-api-1.62.2.jar!/:1.62.2]

 	at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:481) ~[grpc-stub-1.62.2.jar!/:1.62.2]

 	at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:574) ~[grpc-core-1.62.2.jar!/:1.62.2]

 	at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:72) ~[grpc-core-1.62.2.jar!/:1.62.2]

 	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:742) ~[grpc-core-1.62.2.jar!/:1.62.2]

 	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723) ~[grpc-core-1.62.2.jar!/:1.62.2]

 	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[grpc-core-1.62.2.jar!/:1.62.2]

 	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) ~[grpc-core-1.62.2.jar!/:1.62.2]

 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]

 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]

 	... 1 common frames omitted

 Caused by: io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer

Any one know to do resove that exception? Thanks.

Maven java dependencies:

  • spring-boot-starter-camunda: 8.5.8
  • zeebe-client-java: 8.5.5
    Zeebe gateway docker version: camunda/zeebe:8.5.5

Would you please the sample code how you are configured the zeebe client. Are you trying to deploy the code or starting the instance from client?

Also please do share your application.properties

I simple using config in application.properties, not custom zeebe client bean

camunda:
  client:
    zeebe:
      gateway-url: http://192.168.1.110:30713
      enabled: true
      base-url: http://192.168.1.110:31605
      prefer-rest-over-grpc: false
      keepAlive: 60s
    mode: simple
    operate:
      enabled: false

Are you configuring the above values in application.properties or application.yaml file. The above values should contain in the file called application.yaml, not on properties file.

Yes, my fault. I’m using applcation.yaml
Do you know resovle this problems ? Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.