-
org.apache.http.NoHttpResponseException개발 여정/Error 2022. 2. 24. 17:58
웹 서버 클라이언트의 쓰레드에서 충분한 리소스가 없을 때, 서버가 클라이언트에 response를 주지 않고 연결을 끊는 에러.
클라이언트 서버에서 재시도하면 보통 해결된다.
In some circumstances, usually when under heavy load, the web server may be able to receive requests but unable to process them. A lack of sufficient resources like worker threads is a good example. This may cause the server to drop the connection to the client without giving any response. HttpClient throws NoHttpResponseException when it encounters such a condition. In most cases it is safe to retry a method that failed with NoHttpResponseException.
https://hc.apache.org/httpclient-legacy/exception-handling.html
HttpClient - HttpClient exception handling guide
Exception handling There are two main type of exceptions that the user of HttpClient may encounter when executing HTTP methods: transport exceptions protocol exceptions Not all of these exceptions will be propagated to the user in regular HttpClient use. E
hc.apache.org
'개발 여정 > Error' 카테고리의 다른 글