I just try to run model-server with ../gradlew run command. But it does not start. I always got an error related with keycloak.
`11:11:11.517 [main] INFO ktor.application - Autoreload is disabled because the development mode is off.
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1$3.invoke(KtorAuthUtils.kt:55)
at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1$3.invoke(KtorAuthUtils.kt:54)
at io.ktor.server.auth.jwt.JWTAuthKt.jwt(JWTAuth.kt:326)
at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1.invoke(KtorAuthUtils.kt:54)
at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1.invoke(KtorAuthUtils.kt:41)
at io.ktor.server.auth.Authentication$Companion.install(Authentication.kt:98)
at io.ktor.server.auth.Authentication$Companion.install(Authentication.kt:94)
at io.ktor.server.application.ApplicationPluginKt.install(ApplicationPlugin.kt:98)
at org.modelix.authorization.KtorAuthUtilsKt.installAuthentication(KtorAuthUtils.kt:41)
at org.modelix.model.server.Main$main$ktorServer$1.invoke(Main.kt:247)
at org.modelix.model.server.Main$main$ktorServer$1.invoke(Main.kt:245)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$instantiateAndConfigureApplication$1.invoke(ApplicationEngineEnvironmentReloading.kt:323)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$instantiateAndConfigureApplication$1.invoke(ApplicationEngineEnvironmentReloading.kt:312)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.avoidingDoubleStartup(ApplicationEngineEnvironmentReloading.kt:340)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.instantiateAndConfigureApplication(ApplicationEngineEnvironmentReloading.kt:312)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.createApplication(ApplicationEngineEnvironmentReloading.kt:149)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.start(ApplicationEngineEnvironmentReloading.kt:279)
at io.ktor.server.netty.NettyApplicationEngine.start(NettyApplicationEngine.kt:185)
at org.modelix.model.server.Main.main(Main.kt:290)
Caused by: java.lang.IllegalArgumentException: Configuration URL can not be null.
at org.keycloak.authorization.client.AuthzClient.(AuthzClient.java:253)
at org.keycloak.authorization.client.AuthzClient.create(AuthzClient.java:94)
at org.modelix.authorization.KeycloakUtils.(KeycloakUtils.kt:35)
... 19 more
[11:11:20] New version is available at ignite.apache.org: 2.14.0
<============-> 94% EXECUTING [1m 21s]
Hi,
I just try to run model-server with
../gradlew run
command. But it does not start. I always got an error related with keycloak.`11:11:11.517 [main] INFO ktor.application - Autoreload is disabled because the development mode is off. Exception in thread "main" java.lang.ExceptionInInitializerError at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1$3.invoke(KtorAuthUtils.kt:55) at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1$3.invoke(KtorAuthUtils.kt:54) at io.ktor.server.auth.jwt.JWTAuthKt.jwt(JWTAuth.kt:326) at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1.invoke(KtorAuthUtils.kt:54) at org.modelix.authorization.KtorAuthUtilsKt$installAuthentication$1.invoke(KtorAuthUtils.kt:41) at io.ktor.server.auth.Authentication$Companion.install(Authentication.kt:98) at io.ktor.server.auth.Authentication$Companion.install(Authentication.kt:94) at io.ktor.server.application.ApplicationPluginKt.install(ApplicationPlugin.kt:98) at org.modelix.authorization.KtorAuthUtilsKt.installAuthentication(KtorAuthUtils.kt:41) at org.modelix.model.server.Main$main$ktorServer$1.invoke(Main.kt:247) at org.modelix.model.server.Main$main$ktorServer$1.invoke(Main.kt:245) at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$instantiateAndConfigureApplication$1.invoke(ApplicationEngineEnvironmentReloading.kt:323) at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$instantiateAndConfigureApplication$1.invoke(ApplicationEngineEnvironmentReloading.kt:312) at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.avoidingDoubleStartup(ApplicationEngineEnvironmentReloading.kt:340) at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.instantiateAndConfigureApplication(ApplicationEngineEnvironmentReloading.kt:312) at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.createApplication(ApplicationEngineEnvironmentReloading.kt:149) at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.start(ApplicationEngineEnvironmentReloading.kt:279) at io.ktor.server.netty.NettyApplicationEngine.start(NettyApplicationEngine.kt:185) at org.modelix.model.server.Main.main(Main.kt:290) Caused by: java.lang.IllegalArgumentException: Configuration URL can not be null. at org.keycloak.authorization.client.AuthzClient.(AuthzClient.java:253)
at org.keycloak.authorization.client.AuthzClient.create(AuthzClient.java:94)
at org.modelix.authorization.KeycloakUtils.(KeycloakUtils.kt:35)
... 19 more
[11:11:20] New version is available at ignite.apache.org: 2.14.0
<============-> 94% EXECUTING [1m 21s]
Is there any solution ?