While running my Inbound connector code I am facing the issue while running the application 1. My Application properties file
server.port=9899 #outbound
camunda.client.zeebe.grpc-address=http://localhost:26500
camunda.client.zeebe.rest-address=http://localhost:8088
camunda.client.auth.type=none #camunda.client.mode=self-managed
spring.autoconfigure.exclude=io.camunda.zeebe.spring.client.configuration.ZeebeClientStarterAutoConfiguration
scheduling-1] .c.c.r.i.e.InboundExecutableRegistryImpl : Inbound connector status report - 0 executables active
2025-08-15T17:54:01.000+05:30 ERROR 23664 — [ scheduling-1] i.c.c.r.i.i.ProcessDefinitionImporter : Failed to import process elements
java.lang.RuntimeException: Unable to authenticate
I can see you’re facing authentication and connection issues with your NATS Jetstream inbound connector. The error indicates that the connector runtime is trying to connect to localhost:8081 but getting a connection refused error.
Looking at your configuration, I notice a potential issue:
Problem Analysis
Port Mismatch: Your configuration shows:
operate.client.url=http://localhost:8080/operate
But the error shows it’s trying to connect to localhost:8081.
Configuration Property: For inbound connectors, you should use base-url instead of url for the Operate client configuration.
Solution
Please update your application properties file with the correct configuration:
# Replace this line:
# operate.client.url=http://localhost:8080/operate
# With these lines:
operate.client.base-url=http://localhost:8081
operate.client.username=demo
operate.client.password=demo
operate.client.profile=simple
Why This Happens
Port 8080: Default internal port for Operate inside the container
Port 8081: Commonly mapped external port for Operate in Docker/Kubernetes setups
base-url vs url: Inbound connectors specifically require the base-url property, not url
The ProcessDefinitionImporter needs to authenticate with Operate to import process definitions for the inbound connector to work properly.
Additional Checks
Verify Operate is running: Make sure Operate is accessible at http://localhost:8081
Check your Docker/Kubernetes port mappings: Confirm which port Operate is exposed on
Test the connection: Try accessing http://localhost:8081 in your browser
If you’re still having issues after making these changes, please share: