无法连接到api.heroku.com

时间:2012-01-07 09:06:03

标签: heroku cloud command-line-interface connect

我正在使用网站http://devcenter.heroku.com/articles/java中的heroku。

我的操作系统是windows7。

当我在命令提示符下键入命令heroku时,我得到以下内容:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\HARIKA_RAM>heroku
Usage: heroku COMMAND [--app APP] [command-specific-options]

Primary help topics, type "heroku help TOPIC" for more details:

工作正常。

当我尝试登录时,它会发出以下消息:

C:\Users\HARIKA_RAM>heroku login
Enter your Heroku credentials.
Email: evsandeep@gmail.com
Password:
 !    Unable to connect to api.heroku.com

C:\Users\HARIKA_RAM>heroku update
-----> Updating to latest client... failed
   !   getaddrinfo: This is usually a temporary error during hostname
resolution and means that the local server did not receive a response from an
authoritative server.

感谢任何帮助。提前谢谢。

1 个答案:

答案 0 :(得分:0)

如果您在防火墙后面,是否尝试过设置http_proxy?

例如。设置http_proxy = proxy.mycompany.com:8080