title: Nagios: CRITICAL - Socket timeout after 10 seconds
body: <p>I've been running nagios for about two years, but recently this problem started appearing with one of my services.</p>
  
  <p>I'm getting </p>
  
  <pre><code>CRITICAL - Socket timeout after 10 seconds
  </code></pre>
  
  <p>for a <code>check_http -H my.host.com -f follow -u /abc/def</code> check, which used to work fine. No other services are reporting this problem. The remote site is up and healthy, and I can do a <code>wget http://my.host.com/abc/def</code> from the nagios server, and it downloads the response just fine.  Also, doing a <code>check_http -H my.host.com -f follow</code> works just fine, i.e. it's only when I use the <code>-u</code> argument that things break.  I also tried passing it a different user agent string, no difference. I tried increasing the timeout, no luck. I tried with -v, but all it get is:</p>
  
  <pre><code>GET /abc/def HTTP/1.0
  User-Agent: check_http/v1861 (nagios-plugins 1.4.11)
  Connection: close
  Host: my.host.com
  
  
  CRITICAL - Socket timeout after 10 seconds
  </code></pre>
  
  <p>... which does not tell me what's going wrong.</p>
  
  <p>Any ideas how I could resolve this?</p>
  
  <p>Thanks!</p>