TheGuardian运行GRID的问题

时间:2019-06-20 13:05:51

标签: scala playframework

我已按照文档中所有关于运行GRID的说明进行操作,这就是我的/etc/gu所包含的内容。 我已经在s3中创建了pan-domain-auth存储桶,这是其中的文件file1 file2这些文件是使用此命令由其他s3存储桶中的cognito堆栈生成的。/cognito/generate-settings.sh$ {CLOUDFORMATION_STACK} $ {REGION}

我还添加了libraryDependencies += "com.gu" %% "pan-domain-auth-verification" % "0.2.13";行到grid中的build.sbt。 并在Cognito配置中

我将CALLBACK URL设置为http://localhost 我已经完成了从docs开始的第三步。 这是我运行./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 $ greater $ 1.apply(AppLoader.scala:3)        AppLoader $$ anonfun $$ lessinit $ greater $ 1.apply(AppLoader.scala:3)        com.gu.mediaservice.lib.play.GridAppLoader.load(GridAppLoader.scala:11)        play.core.server.DevServerStart $$ anon $ 1. $ anonfun $ reload $ 3(DevServerStart.scala:174)        play.utils.Threads $ .withContextClassLoader(Threads.scala:21)        play.core.server.DevServerStart $$ anon $ 1.reload(DevServerStart.scala:171)        play.core.server.DevServerStart $$ anon $ 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 $$ anon $ 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 $ stream $ impl $ fusing $ ActorGraphInterpreter $$ processEvent(ActorGraphInterpreter.scala:745)        akka.stream.impl.fusing.ActorGraphInterpreter $$ anonfun $ receive $ 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)`

您能调查一下,我想念的是什么。 谢谢

0 个答案:

没有答案