Connecting to Camunda

544 Views Asked by At

Am not able to connect to Camunda Cloud via nodejs

12:04:22.537 | zeebe | INFO: Error connecting to Camunda Cloud. 12:04:22.656 | zeebe | ERROR: [topology]: Attempt 7 (max: -1). 12:04:22.661 | zeebe | ERROR: [topology]: 14 UNAVAILABLE: DNS resolution failed

1

There are 1 best solutions below

2
rob2universe On

Make sure the environment variables documented here: https://docs.camunda.io/docs/apis-clients/cli-client/ are set correctly.

export ZEEBE_ADDRESS='[Zeebe API]'
export ZEEBE_CLIENT_ID='[Client ID]'
export ZEEBE_CLIENT_SECRET='[Client Secret]'
export ZEEBE_AUTHORIZATION_SERVER_URL='[OAuth API]'

https://docs.camunda.io/docs/guides/setup-client-connection-credentials/ should you how to create and download these.

Since the DNS resolution fails, you may have gotten the ZEEBE_ADDRESS wrong.