Open freja96 opened 2 weeks ago
Found variables in zeebe documentation
Config:
zeebe:
client:
broker.gatewayAddress: camunda-zeebe-gateway.camunda:26500
security.certpath: "/app/tls-crts/cert.pem"
cloud.client-id: client-id
cloud.client-secret: secret
cloud.auth-url: http://keycloak/auth/realms/camunda-platform/protocol/openid-connect/token
But now receiving other issue:
2024-08-29T07:02:00.223Z INFO 1 --- [ restartedMain] io.zeebe.monitor.ZeebeSimpleMonitorApp : Starting ZeebeSimpleMonitorApp using Java 21.0.2 with PID 1 (/app/classes started by root in /)
2024-08-29T07:02:00.242Z INFO 1 --- [ restartedMain] io.zeebe.monitor.ZeebeSimpleMonitorApp : No active profile set, falling back to 1 default profile: "default"
2024-08-29T07:02:39.034Z ERROR 1 --- [ restartedMain] i.c.c.auth.DefaultNoopAuthentication : Unable to determine authentication. Please check your configuration
2024-08-29T07:02:41.364Z ERROR 1 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
io.camunda.zeebe.spring.client.configuration.ZeebeClientConfiguration.getCredentialsProvider(ZeebeClientConfiguration.java:141)
The following method did not exist:
'io.camunda.zeebe.client.impl.oauth.OAuthCredentialsProviderBuilder io.camunda.zeebe.client.impl.oauth.OAuthCredentialsProviderBuilder.scope(java.lang.String)'
The calling method's class, io.camunda.zeebe.spring.client.configuration.ZeebeClientConfiguration, was loaded from the following location:
jar:file:/app/libs/spring-boot-starter-camunda-8.4.1.jar!/io/camunda/zeebe/spring/client/configuration/ZeebeClientConfiguration.class
The called method's class, io.camunda.zeebe.client.impl.oauth.OAuthCredentialsProviderBuilder, is available from the following locations:
jar:file:/app/libs/zeebe-client-java-8.3.4.jar!/io/camunda/zeebe/client/impl/oauth/OAuthCredentialsProviderBuilder.class
The called method's class hierarchy was loaded from the following locations:
io.camunda.zeebe.client.impl.oauth.OAuthCredentialsProviderBuilder: file:/app/libs/zeebe-client-java-8.3.4.jar
Action:
Correct the classpath of your application so that it contains compatible versions of the classes io.camunda.zeebe.spring.client.configuration.ZeebeClientConfiguration and io.camunda.zeebe.client.impl.oauth.OAuthCredentialsProviderBuilder
Issue while trying to configure connection between zeebe-simple-monitor to camunda-zeebe-gateway ( MultiTenancy: enabled, tls: enabled )
Logs:
Certificate is mounted to /etc/tls-crts/cert.pem ( already verified multiple times, and correct one )
application.yaml
Versions: | zeebe-simple-monitor image version: ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.7.2 | zeebe version: docker.io/camunda/zeebe:8.4.9