2016-10-28 21 views
1
在CF IC登录网络错误

我试图使用IBM容器和我收到以下错误,当我尝试命令“比照IC登录”您在Bluemix

Deleting old configuration file... 
Retrieving client certificates for IBM Containers... 
Storing client certificates in /root/.ice/certs/... 

Storing client certificates in /root/.ice/certs/containers-api.ng.bluemix.net/9ffac48d-4bb7-4f01-a2cc-3a6b4fd64404... 

OK 
The client certificates were retrieved. 

Checking local Docker configuration... 
OK 

Authenticating with the IBM Containers registry host registry.ng.bluemix.net... 
OK 
You are authenticated with the IBM Containers registry. 
FAILED 

Error getting response, check your network connection 

有一个人建议我在哪里我错了? 我能够使用云代工'cf login'命令成功登录bluemix。但是,cf登录命令失败。

回答

0

望着登录成功,我看到那个序列:

Authenticating with the IBM Containers registry host registry.ng.bluemix.net... 
OK 
You are authenticated with the IBM Containers registry. 
Your organization's private Bluemix registry: registry.ng.bluemix.net/yournamespacehere 

两个想法 - 首先,是命名空间(即你的注册表名称)设置?尝试cf ic namespace get看看是否有效。其次,也许尝试一次执行cf ic init以重新生成登录证书并将其重新安装到注册表中(对其进行访问似乎是失败的步骤)。

+0

谢谢你的回应。我尝试了cf ic init。我收到以下错误现在 与IBM集装箱注册表主机registry.ng.bluemix.net验证... 失败 与IBM集装箱注册表主机registry.ng.bluemix.net认证的尝试是不成功的。 ****标志 - 电子邮件已被弃用,将在1.13中删除。 来自守护进程的错误响应:获取https://registry.ng.bluemix.net/v1/users/:在127.0.1.1:53上拨号tcp:lookup registry.ng.bluemix.net:读取udp 127.0.0.1:46097- > 127.0.1.1:53:I/O超时 – Sid411

+1

啊!好的,你到那里的ips不是registry.ng.bluemix.net的正确ips。对我而言,nslookup显示了类似于198.23.117.106的内容。 127.0.anything将成为一个回环地址。你是否想要某种代理或VPN,以便它试图通过127.0.1.1路由你? –

+0

是的,我在工作场所通过代理。我尝试在家庭网络(无代理),所以我现在能够经历这一步。我也能够将Fortran容器映像加载到bluemix存储库。感谢您的帮助。 :) – Sid411