Optimize shuts down right after startup

I have downloaded optimize 2.6 to play around a bit however im having trouble starting it → it shuts down immediately.
im following these guides:

i have engine with webapp and rest enabled running locally:
http://localhost:9082/rest/engine returns [{"name":"default"}]

this is my enviroment-config.yaml:

container:
  host: 0.0.0.0
  ports:
    http: 10101
    https: 10102
  accessUrl: null
engines:
  'camunda-bpm':
    name: default
    defaultTenant:
      id: null
      name: null
    rest: 'http://localhost:9082/rest/engine

im trying to run it on windows with optimize-demo.bat. It seems like elastic is starting properly but optimize just pops up console with message Optimize has been started. Use CTRL + C to stop Optimize! and disappears immediately. Any idea what might be wrong?

This is elastic’s log:
elastic-log.txt (9.8 KB)

Hi @JohnArray

happy to hear that you are trying Optimize 2.6.
You can try to remove the ‘engine’ from your engines.rest configuration.
rest: ‘http://localhost:9082/rest/

Also could you post the Optimize logs here so we can have a look on what is going wrong?

Best
Felix

Hi @felix-mueller,
changing rest path did not help. I have found the optimize log just now (haven’t thought about it before you mentioned it, lol) and it seems like its not recognizing engine version, here are logs:
optimize.log (14.3 KB)

which seems weird since im using:

 	<dependency>
		<groupId>org.camunda.bpm.springboot</groupId>
		<artifactId>camunda-bpm-spring-boot-starter-webapp-ee</artifactId>
		<version>3.3.3</version>
	</dependency>
	<dependency>
		<groupId>org.camunda.bpm.extension.springboot</groupId>
		<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
		<version>2.2.0</version>
	</dependency> 
    <dependency>
		<groupId>org.camunda.bpm</groupId>
		<artifactId>camunda-bom</artifactId>
		<version>7.11.0-ee</version>
		<scope>import</scope>
		<type>pom</type>
    </dependency>

Hi @JohnArray

can you try to use a different rest dependency?

<dependency>
  <groupId>org.camunda.bpm.springboot</groupId>
  <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
  <version>3.3.3</version>
</dependency> 

Best
Felix