title: Increase timeout for Net::HTTP
body: <p>Although I raised the timeout for Net::HTTP:</p>
  
  <pre><code>http = Net::HTTP.new(uri.host, uri.port)
  http.open_timeout = 60
  http.read_timeout = 60
  response = http.post(uri.path, body, headers)
  </code></pre>
  
  <p>I keep getting these errors:</p>
  
  <pre><code>Timeout::Error at /
  execution expired
  file: http.rb location: initialize line: 762 
  </code></pre>
  
  <p>It's a pretty long time for timeout I guess, and I should not get these errors, should I? I also read a couple of articles that described how to increase the timeout using ways different from mine. It gets me confused: For such a simple thing there are a lot of different and complicated solutions, and I don't know which one is correct.</p>
  
  <p>What are your ideas about the correct way of increasing timeout? And, how do I check if I did it correctly?</p>