scala - TheGuardian 运行 GRID 的问题
问题描述
我已按照文档中的所有说明运行GRID,这就是我的/etc/gu包含的内容。我在 s3 中创建了 pan-domain-auth 存储桶,这是其中的文件file1 file2这些文件是由 cognito stack 在其他 s3 存储桶中使用此命令生成的 ./cognito/generate-settings.sh ${CLOUDFORMATION_STACK} ${地区}
我还添加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: Unable to download public key 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)`
你能调查一下吗,我错过了什么。谢谢
解决方案
推荐阅读
- vue.js - 浅山深一层
- c# - 从字符串中删除隐藏的字符
- c++ - 使用类模板的内部类模板专门化模板
- python - 我想将我的应用程序提供给某人,但它在他的计算机上不起作用 Python pyinstaller
- visual-studio-2015 - Visual Studio 2015 在哪里存储其 Git 配置信息?
- python - 如何根据使用 Selenium 的 html 从使用 xpath 找到的元素中检索属性 aria-label 的值
- java - 如何分配字符串值并将其存储在 hashmap 中,然后单独检索它?
- javascript - 在 React Native 中从两个类传递数据
- gensim - 更新word2vec模型是否需要混合旧语料库和新语料库?
- php - 我无法注册我的数据库!据说 DoctrineServiceProvider 永远不会被更多使用