Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unable to determine authentication. Please check your configuration" Error on springboot application start up using spring-zeebe #751

Open
mugdhavarpe opened this issue Apr 5, 2024 · 0 comments

Comments

@mugdhavarpe
Copy link

Describe the bug

We have a self-managed C8 setup which we have upgraded to 8.4 version. Just standing up zeebe gateway and brokers. Not using identity, operate or any of the other servies.

When trying to update the spring-boot-starter-camunda to 8.4.2 and zeebe-client-java to 8.4.5 , getting error message at application start up -

2024-04-05T13:31:05.596-04:00 INFO 6241 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
2024-04-05T13:31:05.613-04:00 INFO 6241 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-04-05T13:31:05.613-04:00 INFO 6241 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.19]
2024-04-05T13:31:05.664-04:00 INFO 6241 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-04-05T13:31:05.664-04:00 INFO 6241 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1742 ms
2024-04-05T13:31:06.257-04:00 ERROR 6241 --- [ main] i.c.c.auth.DefaultNoopAuthentication : Unable to determine authentication. Please check your configuration
2024-04-05T13:31:06.262-04:00 INFO 6241 --- [ main] z.s.c.c.ZeebeClientProdAutoConfiguration : Creating ZeebeClient using ZeebeClientConfiguration [io.camunda.zeebe.spring.client.configuration.ZeebeClientConfiguration@31b6fb14]

Additional details - https://forum.camunda.io/t/camunda-8-upgrade-8-2-8-4/51264

To Reproduce

Import the below dependency in a java spring application -

io.camunda.spring
spring-boot-starter-camunda
8.4.2



io.camunda
zeebe-client-java
8.4.5

Create the zeebe-client with some basic grpc calls and start the application, you can see the error at the application start up.

application.yml

zeebe:
client:
broker:
gateway-address: "127.0.0.1:26500"
security:
plaintext: true

Expected behavior

There should not be any error message at application start up.

Log/Stacktrace

Screenshot 2024-04-05 at 1 39 33 PM
<STACKTRACE>

Environment:

  • OS:
  • Deployment: Self-managed zeebe 8.4.5
  • Spring-Zeebe Version:8.2.4
  • SpringBoot Version: 3.2.4
  • Configuration:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant