在谷歌的行动验证EPROTO错误

问题描述 投票:0回答:1

我正在使用行动SDK对谷歌的动作,但是当我使操作;如在描述的验证:

https://developers.google.com/actions/reference/rest/verify-requests

我得到下面的错误,这只能是当我是背后的企业代理,任何人都可以提出一个解决方案?

{ “错误”:“ID令牌验证失败:错误:无法检索验证证书:错误:写EPROTO 139904972138304:错误:140770FC:SSL例程:SSL23_GET_SERVER_HELLO:未知协议:../ DEPS / OpenSSL的/ OpenSSL的/ SSL / s23_clnt。 C:825:\ n \ n在OAuth2Client(/opt/app/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:580:31)\n在在Object.throw步骤(/opt/app/node_modules/actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:57:23)\n(/选择/应用程序/ node_modules /actions-on-google/node_modules/google-auth-library/build/src/auth/oauth2client.js:38:53)\n在拒绝(/选择/应用/ node_modules /行动上,谷歌/ node_modules /谷歌-auth库/建造/ SRC / AUTH / oauth2client.js:30:65)\ n在propagateAslWrapper(/opt/.npm-global/lib/node_modules/ca-apm-probe/node_modules/async-listener/index。 JS:502:23)\ n处/opt/.npm-global /opt/.npm-global/lib/node_modules/ca-apm-probe/node_modules/async-listener/glue.js:188:31\n / lib目录/ node_m odules / CA-APM-探针/ node_modules /异步监听/ index.js:539:70 \ n在/opt/.npm-global/lib/node_modules/ca-apm-probe/node_modules/async-listener/glue。 JS:188:31 \ n为:空:空\ n”}

我使用的行动上,谷歌V2.5.0

actions-on-google google-assistant-sdk
1个回答
0
投票

所以我能够理清这个问题,根本的问题是正在使用的谷歌身份验证库爱可信库(V1.3.2)

这里的问题:https://github.com/axios/axios/issues/662

对我来说,解决方法是,以取代在谷歌身份验证库要求爱可信的承诺,然后在我们的私人NPM注册表发布,这个问题得到了解决,现在。

© www.soinside.com 2019 - 2024. All rights reserved.