Я выполнил все инструкции из документации для запуска GRID , и вот что содержит мой / etc / gu .
и я создал ведро pan-domain-auth в s3, и вот файлы в нем file1
file2 Эти файлы были сгенерированы стеком Cognito в других сегментах s3 с помощью этой команды ./cognito/generate-settings.sh $ {CLOUDFORMATION_STACK} $ {REGION}
Также я добавил, libraryDependencies += "com.gu" %% "pan-domain-auth-verification" % "0.2.13";
строку для build.sbt в сетке.
и в конфиге Cognito,
Я поставил CALLBACK URL как http://localhost
Я сделал до 3-го шага от документы .
Вот что я получаю, когда запускаю ./dev-start.sh и захожу на localhost: 9002
`IllegalStateException: невозможно загрузить открытый ключ
Источник недоступен, вот трассировка стека исключений:
-> java.lang.IllegalStateException: невозможно загрузить открытый ключ
com.gu.pandomainauth.Settings $ .errorToThrowable (Settings.scala: 55)
. Com.gu.pandomainauth.PanDomainAuthSettingsRefresher (PanDomainAuthSettingsRefresher.scala: 35)
com.gu.mediaservice.lib.auth.Authentication.buildPandaSettings (Authentication.scala: 85)
com.gu.mediaservice.lib.auth.Authentication.panDomainSettings $ lzycompute (Authentication.scala: 43)
com.gu.mediaservice.lib.auth.Authentication.panDomainSettings (Authentication.scala: 43)
com.gu.pandomainauth.action.AuthActions.settings (Actions.scala: 26)
. Com.gu.pandomainauth.action.AuthActions $ INIT $ (Actions.scala: 71)
. Com.gu.mediaservice.lib.auth.Authentication (Authentication.scala: 26)
. Com.gu.mediaservice.lib.play.GridComponents (GridComponents.scala: 35)
ThrallComponents. (ThrallComponents.scala: 8)
Apploader $$ anonfun $$ lessinit $ больше $ 1.Apply (AppLoader.scala: 3)
Apploader $$ anonfun $$ lessinit $ больше $ 1.Apply (AppLoader.scala: 3)
com.gu.mediaservice.lib.play.GridAppLoader.load (GridAppLoader.scala: 11)
play.core.server.DevServerStart $$ Анон $ 1. $ anonfun $ перезагружать $ 3 (DevServerStart.scala: 174)
play.utils.Threads $ .withContextClassLoader (Threads.scala: 21)
play.core.server.DevServerStart $$ Анон $ 1.reload (DevServerStart.scala: 171)
play.core.server.DevServerStart $$ Анон $ 1.Get (DevServerStart.scala: 124)
play.core.server.AkkaHttpServer.handleRequest (AkkaHttpServer.scala: 241)
. Play.core.server.AkkaHttpServer $ anonfun $ createServerBinding $ 1 (AkkaHttpServer.scala: 138)
akka.stream.impl.fusing.MapAsyncUnordered $$ Анон $ 26.onPush (Ops.scala: 1304)
akka.stream.impl.fusing.GraphInterpreter.processPush (GraphInterpreter.scala: 519)
akka.stream.impl.fusing.GraphInterpreter.processEvent (GraphInterpreter.scala: 482)
akka.stream.impl.fusing.GraphInterpreter.execute (GraphInterpreter.scala: 378)
akka.stream.impl.fusing.GraphInterpreterShell.runBatch (ActorGraphInterpreter.scala: 588)
akka.stream.impl.fusing.GraphInterpreterShell $ AsyncInput.execute (ActorGraphInterpreter.scala: 472)
akka.stream.impl.fusing.GraphInterpreterShell.processEvent (ActorGraphInterpreter.scala: 563)
akka.stream.impl.fusing.ActorGraphInterpreter.akka $ поток $ осущ $ фьюзинг $ ActorGraphInterpreter $$ ProcessEvent (ActorGraphInterpreter.scala: 745)
akka.stream.impl.fusing.ActorGraphInterpreter $$ anonfun $ получить $ 1.applyOrElse (ActorGraphInterpreter.scala: 760)
akka.actor.Actor.aroundReceive (Actor.scala: 517)
akka.actor.Actor.aroundReceive $ (Actor.scala: 515)
akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive (ActorGraphInterpreter.scala: 670)
akka.actor.ActorCell.receiveMessage (ActorCell.scala: 588)
akka.actor.ActorCell.invoke (ActorCell.scala: 557)
akka.dispatch.Mailbox.processMailbox (Mailbox.scala: 258)
akka.dispatch.Mailbox.run (Mailbox.scala: 225)
akka.dispatch.Mailbox.exec (Mailbox.scala: 235)
akka.dispatch.forkjoin.ForkJoinTask.doExec (ForkJoinTask.java:260)
akka.dispatch.forkjoin.ForkJoinPool $ WorkQueue.runTask (ForkJoinPool.java:1339)akka.dispatch.forkjoin.ForkJoinPool.runWorker (ForkJoinPool.java:1979) akka.dispatch.forkjoin.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:107) *
* * * * *Я скучаю.Спасибо