Camunda 8 optimize self managed

I have deployed Camunda in a self hosted kubernates env and getting the following error with Optimize.
Zeebebroke and operate are running fine. I can see the deployed BPMN in operate.

[PlatformUserIdentityCache-1] ERROR o.c.o.rest.engine.EngineContext - Failed to validate engine camunda-bpm version with error message: Engine didn’t respond. Can not verify this engine’s version
org.camunda.optimize.service.exceptions.OptimizeRuntimeException: Engine didn’t respond. Can not verify this engine’s version
at org.camunda.optimize.service.util.EngineVersionChecker.checkEngineVersionSupport(EngineVersionChecker.java:52)
at org.camunda.optimize.rest.engine.EngineContext.getEngineClient(EngineContext.java:103)
at org.camunda.optimize.rest.engine.EngineContext.getAuthorizationsForType(EngineContext.java:668)
at org.camunda.optimize.rest.engine.EngineContext.getAllApplicationAuthorizations(EngineContext.java:489)
at org.camunda.optimize.rest.engine.EngineContext.getApplicationAuthorizedIdentities(EngineContext.java:130)
at org.camunda.optimize.service.identity.PlatformUserIdentityCache.populateAllAuthorizedIdentitiesForEngineToCache(PlatformUserIdentityCache.java:55)
at org.camunda.optimize.service.identity.PlatformUserIdentityCache.lambda$populateCache$0(PlatformUserIdentityCache.java:50)
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1065)
at org.camunda.optimize.service.identity.PlatformUserIdentityCache.populateCache(PlatformUserIdentityCache.java:50)
at org.camunda.optimize.service.identity.AbstractIdentityCache.synchronizeIdentities(AbstractIdentityCache.java:148)
at org.camunda.optimize.service.identity.AbstractIdentityCache.syncIdentitiesWithRetry(AbstractIdentityCache.java:114)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
12:53:48.715 [PlatformUserIdentityCache-1] ERROR o.c.o.rest.engine.EngineContext - Could not fetch application authorizations from the Engine with alias [camunda-bpm] to check the access permissions.
org.camunda.optimize.service.exceptions.OptimizeRuntimeException: Engine didn’t respond. Can not verify this engine’s version
at org.camunda.optimize.service.util.EngineVersionChecker.checkEngineVersionSupport(EngineVersionChecker.java:52)
at org.camunda.optimize.rest.engine.EngineContext.getEngineClient(EngineContext.java:103)
at org.camunda.optimize.rest.engine.EngineContext.getAuthorizationsForType(EngineContext.java:668)
at org.camunda.optimize.rest.engine.EngineContext.getAllApplicationAuthorizations(EngineContext.java:489)
at org.camunda.optimize.rest.engine.EngineContext.getApplicationAuthorizedIdentities(EngineContext.java:130)
at org.camunda.optimize.service.identity.PlatformUserIdentityCache.populateAllAuthorizedIdentitiesForEngineToCache(PlatformUserIdentityCache.java:55)
at org.camunda.optimize.service.identity.PlatformUserIdentityCache.lambda$populateCache$0(PlatformUserIdentityCache.java:50)
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1065)
at org.camunda.optimize.service.identity.PlatformUserIdentityCache.populateCache(PlatformUserIdentityCache.java:50)
at org.camunda.optimize.service.identity.AbstractIdentityCache.synchronizeIdentities(AbstractIdentityCache.java:148)
at org.camunda.optimize.service.identity.AbstractIdentityCache.syncIdentitiesWithRetry(AbstractIdentityCache.java:114)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Hi @chandresh.mishra ,
it looks like you are running Optimize on Camunda Platform 7 mode in a Camunda 8 self managed environment. Can you please set the environment variable SPRING_PROFILES_ACTIVE to ccsm and try again. There may also be other envirnment variables that need set in your environment, see the docs here. Hope that helps! let me know if there are any other issues
Thanks,
Helene

I see SPRING_PROFILES_ACTIVE in optimize HELM template but it is under the {{- if .Values.global.identity.auth.enabled }}. Should it be outside this ? I haven’t enabled auth as we are not using the identity.

Hi @chandresh.mishra ,
Optimize requires identity to run in CCSM, I’m not aware of other configurations so you’ll probably need to enable it.