title: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. provider: SSL Provider, error: 0
body: <p>I have an exe which runs twice a day.
  I am getting the error when the exe runs in the morning but works fine in the evening.</p>
  
  <p>The exe generates logs and it logs the below error: </p>
  
  <blockquote>
    <p>A connection was successfully established with the server, but then an
    error occurred during the pre-login handshake. (provider: SSL
    Provider, error: 0 - The wait operation timed out.)</p>
  </blockquote>
  
  <p>I have also checked event viewer but no error is displayed related to above error.</p>
  
  <p>We have checked the previous related posts, but the users seem to get the error continuously. But in our case, the exe runs fine at one time but gives error another time.</p>
  
  <p>Any idea what might have gone wrong here?</p>