cloudfoundry-vmc注册外部uri错误 [英] cloudfoundry - vmc register error with external uri

查看:100
本文介绍了cloudfoundry-vmc注册外部uri错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用-D选项安装了cloudfoundry来更改默认域. Cloudfoundry可以正常安装并启动,但是当我尝试使用vmc时出现错误:

I installed cloudfoundry with the -D option to change the default domain. Cloudfoundry installs fine and starts but when I try to vmc in I get an error:

swampfox@swampcf:~$ vmc target api.mydomain.com Successfully targeted to [http://api.mydomain.com]

swampfox@swampcf:~$ vmc register --email emailid@gmail.com --passwd mypass Creating New User: OK Attempting login to [http://api.mydomain.com] Problem with login to 'http://api.mydomain.com', target refused connection (getaddrinfo: Name or service not known), try again or register for an account.

swampfox@swampcf:~$ vmc register --email emailid@gmail.com --passwd mypass Creating New User: OK Attempting login to [http://api.mydomain.com] Problem with login to 'http://api.mydomain.com', target refused connection (getaddrinfo: Name or service not known), try again or register for an account.

swampfox@swampcf:~$ vmc register --email emailid@gmail.com --passwd mypass Creating New User: Error 100: Bad request

swampfox@swampcf:~$ vmc register --email emailid@gmail.com --passwd mypass Creating New User: Error 100: Bad request

有人可以帮忙吗?我需要外部uri,否则对我没用.

Can someone help. I need to have the external uri or this is useless for me.

如果我使用默认的api.vcap.me,则此方法很好,但它仅适用于该vm,并且无法从其他基础设施访问,这是非常无用的.

This works fine if I take the default api.vcap.me but it only works on that vm and is not accessable from other infrastructure which is pretty useless.

推荐答案

我发现了问题. vmc-0.3.21中有一个错误.将其备份到vmc-0.3.18,现在一切正常.

I have found the issue. There is a bug in vmc-0.3.21. Backed it down to vmc-0.3.18 and everything works now.

哇!如何打开针对vmc的错误?

Whoof! How to open a bug against vmc?

这篇关于cloudfoundry-vmc注册外部uri错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆