Keycloak in CloudFoundry with AWS-Aurora Postgres

Hey :slight_smile:
I am currently trying to set up a keycloak server using CloudFoundry. The whole thing works to the point where Keycloak has connected to aurora-postgres database. The tables are created in the database (obviously the connection seems to work successfully), but then the following errors appear and Keycloak shuts down:

06:41:38.548: [APP/PROC/WEB.0] 04:41:38,547 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 66) SQL Error: 0, SQLState: 42601
06:41:38.548: [APP/PROC/WEB.0] 04:41:38,548 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 66) ERROR: syntax error at or near "-"
06:41:38.548: [APP/PROC/WEB.0] Position: 124
06:41:38.562: [APP/PROC/WEB.0] 04:41:38,562 FATAL [org.keycloak.services] (ServerService Thread Pool -- 66) javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
...
...
...
06:41:38.704: [APP/PROC/WEB.0] 04:41:38,703 ERROR [[org.jboss.as](http://org.jboss.as/).controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "microprofile-metrics-smallrye")]): java.lang.NullPointerException
...
...
...
06:41:38.706: [APP/PROC/WEB.0] 04:41:38,704 ERROR [[org.jboss.as](http://org.jboss.as/).controller.management-operation] (Controller Boot Thread) WFLYCTL0190: Step handler [org.jboss.as](http://org.jboss.as/).server.DeployerChainAddHandler$FinalRuntimeStepHandler@8cb59a6 for operation add-deployer-chains at address [] failed handling operation rollback -- java.util.concurrent.RejectedExecutionException: java.util.concurrent.RejectedExecutionException
...
...
...
06:41:38.706: [APP/PROC/WEB.0] 04:41:38,705 ERROR [[org.jboss.as](http://org.jboss.as/).controller.client] (Controller Boot Thread) WFLYCTL0190: Step handler [org.jboss.as](http://org.jboss.as/).server.DeployerChainAddHandler$FinalRuntimeStepHandler@8cb59a6 for operation add-deployer-chains at address [] failed handling operation rollback -- java.util.concurrent.RejectedExecutionException
06:41:38.706: [APP/PROC/WEB.0] 04:41:38,705 ERROR [[org.jboss.as](http://org.jboss.as/).controller.management-operation] (ServerService Thread Pool -- 50) WFLYCTL0190: Step handler [org.jboss.as](http://org.jboss.as/).controller.AbstractAddStepHandler$1@21098552 for operation add at address [("subsystem" => "microprofile-metrics-smallrye")] failed handling operation rollback -- java.util.concurrent.RejectedExecutionException: java.util.concurrent.RejectedExecutionException

I used the latest (9.0.3) Dockerfile from the hub

Maybe you can help me :slight_smile:

(There is more log :smiley: How can I copy this here without exceeding the character limit)

Okay, the problem was that I put a “-” in the scheme. Without it, everything works fine.
[CLOSED]