简体   繁体   English

ETIMEDOUT错误

[英]ETIMEDOUT error

My bluemix securegateway client installed on linux , gives an error as : 我安装在linux上的bluemix securegateway客户端给出了以下错误:

[2017-10-03 04:08:05.791] [DEBUG] (Client ID 16583) The Secure Gateway client will fetch its configuration from https://sgmanager.ng.bluemix.net/sgconfig/[masked] [2017-10-03 04:09:08.882] [ERROR] (Client ID 16583) The response is code: ETIMEDOUT, message: connect [2017-10-03 04:08:05.791] [DEBUG](客户端ID 16583)安全网关客户端将从https://sgmanager.ng.bluemix.net/sgconfig/[masked]获取其配置[2017-10 -03 04:09:08.882] [错误](客户端ID 16583)响应为代码:ETIMEDOUT,消息:connect

This was working earlier , but suddenly stopped connecting. 该工具较早运行,但突然停止连接。

Does the client use curl to get to the above configuration url ? 客户端是否使用curl来获取上述配置url?

The SG Client doesn't use curl specifically, but it does make an HTTPS request to sgmanager.ng.bluemix.net as part of the initial connection process. SG客户端没有专门使用curl,但是在初始连接过程中,它确实向sgmanager.ng.bluemix.net发出了HTTPS请求。 Following this request, a second HTTPS request is made to cap-sg-prd-#.integration.ibmcloud.com:9000 where # is 1-5 depending on the details of your specific gateway. 在此请求之后,对cap-sg-prd-#.integration.ibmcloud.com:9000发出第二个HTTPS请求,其中#是1-5,具体取决于您特定网关的详细信息。

ETIMEDOUT is typically caused by something like a firewall blocking your requests, so you could use something like telnet to confirm your connectivity. ETIMEDOUT通常是由诸如防火墙阻止您的请求之类的原因引起的,因此您可以使用诸如telnet之类的方法来确认您的连接。 A successful connection should be similar to: 成功的连接应类似于:

telnet sgmanager.ng.bluemix.net 443
Trying 169.54.245.68...
Connected to ng.bluemix.net.
Escape character is '^]'.

and

telnet cap-sg-prd-1.integration.ibmcloud.com 9000
Trying 169.55.54.176...
Connected to cap-sg-prd-1.integration.ibmcloud.com.
Escape character is '^]'.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM