OpenIdentityPlatform / OpenAM

OpenAM is an open access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security.
https://www.openidentityplatform.org/openam
Other
757 stars 149 forks source link

Creating default configuration fails with fatal error: cannot obtain application SSO token #756

Closed k2aj closed 2 months ago

k2aj commented 2 months ago

Describe the bug I'm trying to run OpenAM 15.0.0 using the official container image and instructions from Docker Hub. Attempting to create a default configuration fails with the error message:

AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token., refer to install.log under /usr/openam/config for more information.

I've attached the mentioned install.log file.

To Reproduce

  1. Add openam-01.domain.com to the hosts file.
  2. Run the docker container: docker run -h openam-01.domain.com -p 8080:8080 --name openam-01 openidentityplatform/openam:15.0.0.
  3. Open openam-01.domain.com/openam in your browser.
  4. Click Create default Configuration
  5. Fill passwords in the popup and click Create Configuration
  6. It fails with the message AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token., refer to install.log under /usr/openam/config for more information.

Expected behavior Creating the default configuration succeeds.

Desktop (please complete the following information):

maximthomas commented 2 months ago

Hello,

Run the OpenAM setup process again with the debug mode enabled using the following command:

docker run -h openam.example.org -p 8080:8080 --network openam --name openam openidentityplatform/openam:15.0.0 \
 "sh" "-c" "CATALINA_OPTS=\"\$CATALINA_OPTS -Dcom.iplanet.services.debug.level=message\" && /usr/local/tomcat/bin/catalina.sh run"

Then attach the log files from the docker /usr/openam/config/openam/debug directory. I guess it could help to diagnose the cause of the problem