Author |
|
Luca Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 05 July 2005 at 1:24pm | IP Logged
|
|
|
Hi Alex,
I installed my app on two PCs and I am experimenting a problem when downloading messages on one of the two
(the other one works well); I have no clue on what is going wrong. No need to say the code is identical on both machines.
Both machines are on the same local network and are sharing the same connection. The mailbox contains two
messages: they are download correctly by PC #1, but PC #2 hangs when downloading the first message, until it
times out.
At first I thought the issue may be caused by some settings in the firewall, if any, but after analyzing the
logs I see the strange thing is that headers are retrieved with no problem (I suppose if it was a "firewall
thing" no connection at all could occur).
These are the logs:
PC #1 (works well):
19:13:10 [MailBee POP3 v. 5.3.0.47. Registered version]
19:13:10 [Connecting to server xxx at port 110]
19:13:10 [Using regular POP3 authentication]
19:13:10 [Sending UserName]
19:13:10 [Sending Password]
19:13:10 [Connected to the server, getting stat]
19:13:10 [Got stat, 2 message(s) available. Total size is 3199 bytes]
19:13:10 [Getting list]
19:13:10 [Got list]
19:13:10 [Sending UIDL]
19:13:10 [UID List ready]
19:13:10 [UID Array ready]
19:13:10 [Sending retr/top command: top 1 0\r\n]
19:13:10 [Message data received, decoding the message]
19:13:10 [The message is ready]
19:13:10 [Sending retr/top command: retr 1\r\n]
19:13:10 [Message data received, decoding the message]
19:13:10 [The message is ready]
19:13:11 [Sending retr/top command: top 2 0\r\n]
19:13:11 [Message data received, decoding the message]
19:13:11 [The message is ready]
19:13:11 [Sending retr/top command: retr 2\r\n]
19:13:11 [Message data received, decoding the message]
19:13:11 [The message is ready]
19:13:11 [Disconnecting from the server]
19:13:11 [Connection closed]
PC #2 (hangs; timeout after 1 min):
18:38:12 [MailBee POP3 v. 5.3.0.47. Registered version]
18:38:12 [Connecting to server xxx at port 110]
18:38:12 [Using regular POP3 authentication]
18:38:12 [Sending UserName]
18:38:12 [Sending Password]
18:38:12 [Connected to the server, getting stat]
18:38:13 [Got stat, 2 message(s) available. Total size is 3199 bytes]
18:38:13 [Getting list]
18:38:13 [Got list]
18:38:13 [Sending UIDL]
18:38:13 [UID List ready]
18:38:13 [UID Array ready]
18:38:13 [Sending retr/top command: top 1 0\r\n]
18:38:13 [Message data received, decoding the message]
18:38:13 [The message is ready]
18:38:13 [Sending retr/top command: retr 1\r\n]
18:39:13 [Connection closed due network error or timeout.]
18:39:13 [Error: message/headers retrieving failed]
What could be causing such a strange behaviour? Is there a way I can get more information about this network
error / timeout?
Thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 05 July 2005 at 1:56pm | IP Logged
|
|
|
Maybe there is some kind of advanced firewall installed. For example, it might scan all incoming traffic and block certain messages if they contain spam or virus.
Try to open telnet on PC#2:
telnet xxx 110[enter]
then type the following commands:
USER username[enter]
PASS password[enter]
STAT[enter]
LIST[enter]
UIDL[enter]
TOP 1 0[enter]
RETR 1[enter]
What happens?
Regards,
Alex
|
Back to Top |
|
|
Luca Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 06 July 2005 at 6:22am | IP Logged
|
|
|
(sorry Alex, I realize I should have posted this thread in Mailbee.POP3 instaed of Mailbee.SMTP).
Telnet works: the message is retrieved with no problems.
I got a
RETR 1+OK 1589 octets follow.
and then the full source of the message (with no delay or timeout).
After that i quit with command
QUIT[enter]
and it works (which means that connection didn't go off when retrieving message).
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 July 2005 at 8:40am | IP Logged
|
|
|
Could you please install debug version of MailBee.dll on PC#2 (you can get it at http://www.afterlogic.com/updates/mailbee_debug.zip, execute the code which hangs, and then send us to support@afterlogic.com the contents of C:\mailbee_debug.txt log file?
Regards,
Alex
|
Back to Top |
|
|
Luca Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 06 July 2005 at 10:17am | IP Logged
|
|
|
File sent
Thank You
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 July 2005 at 1:35pm | IP Logged
|
|
|
I updated http://www.afterlogic.com/updates/mailbee_debug.zip with newer version. Could you please execute your code again and send us new log? It will contain some new lines of data which might be helpful for us.
Also, what happens when you type all these commands in one moment:
USER username[enter]
PASS password[enter]
STAT[enter]
LIST[enter]
UIDL[enter]
TOP 1 0[enter]
RETR 1[enter]
I.e. you can save them all in a text file (with real CRLF instead of [Enter]) and then copy/paste them (including last CRLF) at once so that all the responses appeared as one chunk.
It might be possible that regular telnet works fine because you enter commands with large intervals but when they are sent quickly, the problem occurs.
Regards,
Alex
|
Back to Top |
|
|