ara icon indicating copy to clipboard operation
ara copied to clipboard

Spring error at launch with ara-api v11+

Open yoannsark-decath opened this issue 2 years ago • 0 comments

Describe the bug After helm install, the ara-api pod crash with the following logs.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configure' defined in class path resource [com/decathlon/ara/configuration/security/CustomSecurity.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.web.SecurityFilterChain]: Factory method 'configure' threw exception; nested exception is java.lang.IllegalArgumentException: defaultTarget must start with '/' or with 'http(s)'

ara-stable-1647527786-api-b588d4f66-8ln2z.log

To Reproduce Helm install with :

  • database.mode: embedded
  • database.type: postgresql

Environment K8S Chart ara-stable 11.5.0 Image ara-api 12.1.4

yoannsark-decath avatar Mar 18 '22 18:03 yoannsark-decath