如何启用安全网关客户端使用我的代理设置?客户端使用与安装捆绑的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 ]
由于大多数代理支持的协议的限制,安全网关客户端安装程序目前不支持通过外部代理进行连接。但是,客户机连接过程涉及对已知ip的两次出站调用,可用于在安全环境中设置显式防火墙规则。ip可根据要求通过Bluemix支持票证获得。