1

如何启用 Secure Gateway 客户端以使用我的代理设置。客户端使用与安装捆绑在一起的 npm。我无法将代理配置作为 npm 配置传递。我尝试将 http_proxy 设置为系统参数,但似乎没有使用。安装后我在 npm_debug 文件中看到以下内容。

323 error network connect ETIMEDOUT 151.101.8.162:443
324 error network This is most likely not a problem with npm itself
324 error network and is related to network connectivity.
324 error network In most cases you are behind a proxy or have bad network settings.
324 error network
324 error network If you are behind a proxy, please make sure that the
324 error network 'proxy' config is set properly.  See: 'npm help config'
325 verbose exit [ 1, true ]
4

1 回答 1

2

由于大多数代理支持的协议存在限制,Secure Gateway 客户端安装程序当前不支持通过外部代理进行连接。但是,客户端连接过程涉及对已知 IP 的两次出站调用,这些 IP 可用于在安全环境中设置显式防火墙规则。IP 可根据要求通过 Bluemix 支持票证获得。

于 2016-08-22T15:42:08.760 回答