Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: Random error 8 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
namtuk
Newbie
Newbie


Joined: 18 December 2006
Location: France
Online Status: Offline
Posts: 33
Posted: 10 April 2008 at 1:05am | IP Logged Quote namtuk

Good morning,

Some customers have a random error code 8 (message/headers retrieving failed), i'm trying to identify the problem since some weeks without success !
In the Mailbee log we have a [Connection closed due to network error or timeout]
Any idea ?
Back to Top View namtuk's Profile Search for other posts by namtuk
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 10 April 2008 at 4:01am | IP Logged Quote Andrew

Could you please provide us with a part of your log file which includes one POP3 session from connecting to the server to [Connection closed due to network error or timeout] error?

If the log contains a private information, please use Request Support form.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
namtuk
Newbie
Newbie


Joined: 18 December 2006
Location: France
Online Status: Offline
Posts: 33
Posted: 10 April 2008 at 7:24am | IP Logged Quote namtuk

Here is a session with error (1st session ok, 2nd got error on last email and 3rd ok):
--------------------------------------
10:25:15 [MailBee POP3 v. 5.5.0.114. Registered version]
10:25:15 [Connecting to server xxxx at port 110]
10:25:15 [Using regular POP3 authentication]
10:25:15 [Sending UserName]
10:25:15 [Sending Password]
10:25:17 [Connected to the server, getting statistics]
10:25:17 [Got stat, 1 message(s) available. Total size is 1024 bytes]
10:25:17 [Getting list]
10:25:17 [Got list]
10:25:18 [Sending retr/top command: TOP 1 0\r\n]
10:25:18 [Message data received, decoding the message]
10:25:18 [The message is ready]
10:25:18 [Sending retr/top command: RETR 1\r\n]
10:25:19 [Message data received, decoding the message]
10:25:19 [The message is ready]
10:25:57 [Sending DELE: DELE 1\r\n]
10:25:57 [Disconnecting from the server]
10:25:57 [Connection closed]
10:30:27 [MailBee POP3 v. 5.5.0.114. Registered version]
10:30:27 [Connecting to server xxxx at port 110]
10:30:27 [Using regular POP3 authentication]
10:30:27 [Sending UserName]
10:30:27 [Sending Password]
10:30:27 [Connected to the server, getting statistics]
10:30:27 [Got stat, 3 message(s) available. Total size is 3072 bytes]
10:30:27 [Getting list]
10:30:27 [Got list]
10:30:28 [Sending retr/top command: TOP 1 0\r\n]
10:30:28 [Message data received, decoding the message]
10:30:28 [The message is ready]
10:30:28 [Sending retr/top command: TOP 2 0\r\n]
10:30:28 [Message data received, decoding the message]
10:30:28 [The message is ready]
10:30:28 [Sending retr/top command: TOP 3 0\r\n]
10:30:28 [Message data received, decoding the message]
10:30:28 [The message is ready]
10:30:28 [Sending retr/top command: RETR 1\r\n]
10:30:28 [Message data received, decoding the message]
10:30:28 [The message is ready]
10:30:29 [Sending DELE: DELE 1\r\n]
10:30:29 [Sending retr/top command: RETR 2\r\n]
10:30:29 [Message data received, decoding the message]
10:30:29 [The message is ready]
10:31:03 [Sending DELE: DELE 2\r\n]
10:31:03 [Sending retr/top command: RETR 3\r\n]
10:31:03 [Connection closed due network error or timeout.]
10:31:03 [Error: message/headers retrieving failed]
10:31:03 [Error: Not connected]
10:35:03 [MailBee POP3 v. 5.5.0.114. Registered version]
10:35:03 [Connecting to server xxxx at port 110]
10:35:03 [Using regular POP3 authentication]
10:35:03 [Sending UserName]
10:35:03 [Sending Password]
10:35:03 [Connected to the server, getting statistics]
10:35:03 [Got stat, 3 message(s) available. Total size is 3072 bytes]
10:35:03 [Getting list]
10:35:03 [Got list]
10:35:04 [Sending retr/top command: TOP 1 0\r\n]
10:35:04 [Message data received, decoding the message]
10:35:04 [The message is ready]
10:35:04 [Sending retr/top command: TOP 2 0\r\n]
10:35:04 [Message data received, decoding the message]
10:35:04 [The message is ready]
10:35:04 [Sending retr/top command: TOP 3 0\r\n]
10:35:04 [Message data received, decoding the message]
10:35:04 [The message is ready]
10:35:05 [Sending retr/top command: RETR 3\r\n]
10:35:05 [Message data received, decoding the message]
10:35:05 [The message is ready]
10:35:17 [Sending retr/top command: RETR 3\r\n]
10:35:17 [Message data received, decoding the message]
10:35:17 [The message is ready]
10:35:29 [Sending DELE: DELE 3\r\n]
10:35:29 [Disconnecting from the server]
10:35:29 [Connection closed]
--------------------------------

Thank you for your help.
Back to Top View namtuk's Profile Search for other posts by namtuk
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 11 April 2008 at 5:33am | IP Logged Quote Andrew

Thank you for the log file. The time difference between the following records:

Code:
10:30:29 [The message is ready]


and:

Code:
10:31:03 [Sending DELE: DELE 2\r\n]
10:31:03 [Sending retr/top command: RETR 3\r\n]
10:31:03 [Connection closed due network error or timeout.]


is more than 30 seconds and the connection is closed by the POP3 server due to a timeout. In other words, your application doesn't send any commands to the POP3 server during 30 seconds and the POP3 server treats your application as hung and closes the connection.

To workaround this, your application should periodically ping the POP3 server, so it'll know your application is still alive.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
namtuk
Newbie
Newbie


Joined: 18 December 2006
Location: France
Online Status: Offline
Posts: 33
Posted: 11 April 2008 at 5:52am | IP Logged Quote namtuk

Thank you for workaround, and can i set the timeout to 120 to get same result or do i have absolutly to use ping ?
Back to Top View namtuk's Profile Search for other posts by namtuk
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 11 April 2008 at 5:58am | IP Logged Quote Andrew

This is a server-side timeout and it's not possible to change it in your application. The only way is to change it in the mail server configuration.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Christian Steve
Newbie
Newbie


Joined: 22 October 2009
Online Status: Offline
Posts: 2
Posted: 22 October 2009 at 9:24am | IP Logged Quote Christian Steve

The workaround seems to let the timeout be set even better now. And ping doesn't seem to get in the way too much. Helpful thread here!

- Christian
Back to Top View Christian Steve's Profile Search for other posts by Christian Steve
 
jackcools
Newbie
Newbie
Avatar

Joined: 26 January 2011
Online Status: Offline
Posts: 1
Posted: 26 January 2011 at 4:59am | IP Logged Quote jackcools

Thank you
Back to Top View jackcools's Profile Search for other posts by jackcools
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide