Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keycloak fails with 404 error #226

Open
jonas2515 opened this issue Nov 3, 2023 · 4 comments
Open

Keycloak fails with 404 error #226

jonas2515 opened this issue Nov 3, 2023 · 4 comments
Assignees

Comments

@jonas2515
Copy link

We're trying to setup open Datenschutzcenter on Ubuntu 22.04 LTS here and ran into a few issues with the install scripts:

  • the commands to generate a random string from /dev/urandom never return, what works instead of cat is dd if=/dev/urandom count=1 2>/dev/null as that specifies the number of bytes to be read.
  • after the install is done, the containers get started and the services should be available. When accessing the service, a redirect to keycloak.domain.tld happens as expected, but that returns a 404 error. We tried with both the "prod" and the "dev" installations as well as "http" and "https".
@holema holema self-assigned this Nov 3, 2023
@holema
Copy link
Collaborator

holema commented Nov 3, 2023

Hello @jonas2515,

I will try to reproduce the error.
The last time I started the installation script it worked.
Did you start the installation script with http and then change to https?

Try to completly clean up your installation by

docker-compose down -v
bash installOdcDocker.sh

@jonas2515
Copy link
Author

Did you start the installation script with http and then change to https?

Nope, tried to completely re-run it a few times with different configurations, none of them worked I'm afraid? What's the recommended settings? For me "prod" and "http" would be good, as it's supposed to run behind a reverse proxy.

@holema
Copy link
Collaborator

holema commented Nov 6, 2023

Hello @jonas2515,

We suggest du run the installation directly with the traefik reverse proxy to the internet. I think that your reverse proxy is doing the ssl termination.
Is the domain only internal accessable?

@holzi1005
Copy link
Collaborator

Hello @jonas2515 ,

I would recommend to still to prod and https because http is only working together with dev. That is a limitation of symfony, because in prod, the login must be over https.
However, the reverse proxy must have an valide certificate to use prod again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants