but i dont where is it configuring the [localhost/127.0.0.1] because the idea is that it points to the cloud instance.
I have already updated the env.txt with :
ZEEBE_ADDRESS=
ZEEBE_CLIENT_ID=
ZEEBE_CLIENT_SECRET=
ZEEBE_AUTHORIZATION_SERVER_URL=
ZEEBE_TOKEN_AUDIENCE=
CAMUNDA_CLUSTER_ID=
CAMUNDA_CLUSTER_REGION=
CAMUNDA_CREDENTIALS_SCOPES=
CAMUNDA_TASKLIST_BASE_URL=
CAMUNDA_OPTIMIZE_BASE_URL=
CAMUNDA_OPERATE_BASE_URL=
CAMUNDA_OAUTH_URL=
OPENWEATHER_API_KEY=
i will use a different version of connector so i use the 0.23.2 like this:
docker run --rm --name=connectors -v “C:/Users/Admin/Desktop/xample/camunda-8-connector-openweather-api/target/openweather-api-0.1.0-SNAPSHOT.jar”:/opt/app/connector.jar --env-file env.txt camunda/connectors-bundle:0.23.2
But i have also thied the way its suggested there “docker run --rm --name=connectors -v “C:/Users/Admin/Desktop/xample/camunda-8-connector-openweather-api/target/openweather-api-0.1.0-SNAPSHOT.jar”:/opt/app/connector.jar --env-file env.txt camunda/connectors-bundle:0.2.0” and it gives me this other error:
"2023-10-13 19:40:26.760 WARN 1 — [ault-executor-2] io.camunda.zeebe.client.job.poller : Failed to activate jobs for worker OpenWeatherAPI and job type io.camunda:weather-api:1
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at io.grpc.Status.asRuntimeException(Status.java:535)
at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:487)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:563)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:744)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /0.0.0.0:26500
Caused by: java.net.ConnectException: Connection refused"
Thanks, I wanted to confirm you were trying to run it through the Docker image. You need to use a different set of environment variables for the Connecter Runtime. Have a look at the documentation on this page and let me know if you have any questions!
Thank you so much. it did work with this in env txt:
zeebe.client.cloud.cluster-id=
zeebe.client.cloud.client-id=
zeebe.client.cloud.client-secret=
zeebe.client.cloud.region=
CONNECTOR_OpenWeatherAPI_FUNCTION=
CONNECTOR_OpenWeatherAPI_TYPE=
OPENWEATHER_API_KEY=