Hi
I recently pulled down Zeebe using the zeebe-docker-compose / operate config. I was able to get Zeebe and Operate running locally fairly easily.
Yesterday I tried to pull the latest Zeebe (0.21.1) image from DockerHub (e.g. docker run camunda/zeebe:latest) and although Zeebe seems to install and run I get the following error when I use the zbctl tool to upload a bpmn file:
Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = âtransport: Error while dialing dial tcp 127.0.0.1:26500: connectex: No connection could be made because the target machine actively refused it.â
If I run the version of Zeebe (0.20.0) pulled by the operate/docker-compose file everything works as expected.
Do I need to remove any containers installed using the zeebe-docker-compose config before attempting to run the latest version of Zeebe?
Also, will the zeebe-docker-compose files be updated to pull the latest version of Zeebe?
I ran docker logs for the container, output is below.
@andyh let me try to help you⌠how did you run the images? did you update your docker compose to use the latest tag of the images? because even if you pull the latest tag but the docker compose file is not pointing to those images it is not going to work.
Then⌠I guess that the zbctl problem is a different one⌠did you downloaded the latest release of zbctl ?
@salaboy - I have run the latest version of Zeebe using the following command: docker run camunda/zeebe:latest
I originally ran Zeebe using the zeebe-docker-compose, but none of those containers are running while I attempt to run the latest version of Zeebe. Should I update the zeebe-docker-compose/operate file with the latest version tag and try running .\operate docker-compose up?
Iâm current running zbctl 0.20.0 (commit: 1ddfb216).
@jwulf - I have tried to run the zbctl using the --insecure e.g. .\zbctl deploy C:\bpmn\approval-process.bpmn --insecure
But I get the following error: Error: unknown flag: --insecure
I also added the ZEEBE_INSECURE_CONNECTION=true env var but I still get the error above when I attempt to deploy a bpmn file.
TLS is disabled by default in the broker, but enabled by default in the Go and Java clients, as well as zbctl .
This seems to suggest that the broker / gateway does not have TLS enabled, so as I have not updated my zbctl client will it not default to using an insecure connection?
Ive installed the latest version of zbctl, I was using the version that came with the zeebe-docker-compose repo .
I ran npm i -g zbctl and now when I run zbctl version I get:
zbctl development (commit: 8cf92c8b)
When I run zbctl status --insecure I still get the following error: Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = âtransport: Error while dialing dial tcp 127.0.0.1:26500: connectex: No connection could be made because the target machine actively refused it.â
The docker run command is: docker run camunda/zeebe:latest
I ran docker run camunda/zeebe:0.21.1 -p 26500:26500 but I still get the same error.
So, I have removed all containers and images and re-ran the command above, but I still got the same error when I ran zbctl status --insecure:
Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = âtransport: Error while dialing dial tcp 127.0.0.1:26500: connectex: No connection could be made because the target machine actively refused it.â
I tried running the same command but with the container IP e.g. zbctl status --address 172.17.0.2:26500 --insecure which failed but with a different error: Error: rpc error: code = DeadlineExceeded desc = context deadline exceeded
So, I updated the zeebe-docker-compose/operate/docker-compose.yml to:
services:
zeebe:
image: camunda/zeebe:0.21.1
And I can now access the Zeebe Broker!
When I run the command zbctl status --insecure I get the following response: