Camunda 8 + Spring Boot locally

Hello everyone!

I try to raise the server locally, but faced with the problem.

First of all according to documentation I installed and run elasticsearch, zeebe and operate. After that I download code from GitHub - camunda-community-hub/spring-zeebe: Easily use the Zeebe Java Client in your Spring or Spring Boot projects and launch it. However, I cannot monitor anything at localhost. Could anybody say possible reasons of the mistake?

Best regards

Hi @Dias_Alpysbayev

The first step is to make sure that the server is running locally. What do you see in the logs when you start the components?

Can you see the Operate UI running in a web browser?

Can you get the topology of the Zeebe cluster using the zbctl CLI?

Josh

Hello again

I can see Operate UI on localhost:8080

After launch StarterApplication in spring-zeebe-master (github link) I see logs:
2022-06-20 17:04:09.425 INFO 20340 — [ main] i.c.z.s.c.ZeebeClientSpringConfiguration : Creating ZeebeClient using ZeebeClientBuilder [gatewayAddress: 127.0.0.1:26500
jobWorkerMaxJobsActive: 32
numJobWorkerExecutionThreads: 1
defaultJobWorkerName: null
defaultJobTimeout: PT5M
defaultJobPollInterval: PT0.1S
defaultMessageTimeToLive: PT1H
defaultRequestTimeout: PT10S
overrideAuthority: null
]
2022-06-20 17:04:10.336 INFO 20340 — [ main] c.a.p.ZeebeDeploymentAnnotationProcessor : Deployed: demoProcess:1
2022-06-20 17:04:10.351 INFO 20340 — [ main] i.c.z.spring.example.StarterApplication : Started StarterApplication in 2.123 seconds (JVM running for 2.777)
2022-06-20 17:04:10.408 INFO 20340 — [pool-2-thread-1] i.c.z.spring.example.StarterApplication : started instance for workflowKey=‘2251799813685314’, bpmnProcessId=‘demoProcess’, version=‘1’ with workflowInstanceKey=‘2251799813701463’

However, I did not understand about zbctl. I didn’t see it in documentation.

For zbctl, see here: CLI client | Camunda Platform 8

And here: zbctl - npm

After installation I typed command zbctl status. The response is:

Error: rpc error: code = Unavailable desc = connection error: desc = “transport: authentication handshake failed: tls: first record does not look like a TLS handshake”

Could you please advise what to do next?

Try zbctl status --insecure

Hello!

I found out that operate cannot work with elastic locally. Do you know how to solve it?

Can you share the configuration you use or more details how you set up the components?

I implemented all steps according to documentation. Local installation | Camunda Platform 8

First of all I launched Elastic. After that started Zeebe. When I launch Operate, it throws ElasticException. I found the next article here Operate 8.0.1 not supporting Elasticsearch 8.1.3? - #5 by Zelldon