Community Discussions and Support
OpenSSL freeze TCP/IP out

Hello.

I have a Mercury site at home with this configuration from About dialog. Runs in Windows 7 Professional SP1 64 bits in Spanish.

 

Mercury/32 version: Mercury/32, v4.80.149, Aug 18 2015

Operating mode: Standalone

Windows version: 6.1

MERCURY.EXE directory: C:\MERCURY

Base directory: C:\MERCURY

New mailbox location: C:\MERCURY\MAIL\~N

TMP environment variable: C:\Temp\angel

TEMP environment variable: C:\Temp\angel

[No license installed]


All works fine but from time to time, the TCP/IP protocol is blocked outgoing. I can't browser any web page, all browsers fails: IExplorer, Firefox and Maxthon. But there are incoming connections: web server Apache, FTP server, etc. The solution is reboot computer.

I revised all programs use TCP/IP heavily and I found this in Mercury. The module MercuryD (POP3 client) polls mails each 5 minutes from several servers and accounts (telefonica, gmail, yahoo, etc). As you can see in the log session, first this Warning: SSL connection improperly closed by remote host. In the next poll, this error OpenSSL timed out during handshake. After that, the TCP/IP protocol blocks outgoing communications. Any ideas what it happens. Don't hesitate to request more info. 

Thanks a lot. Angel.

 

01:12:26.798: --- 21 Jan 2017, 1:12:26.798 ---

01:12:26.801: Connect to 'pop.gmail.com', timeout 10 seconds.

01:12:27.953: SSL/TLS session established

01:12:27.953: ECDHE-RSA-AES256-GCM-SHA384, TLSv1.2, Kx=ECDH, Au=RSA, Enc=AESGCM(256), Mac=AEAD<lf>

01:12:27.954: Peer's certificate name is '/C=US/ST=California/L=Mountain View/O=Google Inc/CN=pop.gmail.com'.

01:12:27.954: >> +OK Gpop ready for requests from 88.XXXXXXXX f35mb135943214wrf<cr><lf>

01:12:27.954: << USER XXXXXXXXXXX<cr><lf>

01:12:27.985: >> +OK send PASS<cr><lf>

01:12:27.985: << PASS XXXXXXXXXXX<cr><lf>

01:12:29.233: >> +OK Welcome.<cr><lf>

01:12:29.234: << STAT<cr><lf>

01:12:29.438: >> +OK 0 0<cr><lf>

01:12:29.439: << QUIT<cr><lf>

01:12:29.595: >> +OK Farewell.<cr><lf>

01:12:29.598: Warning: SSL connection improperly closed by remote host.

01:12:29.599: --- Connection closed normally at 21 Jan 2017, 1:12:29.599. ---

01:12:29.599:



01:17:46.538: --- 21 Jan 2017, 1:17:46.538 ---

01:17:46.541: Connect to 'pop.gmail.com', timeout 10 seconds.

01:17:57.556: OpenSSL timed out during handshake.

&lt;p&gt;Hello.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;I have a Mercury site at home with this configuration from About dialog. Runs in Windows 7 Professional SP1 64 bits in Spanish.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Mercury/32 version: Mercury/32, v4.80.149, Aug 18 2015&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Operating mode: Standalone&lt;/p&gt;&lt;p&gt;Windows version: 6.1&lt;/p&gt;&lt;p&gt;MERCURY.EXE directory: C:\MERCURY&lt;/p&gt;&lt;p&gt;Base directory: C:\MERCURY&lt;/p&gt;&lt;p&gt;New mailbox location: C:\MERCURY\MAIL\~N&lt;/p&gt;&lt;p&gt;TMP environment variable: C:\Temp\angel&lt;/p&gt;&lt;p&gt;TEMP environment variable: C:\Temp\angel&lt;/p&gt;&lt;p&gt;[No license installed]&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;All works fine but from time to time, the TCP/IP protocol is blocked outgoing. I can&#039;t browser any web page, all browsers fails: IExplorer, Firefox and Maxthon.&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;But there are incoming connections: web server Apache, FTP server, etc. The solution is reboot computer.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;I revised all programs use TCP/IP heavily and I found this in Mercury. The module MercuryD (POP3 client) polls mails each 5 minutes from several servers and accounts (telefonica, gmail, yahoo, etc).&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;As you can see in the log session, first this&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Warning: SSL connection improperly closed by remote host. &lt;/b&gt;In the next poll, this error&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;OpenSSL timed out during handshake. &lt;/b&gt;After that, the TCP/IP protocol blocks outgoing communications. Any ideas what it happens. Don&#039;t hesitate to request more info.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Thanks a lot. Angel.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;01:12:26.798: --- 21 Jan 2017, 1:12:26.798 ---&lt;/span&gt;&lt;/p&gt;&lt;p&gt;01:12:26.801: Connect to &#039;pop.gmail.com&#039;, timeout 10 seconds.&lt;/p&gt;&lt;p&gt;01:12:27.953: SSL/TLS session established&lt;/p&gt;&lt;p&gt;01:12:27.953: ECDHE-RSA-AES256-GCM-SHA384, TLSv1.2, Kx=ECDH, Au=RSA, Enc=AESGCM(256), Mac=AEAD&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:27.954: Peer&#039;s certificate name is &#039;/C=US/ST=California/L=Mountain View/O=Google Inc/CN=pop.gmail.com&#039;.&lt;/p&gt;&lt;p&gt;01:12:27.954: &amp;gt;&amp;gt; +OK Gpop ready for requests from 88.XXXXXXXX f35mb135943214wrf&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:27.954: &amp;lt;&amp;lt; USER XXXXXXXXXXX&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:27.985: &amp;gt;&amp;gt; +OK send PASS&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:27.985: &amp;lt;&amp;lt; PASS XXXXXXXXXXX&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:29.233: &amp;gt;&amp;gt; +OK Welcome.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:29.234: &amp;lt;&amp;lt; STAT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:29.438: &amp;gt;&amp;gt; +OK 0 0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:29.439: &amp;lt;&amp;lt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:29.595: &amp;gt;&amp;gt; +OK Farewell.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;01:12:29.598: Warning: SSL connection improperly closed by remote host.&lt;/p&gt;&lt;p&gt;01:12:29.599: --- Connection closed normally at 21 Jan 2017, 1:12:29.599. ---&lt;/p&gt;&lt;p&gt;01:12:29.599:&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;01:17:46.538: --- 21 Jan 2017, 1:17:46.538 ---&lt;/p&gt;&lt;p&gt;01:17:46.541: Connect to &#039;pop.gmail.com&#039;, timeout 10 seconds.&lt;/p&gt;&lt;p&gt;01:17:57.556: OpenSSL timed out during handshake.&lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft