actions-on-google - 远程主机强制关闭现有连接 - 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)直接到达互联网,这导致它被防火墙阻止。任何人都可以帮助确定我们应用程序中的代理设置,以便它不会直接访问互联网吗?谢谢!
解决方案
目前gactions只支持透明代理配置。也就是说,进程不需要明确知道的代理配置。
不幸的是,我无法为您提供有关 bluecoat 的具体指导。如果您能够将其配置为透明代理,那么 gactions 应该可以在您的环境中运行。
推荐阅读
- angular - RxJS - 可观察到模型对象
- html - 未定义标识符“图像”。'never' 不包含这样的成员
- excel - 根据单元格值将行复制到工作表底部并按升序排序
- reactjs - React 应用程序不与 shopify api 通信
- python - .fillna 打破 .dt.normalize()
- angular - 当 OnInit 中的语言更改时, translateService.onLangChange.subscribe 不会触发
- python - Tensorflow object detection api v1 object detection api mask_rcnn_inception_v2_coco 慢推理和内存泄漏
- typescript - 如何使用区分大小写的错字使 Typescript 检测导入路径错误?
- google-bigquery - UNIX 时间戳转 Google bigQuery TS 格式
- r - 重构df中的列名