Error in deployment of Issuer API #81
Unanswered
abdulghafoor77
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I downloaded issuer API and build docker but when i executed RUN command it is giving following error.
Commands: $ sudo docker run -p 7002:7002 waltid/issuer-api --webHost=0.0.0.0 --webPort=7002 --baseUrl=http://localhost:7002
81 [main] DEBUG id.walt.issuer.Main - issuer CLI starting ...
86 [main] DEBUG id.walt.issuer.Main - Init walt services...
649 [main] INFO id.walt.issuer.Main - Reading configurations...
652 [main] DEBUG id.walt.issuer.base.config.ConfigManager - Loading configurations...
660 [main] DEBUG id.walt.issuer.base.config.ConfigManager - Loading configuration: "web"...
1921 [main] DEBUG id.walt.issuer.base.config.ConfigManager - Loading configuration: "issuer-service"...
1947 [main] DEBUG id.walt.issuer.base.config.ConfigManager - Loading configuration: "credential-issuer-metadata"...
1987 [main] ERROR id.walt.issuer.base.config.ConfigManager - Could not load configuration for "credential-issuer-metadata": com.sksamuel.hoplite.ConfigException: Error loading config because:
1991 [main] INFO id.walt.issuer.Main - Starting web server (binding to 0.0.0.0, listening on port 7002)...
2053 [DefaultDispatcher-worker-3] INFO ktor.application - Autoreload is disabled because the development mode is off.
2771 [DefaultDispatcher-worker-3] INFO ktor.application - Application stopping: io.ktor.server.application.Application@310dbfce
2777 [DefaultDispatcher-worker-3] INFO ktor.application - Application stopped: io.ktor.server.application.Application@310dbfce
Exception in thread "main" java.lang.ExceptionInInitializerError
at id.walt.issuer.CIProvider.(CIProvider.kt:56)
at id.walt.issuer.OidcApi.(OidcApi.kt:33)
at id.walt.issuer.OidcApi.(OidcApi.kt)
at id.walt.issuer.MainKt.issuerModule(Main.kt:47)
at id.walt.issuer.MainKt.issuerModule$default(Main.kt:43)
at id.walt.issuer.MainKt$main$6.invoke(Main.kt:30)
at id.walt.issuer.MainKt$main$6.invoke(Main.kt:30)
at io.ktor.server.engine.internal.CallableUtilsKt.executeModuleFunction(CallableUtils.kt:51)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$launchModuleByName$1.invoke(ApplicationEngineEnvironmentReloading.kt:332)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$launchModuleByName$1.invoke(ApplicationEngineEnvironmentReloading.kt:331)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.avoidingDoubleStartupFor(ApplicationEngineEnvironmentReloading.kt:356)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.launchModuleByName(ApplicationEngineEnvironmentReloading.kt:331)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.access$launchModuleByName(ApplicationEngineEnvironmentReloading.kt:32)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$instantiateAndConfigureApplication$1.invoke(ApplicationEngineEnvironmentReloading.kt:319)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading$instantiateAndConfigureApplication$1.invoke(ApplicationEngineEnvironmentReloading.kt:310)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.avoidingDoubleStartup(ApplicationEngineEnvironmentReloading.kt:338)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.instantiateAndConfigureApplication(ApplicationEngineEnvironmentReloading.kt:310)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.createApplication(ApplicationEngineEnvironmentReloading.kt:150)
at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.start(ApplicationEngineEnvironmentReloading.kt:277)
at io.ktor.server.cio.CIOApplicationEngine$initServerJob$1$2.invokeSuspend(CIOApplicationEngine.kt:207)
at io.ktor.server.cio.CIOApplicationEngine$initServerJob$1$2.invoke(CIOApplicationEngine.kt)
at io.ktor.server.cio.CIOApplicationEngine$initServerJob$1$2.invoke(CIOApplicationEngine.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at io.ktor.server.cio.CIOApplicationEngine$initServerJob$1.invokeSuspend(CIOApplicationEngine.kt:206)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
Caused by: io.ktor.server.plugins.NotFoundException: No loaded configuration: "credential-issuer-metadata"
at id.walt.issuer.CIProviderKt.(CIProvider.kt:430)
... 34 more
Any idea what is wrong?
Thanks in advance !
Beta Was this translation helpful? Give feedback.
All reactions