I use a simple setup of 19.0.2 in a container (in fact running on a Dokku instance). The two-stage Dockerfile follows what is documented in the guides.
When trying to create the first realm, or also when opening Configure > Realm settings, I get a UI error notification and JS error in console. The notification says:
“expected expression, got end of script”
In console this shows:
“SyntaxError: expected expression, got end of script”
When switching back to release 19.0.1 this error disappears.
I’m having the same problem with a non-container setup, just running kc.sh build and then kc.sh start with Keycloak 19.0.2 on OpenJDK 17.0.1+12 and using a PostgreSQL database.
I just tried with Chrome instead of Firefox and there it works, so it also might be a Firefox JS issue.
The error points to the generated JS code ïndex.4ad08902.js:25:73, which is somewhere around here:
Error generating stack: +T.message+
`+T.stack}return{value:h,source:m,stack:z}function q3(h,m){try{console.error"
Error points to the dot in “console.error”, so likely this is nonsense.
In the server debug log I see some netty “GOAWAY” messages and some notes about the database autocommit setting, but nothing suspicious.
Also note that I am running an offline setup not connected to the internet.
Anything else I could provide to trace this? As febeling asked, does this warrant a GH issue?
Same error here. Your suggestion of trying chrome did work for me as well, so I think you’re right on the firefox idea. Sounds like they’ve got some sort of bug in there.