Archived Forum Post

Index of archived forum posts

Question:

WSAEWOULDBLOCK error with IMAP for AOL

Oct 13 '15 at 19:42

We periodically get a failure when trying to connect to AOL and not sure why. Here is the error log...

Connect_Imap:
 hostname: imap.aol.com
 port: 143
 ConnectTimeoutMs_1: 30000
 calling ConnectSocket2
 IPV6 enabled connect with NO heartbeat.
 connectingTo: imap.aol.com
 resolveHostname1:
 dnsCacheLookup: imap.aol.com
 dnsCacheHit: 152.163.0.65
 --resolveHostname1
 GetHostByNameHB_ipv4: Elapsed time: 0 millisec
 timeout waiting for connect to complete
 numSec: 8
 numMicroSec: 2000
 Connect function failed.
 SocketError: WSAEWOULDBLOCK The socket would block.
 failReason: 7
 connect failed.
 --Connect_Imap

I have read some on the WSAEWOULDBLOCK on the web and also in CKNOTES... but still not 100% sure why this happens nor how to correct it. It also seems random, so I am not sure if it's an issue with AOL and not us seeing how the same "code snippet" works with other IMAP providers.

Any suggestions?