2013-07-18 60 views
0

我試圖讓CouldBees工作。繼承人的錯誤我得到時,即時通訊運行: C:\ CloudBees的-SDK-1.5.0>蜜蜂初始化--proxyHost =本地主機--proxyPort = 8008(或8080)錯誤:初始化失敗:無法創建配置

You have not created a CloudBees configuration profile, let's create one now... Enter your default CloudBees API end point [us | eu]: eu Enter your CloudBees account email address: [email protected] Enter your CloudBees account password: Jul 18, 2013 1:32:09 PM org.apache.commons.httpclient.HttpMethodDirector execute WithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect Jul 18, 2013 1:32:09 PM org.apache.commons.httpclient.HttpMethodDirector execute WithRetry INFO: Retrying request Jul 18, 2013 1:32:10 PM org.apache.commons.httpclient.HttpMethodDirector execute WithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect Jul 18, 2013 1:32:10 PM org.apache.commons.httpclient.HttpMethodDirector execute WithRetry INFO: Retrying request Jul 18, 2013 1:32:11 PM org.apache.commons.httpclient.HttpMethodDirector execute WithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect Jul 18, 2013 1:32:11 PM org.apache.commons.httpclient.HttpMethodDirector execute WithRetry INFO: Retrying request

ERROR: Initialization failure: Cannot create configuration

任何人都可以讀出是什麼導致這個錯誤?

回答

0

看起來SDK似乎無法建立到CloudBees網站的Internet連接。如果您在代理後面運行,則需要使用代理標誌進行連接。

bees init --proxyHost=YOUR_PROXY_HOST --proxyPort=YOUR_PROXY_PORT 

這是包括在CloudBees的SDK文檔:Running behind a proxy

0

有幫助,設置系統時間準確到六小時前(美國時間)。 還應該在文件系統(在Windows7下)創建c:\ Users \ Your_User.bees \ bees.config文件,其中包含以下行(如果要調用cloudbbees eu服務器):

bees.api.url=https\://api-eu.cloudbees.com/api>

但實際上它並沒有幫助我的情況(可能是過時的版本)

相關問題