Archived Forum Post

Index of archived forum posts

Question:

Connect error failReason2: 2

Jun 06 '14 at 08:44
System.Exception: ChilkatLog:
CopyMail:
DllDate: Mar 21 2014
ChilkatVersion: 9.5.0.21
UnlockPrefix: xxxxxxx
Username: SERVIDOR_SAC:SYSTEM
Architecture: Little Endian; 32-bit
Language: .NET 2.0
VerboseLogging: 0
AutoFix: Port 110 is for unencrypted POP3 or explicit SSL/TLS.
To prevent auto-fix, set the AutoFix property = False/0
Pop3Connect:
Connecting to POP3 server
hostname: mail.anpcomex.com
port: 110
ssl: 0
connectTimeoutMs: 30000
connect2:
connectSocket:
connect_ipv6_or_ipv4:
resolveHostname6:
getAddressInfo:
Failed to get host address info. (3)
SocketError: WSAHOST_NOT_FOUND No such host is known.
hostOrIpAddr: mail.anpcomex.com
port: 110
Versions of Windows earlier than Windows XP are limited to handling IPv4 only
On Windows Server 2003 and Windows XP, IPv6 addresses are returned only if IPv6 is installed on the local computer.
--getAddressInfo
--resolveHostname6
Domain to IP address resolution failed.
--connect_ipv6_or_ipv4
--connectSocket
failReason2: 2
--connect2
--Pop3Connect
Failed to connect to POP3 server.
Failed to ensure transaction state.
--CopyMail
--ChilkatLog

What do you mean whit failReason2: 2??


Answer

0 = success
Normal (non-SSL) sockets:
1 = empty hostname
2 = DNS lookup failed
3 = DNS timeout
4 = Aborted by application.
5 = Internal failure.
6 = Connect Timed Out
7 = Connect Rejected (or failed for some other reason)
SSL:
100 = Internal schannel error
101 = Failed to create credentials
102 = Failed to send initial message to proxy.
103 = Handshake failed.
104 = Failed to obtain remote certificate.