title: 500 SSL read timeout error in LWP perl
body: <p>I have a <code>perl</code> script which will post HTTP request to specified server URL (Say: <code>http://some-ip/here_action_url</code> ). My problem is, Sometimes I am getting the below error.</p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>500 SSL read timeout.
  </code></pre>
  
  <p><strong>Sample Code:</strong></p>
  
  <pre><code>my $ua = new LWP::UserAgent;
  $ua-&gt;timeout(30);
  my $res = $ua-&gt;post( $url, { 'data' =&gt; $my_data } );
  if(! $res-&gt;is_success ) {
       # Error Logging
       print $res-&gt;status_line."\n";
  }
  else {
       $response_content = $res-&gt;content;
  }
  </code></pre>
  
  <p>I read about the error. Most of the documents are saying that it is because of the response delay in server side.</p>
  
  <p>I just want to confirm, whether this error is coming because of server response delay? (or) Can be the problem with my perl script?</p>