2
雖然我執行的場景突然我得到了錯誤信息如下:如何避免變量Errno :: ECONNREFUSED:(連接被拒絕 - (2)連接
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Connection refused - connect(2) (http://localhost:37265) (Errno::ECONNREFUSED)
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:803:in `initialize'
如何解決和克服這。問題是我用來執行
評論是:
- 黃瓜功能/ APP_PATH = ...../.../../test.app DEVICE = iPad的SDK_VERSION = 6.1
確保你實際上有一個進程正在偵聽你想連接的端口(錯誤意味着你沒有)。 –
你還在遇到這個問題嗎?它在像詹金斯這樣的環境中?請參閱http://stackoverflow.com/a/24448375/1565615 – StackRunner