我有一些ruby測試代碼碰到API端點併發送JSON。如何獲得比Errno :: ECONNRESET更多的信息:現有連接被遠程主機強制關閉。 - SSL_connect`
RestClient.post(url, json, :content_type => :json, :accept => :json) { |response, request, result|
@last_response = response
}
它偶爾會有時會發生此錯誤。
Errno::ECONNRESET: An existing connection was forcibly closed by the remote host. - SSL_connect
我能得到關於發生了什麼的更多信息?