Hello,
I’ve migrated my web service running an embedded Camunda process engine to:
- Spring Boot 3.1.5
- Camunda 7.20
The container is running in an AWS Fargate ECS behind an AWS Application Load Balancer. When I’ve previously migrated my environment to the AWS VPC, I had also troubles to get the initial login panel. I’ve added the following properties to the Spring Boot 2.X application:
- Running behind an ALB → http locally, but https externally
server.tomcat.use-relative-redirects: true
But now after the latest migration, the login screen is not coming and the following error is displayed in my Chrome console:
camunda-welcome-bootstrap.js?bust=7.20.0:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘customScripts’)
at camunda-welcome-bootstrap.js?bust=7.20.0:2:227742
at d (camunda-welcome-bootstrap.js?bust=7.20.0:2:220328)
at Generator. (camunda-welcome-bootstrap.js?bust=7.20.0:2:221665)
at Generator.next (camunda-welcome-bootstrap.js?bust=7.20.0:2:220691)
at s (camunda-welcome-bootstrap.js?bust=7.20.0:2:227083)
at o (camunda-welcome-bootstrap.js?bust=7.20.0:2:228784)
at camunda-welcome-bootstrap.js?bust=7.20.0:2:228843
at new Promise ()
at camunda-welcome-bootstrap.js?bust=7.20.0:2:228724
at camunda-welcome-bootstrap.js?bust=7.20.0:2:228888
What I can see is that this last displayed URL is not working:
https://(server)/ → https://(server)/camunda/app/welcome/default/
But I can get the login panel if I provide the following URL:
https://(server)/camunda/app/cockpit/default/#/login
How can I fix this redirection issue?
PS: After really clearing the cache when debugging my app, I have also the same error locally:
http://localhost:8860/camunda/app/welcome/default/
BR
Pascal