I´ve Installed the Docker Camunda Edition, and i need working with zbctl.
I need to fill the environments to contact the zeebe engine,
where i can create this Credentials ? I need to implement my own OAuth Server ?
export ZEEBE_ADDRESS=’[Zeebe API]’
export ZEEBE_CLIENT_ID=’[Client ID]’
export ZEEBE_CLIENT_SECRET=’[Client Secret]’
export ZEEBE_AUTHORIZATION_SERVER_URL=’[OAuth API]’
if you run Zeebe locally you can use different flags for zbctl.
--host string Specify the host part of the gateway address. If omitted, will read from the environment variable 'ZEEBE_HOST' (default '127.0.0.1')
--insecure Specify if zbctl should use an unsecured connection. If omitted, will read from the environment variable 'ZEEBE_INSECURE_CONNECTION'
--port string Specify the port part of the gateway address. If omitted, will read from the environment variable 'ZEEBE_PORT' (default '26500')
So you can also establish an insecure connection. So no need to implement an own OAuth Server.
I hope that helps
I ran zbctl with those flags but got “Error: rpc error: code = Unavailable desc = connection closed before server preface received”.
PS: I installed Camunda Platform 8 self-managed on a kubernetes cluster with helm charts. this is my pods:
NAME READY STATUS RESTARTS AGE
zeebe-zeebe-0 1/1 Running 0 3h37m
zeebe-zeebe-1 1/1 Running 0 3h37m
zeebe-zeebe-2 1/1 Running 0 3h37m
zeebe-zeebe-gateway-6dfd4df6b8-sngmk 1/1 Running 0 3h37m
zeebe-zeebe-gateway-6dfd4df6b8-srxhj 1/1 Running 0 3h37m
I had also applied a ingress to access zeebe-zeebe-gateway service.
Wish your help
I figure out the reason why I got this error……
I misconfig ingress to reply http/1 not GRPC