http
http copied to clipboard
Problem with request timeout
One of my sidekiq workers got stuck on the following log line (I use httplog):
[httplog] Connecting: www.coinpayments.net:443
It was stuck for several hours until I restarted it. The problem is I use the client with .timeout(15) set so I wonder, maybe there is some case where the timeout might not work as expected? I tried to do some requests in the console and I now see timeouts working properly (the host is not reachable from the server right now, but that's OK).
HTTP version is 4.1.1, ruby 2.6.2.