Camunda Optimize stuck on "Start scheduling import from engine camunda-bpm"

Hi all,

We’re evaluating Camunda enterprise edition and with that Camunda Optimize. When starting up Camunda Optimize we at some point see the log statement “Start scheduling import from engine camunda-bpm”. However, it never seems to do anything after that. Any pointers on what could be causing this?

Some context:

  • When opening the webapp it shows the green light for camunda-bpm and Elasticsearch and the camunda-bpm will start loading from time to time.
  • We have setup https://camunda.com/blog/2019/08/keycloak-identity-provider-extension/ and https://github.com/camunda/camunda-optimize-examples/tree/master/plugins/sso-plugin where we temporarily hard-code the authenticated user to one that has access to everything (including process definition). When opening the webapp we get the logs:
    Error while validating authentication token [eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJvbWl0dGVkIiwiaXNzIjoiT3B0aW1pemUtMy40LjAiLCJpYXQiOjE2MTkyMTAwNjQsImp0aSI6IjM5YmUyN2ZiLTQzOWUtNDkyZC1hN2M0LThkZmFjYzIzODNhNSJ9.oRGu7Nj6gu9msA6BtKS1jem2RtEQecZvWz87pWde-rA]. Invalid signature or claims!
    com.auth0.jwt.exceptions.SignatureVerificationException: The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256
  • We’ve temporarily disabled authorization on /rest-engine/*

Thanks in advance for any pointers!

Ok, I basically tried the good old “turn it off and on again”. I deleted the elasticsearch data and after that it started working. The elasticsearch database was used before by camunda-optimize-examples/optimize-sso-keycloak-example at master · camunda/camunda-optimize-examples · GitHub. No clue why using the same elasticsearch database would cause it to fail importing.

1 Like