Hello,
I’m Following the tutorial youtube shared by @Niall , using the template connector-template-outbound
it is very useful but it assume using camunda cloud ,
in my case it is a Self-Managed Deployment, the connector works fine when build the jar and mount it to the connectors docker ,
but run the project from the “LocalConnectorRuntime.java” is not working and show me the below error
11012 WARNING [grpc-default-executor-0] --- io.camunda.zeebe.client.job.poller: Failed to activate jobs for worker COCTFOLDERWATCHER and job type com.coct:folder.watcher:1
io.grpc.StatusRuntimeException: UNAUTHENTICATED: Expected bearer token at header with key [authorization], but found nothing
at io.grpc.Status.asRuntimeException(Status.java:537)
at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:481)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:567)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:71)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:735)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:716)
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)
below is the content of the “application.properties”
# Configuration for running connectors locally in bundle with connector-runtime
server.port=9898
zeebe.client.broker.gateway-address=192.168.0.174:26500
zeebe.client.security.plaintext=true
camunda.connector.polling.enabled=false
camunda.operate.client.url=http://192.168.0.174:8080
camunda.connector.webhook.enabled=false
spring.main.web-application-type=none
operate.client.enabled=false
camunda.operate.client.clientId=operate
camunda.operate.client.clientSecret=XALaRPl5qwTEItdwCMiPS62nVpKs7dL7
common.clientId=zeebe
common.clientSecret=zecret