首页 > 解决方案 > 远程主机强制关闭现有连接 - Google Actions SDK (gactions)

问题描述

我们正在尝试通过在 CLI 中执行以下命令来使用操作 SDK 更新我们的 google 操作。

命令:

gactions update --action_package GoogleAssistantAction.json --project PROJECTNAMEHERE

以下是我们收到的错误消息

错误信息:

Error: Get https://dl.google.com/gactions/updates.json: read tcp 172.30.63.145:1430->172.217.13.238:443: wsarecv: An existing connection was forcibly closed by the remote host.
Pushing the app for the Assistant for testing...
POST /v2/users/me/previews/PROJECT NAME HERE:batchUpdatePreviewFromAgentDraft HTTP/1.1
Host: actions.googleapis.com
User-Agent: Gactions-CLI/2.1.3 (windows; amd64; stable/dff629ae63fd0b047d19687b79274524569714e6)
Content-Length: 540
Content-Type: application/json
Accept-Encoding: gzip

但是,根据我们的研究和故障排除,我们发现问题源于gactions没有代理感知。所有互联网流量都应该通过 bluecoat 代理,然后通过防火墙。但是,我们的互联网流量(端口 443)直接到达互联网,这导致它被防火墙阻止。任何人都可以帮助确定我们应用程序中的代理设置,以便它不会直接访问互联网吗?谢谢!

标签: actions-on-google

解决方案


目前gactions只支持透明代理配置。也就是说,进程不需要明确知道的代理配置。

不幸的是,我无法为您提供有关 bluecoat 的具体指导。如果您能够将其配置为透明代理,那么 gactions 应该可以在您的环境中运行。


推荐阅读