Handshake failed

I reloaded em Client to try it again to see if the problem that I had before has been fixed.  It hasn’t.  I still can’t send messages due to “The handshake failed due to an unexpected packet format”.  I have tried sending with anti-virus turned off but I get the same result.  I really like the interface and want to use em Client, including buying a license, but I have to be able to send messages!

11:04:06 AM Online state: changed to online due to Restriction 11:04:06 AM [email protected] [IMAP]  Uploading messages: To folder [email protected]/[Gmail]/Trash
11:04:06 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
11:04:07 AM Online state: changed to offline due to User 
11:04:07 AM [email protected] [GData]  Synchronizing folder list
11:04:07 AM [email protected] [IMAP]  Uploading messages: Done
11:04:07 AM Online state: changed to online due to User 
11:04:07 AM [email protected] [IMAP]  Uploading messages: To folder [email protected]/[Gmail]/Trash
11:04:07 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
11:04:07 AM [email protected] [GData]  Synchronizing folder list
11:04:07 AM [email protected] [GData]  Synchronizing folder list
11:04:08 AM [email protected] [GData]  Synchronizing folder list
11:04:08 AM [email protected] [GData]  Synchronizing folder list
11:04:08 AM [email protected] [GData]  Synchronizing folder list
11:04:08 AM [email protected] [IMAP]  Downloading message part…
11:04:08 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
11:04:09 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:09 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
11:04:09 AM [email protected] [IMAP]  Downloading message part…: Done
11:04:09 AM [email protected] [IMAP]  Downloading message part…
11:04:09 AM [email protected] [IMAP]  Downloading message part…: Done
11:04:10 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:10 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Dr. Fox
11:04:11 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:11 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Mom and Dad
11:04:11 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:11 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Product Info
11:04:12 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:12 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/USNA
11:04:14 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:14 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
11:04:14 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:14 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Mom and Dad/Taxes
11:04:15 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:15 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]/Trash
11:04:16 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:16 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
11:04:20 AM [email protected] [GData]  Synchronizing folder list
11:04:20 AM [email protected] [GData]  Synchronizing folder list
11:04:20 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
11:04:21 AM [email protected] [IMAP]  Synchronizing messages: Done
11:04:21 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
11:04:25 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:25 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
11:04:27 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:27 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Dr. Fox
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Mom and Dad
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Product Info
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/USNA
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:28 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
11:04:29 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:04:29 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Mom and Dad/Taxes
11:05:03 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:05:03 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]/Trash
11:05:04 AM [email protected] [IMAP]  Synchronizing subfolders: Done
11:05:04 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
11:05:04 AM [email protected] [IMAP]  Synchronizing messages: Done
11:05:06 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
11:05:07 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
11:05:07 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
11:05:10 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
11:05:10 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
11:05:11 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
11:05:12 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
11:05:14 AM [email protected] [IMAP]  Uploading messages: Done
11:05:39 AM [email protected] [SMTP]  Connecting: To [email protected]
11:05:39 AM [email protected] [SMTP]  MailExceptions.ConnectionException: Connection failed due to the following reason: 
11:05:39 AM     “The handshake failed due to an unexpected packet format.” —> System.IO.IOException: The handshake failed due to an unexpected packet format.
11:05:39 AM    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
11:05:39 AM    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:05:39 AM    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
11:05:39 AM    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
11:05:39 AM    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:05:39 AM    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
11:05:39 AM    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
11:05:39 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
11:05:39 AM    — End of inner exception stack trace —
11:05:39 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
11:05:39 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
11:05:39 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
11:07:33 AM [email protected] [SMTP]  Connecting: To [email protected]
11:07:33 AM [email protected] [SMTP]  MailExceptions.ConnectionException: Connection failed due to the following reason: 
11:07:33 AM     “The handshake failed due to an unexpected packet format.” —> System.IO.IOException: The handshake failed due to an unexpected packet format.
11:07:33 AM    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
11:07:33 AM    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:07:33 AM    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
11:07:33 AM    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
11:07:33 AM    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:07:33 AM    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
11:07:33 AM    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
11:07:33 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
11:07:33 AM    — End of inner exception stack trace —
11:07:33 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
11:07:33 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
11:07:33 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
11:10:48 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
11:10:49 AM [email protected] [IMAP]  MailExceptions.ConnectionException: Failed opening connection to server.
11:10:49 AM ()
11:10:49 AM    at MailClient.Imap.ConnectionPoolEntry.Reconnect()
11:10:49 AM    at MailClient.Imap.ConnectionPoolEntry.Connect()
11:10:49 AM    at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
11:10:49 AM    at MailClient.Imap.ConnectionContext…ctor(ImapAccount account)
11:10:49 AM    at MailClient.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
11:10:49 AM    at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
11:10:49 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
11:11:18 AM [email protected] [SMTP]  Connecting: To [email protected]
11:11:18 AM [email protected] [SMTP]  MailExceptions.ConnectionException: Connection failed due to the following reason: 
11:11:18 AM     “The handshake failed due to an unexpected packet format.” —> System.IO.IOException: The handshake failed due to an unexpected packet format.
11:11:18 AM    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
11:11:18 AM    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:11:18 AM    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
11:11:18 AM    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
11:11:18 AM    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:11:18 AM    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
11:11:18 AM    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
11:11:18 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
11:11:18 AM    — End of inner exception stack trace —
11:11:18 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
11:11:18 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
11:11:18 AM    at MailClient.Commands.Command.Process(WorkerStatus status)

Hello Nobrien,
can I ask what version of eM Client are you currently running? Please check the version number in Help>About section.

Regards,
Olivia

6.0.24828.0

Thank you,
I see that you mentioned you tried turnign off your anti-virus, but have you tried adding an exception to your windows firewall as well?
This error looks like a typical problem of third party application blocking the connection.

Regards,
Olivia

Please help me understand this better.  Why does your software require this and Thunderbird doesn’t?  If I recall correctly, when I first tried eM Client, I didn’t have this problem and then it all of a sudden began.  If that recollection is correct, what changed?  I am a retired CIO and I don’t consider holes in firewalls a good thing!

FYI:  For ‘grins’, I went into my Kaspersky Firewall settings and found that it eM Client is built in as a trusted application, so my antivirus isn’t the issue!

Hello,
do you perhaps use Windows firewall along with your Kaspersky FW?
Could you just try disabling it for a moment and see if that fixes the issue, so we can continue troubleshooting in case its a problem of a different kind?
Unfortunately according to the current logs you provided, some security in your computer is disabling the connection - a new application or an update to your security could have changed that.

Regards,
Olivia

No, Windows Firewall is turned off - superseded by Kaspersky.  As I have reported before, Kaspersky sees emclient as a trusted application. I also have Malware Bytes.  I have added emclient.com as a trusted domain in it.  I still get the same results.  How does the “…unexpected packet format” translate into something blocking the communication?  It reads to me more like a malformed communication.

8:14:28 AM Online state: changed to online due to NetworkAvailability 8:14:28 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
8:14:29 AM [email protected] [GData]  Synchronizing folder list
8:14:29 AM [email protected] [IMAP]  Downloading message part…
8:14:29 AM [email protected] [GData]  Synchronizing folder list
8:14:29 AM [email protected] [IMAP]  Downloading message part…: Done
8:14:29 AM [email protected] [IMAP]  MailExceptions.ConnectionException: Failed opening connection to server.
8:14:29 AM ()
8:14:29 AM    at MailClient.Imap.ConnectionPoolEntry.Reconnect()
8:14:29 AM    at MailClient.Imap.ConnectionPoolEntry.Connect()
8:14:29 AM    at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
8:14:29 AM    at MailClient.Imap.Synchronizer.DownloadCommand.ExecuteInternal(WorkerStatus status)
8:14:29 AM    at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
8:14:29 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
8:14:29 AM [email protected] [GData]  Synchronizing folder list
8:14:29 AM [email protected] [GData]  Synchronizing folder list
8:14:29 AM [email protected] [GData]  Synchronizing folder list
8:14:30 AM [email protected] [GData]  Synchronizing folder list
8:14:30 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
8:14:30 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
8:14:30 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
8:14:49 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:14:50 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:14:50 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:14:50 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:18:44 AM [email protected] [IMAP]  Uploading messages: To folder [email protected]/[Gmail]/Trash
8:18:45 AM [email protected] [IMAP]  Uploading messages: Done
8:18:45 AM [email protected] [IMAP]  MailExceptions.ConnectionException: Failed opening connection to server.
8:18:45 AM ()
8:18:45 AM    at MailClient.Imap.ConnectionPoolEntry.Reconnect()
8:18:45 AM    at MailClient.Imap.ConnectionPoolEntry.Connect()
8:18:45 AM    at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
8:18:45 AM    at MailClient.Imap.Synchronizer.AppendCommand.ExecuteInternal(WorkerStatus status)
8:18:45 AM    at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
8:18:45 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
8:18:49 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
8:18:49 AM [email protected] [IMAP]  Downloading message part…
8:18:49 AM [email protected] [IMAP]  Downloading message part…: Done
8:18:49 AM [email protected] [IMAP]  MailExceptions.ConnectionException: Failed opening connection to server.
8:18:49 AM ()
8:18:49 AM    at MailClient.Imap.ConnectionPoolEntry.Reconnect()
8:18:49 AM    at MailClient.Imap.ConnectionPoolEntry.Connect()
8:18:49 AM    at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
8:18:49 AM    at MailClient.Imap.Synchronizer.FolderInfo.CreateConnectionContext()
8:18:49 AM    at MailClient.Imap.Synchronizer.SynchronizeMessagesCommand.ExecuteInternal(WorkerStatus status)
8:18:49 AM    at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
8:18:49 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
8:19:02 AM [email protected] [SMTP]  Connecting: To [email protected]
8:19:02 AM [email protected] [SMTP]  MailExceptions.ConnectionException: Connection failed due to the following reason: 
8:19:02 AM     “The handshake failed due to an unexpected packet format.” —> System.IO.IOException: The handshake failed due to an unexpected packet format.
8:19:02 AM    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
8:19:02 AM    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
8:19:02 AM    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
8:19:02 AM    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
8:19:02 AM    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
8:19:02 AM    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
8:19:02 AM    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
8:19:02 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
8:19:02 AM    — End of inner exception stack trace —
8:19:02 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
8:19:02 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
8:19:02 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
8:19:51 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:19:52 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:19:52 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:19:53 AM [email protected] [GData]  Uploading item(s) to folder ‘[email protected]/[email protected]/’
8:24:28 AM [email protected] [SMTP]  Connecting: To [email protected]
8:24:29 AM [email protected] [SMTP]  MailExceptions.ConnectionException: Connection failed due to the following reason: 
8:24:29 AM     “The handshake failed due to an unexpected packet format.” —> System.IO.IOException: The handshake failed due to an unexpected packet format.
8:24:29 AM    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
8:24:29 AM    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
8:24:29 AM    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
8:24:29 AM    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
8:24:29 AM    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
8:24:29 AM    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
8:24:29 AM    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
8:24:29 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
8:24:29 AM    — End of inner exception stack trace —
8:24:29 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
8:24:29 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
8:24:29 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
8:24:29 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
8:24:29 AM [email protected] [GData]  Synchronizing folder list
8:24:29 AM [email protected] [GData]  Synchronizing folder list
8:24:29 AM [email protected] [IMAP]  MailExceptions.ConnectionException: Failed opening connection to server.
8:24:29 AM ()
8:24:29 AM    at MailClient.Imap.ConnectionPoolEntry.Reconnect()
8:24:29 AM    at MailClient.Imap.ConnectionPoolEntry.Connect()
8:24:29 AM    at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
8:24:29 AM    at MailClient.Imap.ConnectionContext…ctor(ImapAccount account)
8:24:29 AM    at MailClient.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
8:24:29 AM    at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
8:24:29 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
8:24:29 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’