我在Azure机器上设置了单个VM云铸造厂(4核,28GB RAM(。最初,cf cli 命令工作正常。我能够登录(cf登录(到cf和push(cf push(应用程序,并查看托管的应用程序(cf应用程序(。
azure-user@dsapi-boshvm:~$ cf apps
Getting apps in org default_organization / space azure as admin...
OK
name requested state instances memory disk urls
myapp started 3/3 128M 256M myapp.example.com
一段时间后,相同的命令失败
azure-user@dsapi-boshvm:~$ cf apps
Getting apps in org default_organization / space azure as admin...
FAILED
Error performing request: Get https://api.xxx.xxx.xxx.xxx.xip.io/v2/spaces/80d34326-cffc-4b62-98b6-ddd1c087ca59/summary: dial tcp: lookup api.xxx.xxx.xxx.xxx.xip.io on xxx.xxx.xxx.xxx:xx: lame referral
TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set. Else, check your network connection.
稍后 cf cli 命令根本不响应。
azure-user@dsapi-boshvm:~$ cf apps
Getting apps in org default_organization / space azure as admin...
上述命令无响应。
不确定问题是否由于计算机硬件规格而发生。
我的经验(和许多其他人(,xip.io
不是一个非常稳定的DNS服务。
在某个时候(大约 2015 年 10 月,CF v219(,域bosh-lite.com
被建立以取代 bosh-lite 对 xip.io 的使用。
我不知道您的 CF 是如何安装和配置的,但它可能就像执行cf api api.bosh-lite.com
一样简单(如果您无法将 API 端点的证书复制到信任库,则可能使用 --skip-ssl-validation
标志(并将其用作端点。
(bosh-lite.com 及其所有子域解析为 10.244.0.34(。