Getting the below error when trying to search Query process instances (alpha) the below curl command and i am trying to run camunda 8 as a standalone for development purpose if i use the same curl with camunda c8 run i am getting response but getting the below error when trying in standalone
Hi @rohwerj thanks for the reply yes i have activated the query api enabled to true
CAMUNDA_REST_QUERY_ENABLED=true
but still getting error is there any way i can see the error logs for the response from query api i have updated the logs to debug mode still i dont see any error logs , If i try the same request in windows c8 run local i am getting response instead of bad request
Found the issue for query api but now i am getting connection refused for the above request
io.camunda.zeebe.gateway.rest - Expected to handle REST API request, but there was a connection error with one of the brokers
java.net.ConnectException: Connection refused
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:934) ~[elasticsearch-rest-client-8.13.4.jar:8.13.4]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:304) ~[elasticsearch-rest-client-8.13.4.jar:8.13.4]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:292) ~[elasticsearch-rest-client-8.13.4.jar:8.13.4]
at co.elastic.clients.transport.rest_client.RestClientHttpClient.performRequest(RestClientHttpClient.java:91) ~[elasticsearch-java-8.13.4.jar:?]
but when i do curl command inside the zeebe container i am getting response
curl --location --request POST ‘http://elasticsearch:9200/operate-list-view*/_search’ --data ‘’
{“took”:1,“timed_out”:false,“_shards”:{“total”:1,“successful”:1,“skipped”:0,“failed”:0},“hits”:{“total”:{“value”:0,“relation”:“eq”},“max_score”:null,“hits”:}}
The issue is these are the indices which are not created when zeebe started
i am using docker compose to run in my local for testing and using the zeebe version 8.7.0-alpha2
zeebe-record_process-instance_8.6.5_2024-12-11 mdVWiNn1QZalIOL2MqnzKw 3 0 0 0 747b 747b 747b
green open zeebe-record_process-instance_8.6.5_2024-12-10