Gmail connection failed

Hello,
i test the em client for the fist time and vor all my other emails it works well. But i get no Connection for my Gmail adress. it looks the Chat, calender is working … but for email i get an error

here is the log:

|05.08.2020 13:17:09|[email protected] IMAP Synchronizing folder list|
|---|---|
|05.08.2020 13:17:09|[email protected] Google Contacts Synchronizing folder list|
|05.08.2020 13:17:09|[email protected] IMAP Synchronizing folder list|
|05.08.2020 13:17:09|MailClient.Accounts.ConnectionException: Unable to read data from the transport connection: Eine vorhandene Verbindung wurde vom Remotehost geschlossen..|
|05.08.2020 13:17:09| ---> System.IO.IOException: Unable to read data from the transport connection: Eine vorhandene Verbindung wurde vom Remotehost geschlossen..|
|05.08.2020 13:17:09| ---> System.Net.Sockets.SocketException (10054): Eine vorhandene Verbindung wurde vom Remotehost geschlossen.|
|05.08.2020 13:17:09|   --- End of inner exception stack trace ---|
|05.08.2020 13:17:09|   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)|
|05.08.2020 13:17:09|   at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.ThrowIfExceptional()|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar)|
|05.08.2020 13:17:09|   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.Connection.<>c__DisplayClass69_0.<<ConnectAsync>b__0>d.MoveNext()|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.TransportPipe.<>c__DisplayClass31_0.<<UpgradeStreamAsync>b__0>d.MoveNext()|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.TransportPipe.UpgradeStreamAsync(Func`2 callback)|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.Connection.ConnectAsync(Func`2 getStream, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.Connection.ConnectAsync(Func`2 getStream, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   --- End of inner exception stack trace ---|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionPool.AcquireConnectionAsync(Folder mailFolder, Boolean noSelect)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionContext.CreateContextAsync(ImapAccount account)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapFolderSynchronizer.ListFoldersAsync(IListFoldersProgress progress, Folder homeFolder, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapFolderSynchronizer.GetFolderList(IListFoldersProgress progress, Folder homeFolder, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass15_2.<EnqueueGetFolderList>b__1(WorkerStatus status, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass12_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status)|
|05.08.2020 13:17:09|   at MailClient.Commands.Command.Process(WorkerStatus status)|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Storage.Synchronization.FolderSynchronizerExtensions.SynchronizeSubfoldersAsync(IFolderSynchronizer synchronizer, Folder folder, SynchronizationPriority priority, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass6_0.<<SynchronizeAsync>b__0>d.MoveNext()|
|05.08.2020 13:17:09|MailClient.Accounts.ConnectionException: Unable to read data from the transport connection: Eine vorhandene Verbindung wurde vom Remotehost geschlossen..|
|05.08.2020 13:17:09| ---> System.IO.IOException: Unable to read data from the transport connection: Eine vorhandene Verbindung wurde vom Remotehost geschlossen..|
|05.08.2020 13:17:09| ---> System.Net.Sockets.SocketException (10054): Eine vorhandene Verbindung wurde vom Remotehost geschlossen.|
|05.08.2020 13:17:09|   --- End of inner exception stack trace ---|
|05.08.2020 13:17:09|   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)|
|05.08.2020 13:17:09|   at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.ThrowIfExceptional()|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)|
|05.08.2020 13:17:09|   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar)|
|05.08.2020 13:17:09|   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.Connection.<>c__DisplayClass69_0.<<ConnectAsync>b__0>d.MoveNext()|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.TransportPipe.<>c__DisplayClass31_0.<<UpgradeStreamAsync>b__0>d.MoveNext()|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.TransportPipe.UpgradeStreamAsync(Func`2 callback)|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.Connection.ConnectAsync(Func`2 getStream, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Imap.Base.Connection.ConnectAsync(Func`2 getStream, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   --- End of inner exception stack trace ---|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionPool.AcquireConnectionAsync(Folder mailFolder, Boolean noSelect)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ConnectionContext.CreateContextAsync(ImapAccount account)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapFolderSynchronizer.ListFoldersAsync(IListFoldersProgress progress, Folder homeFolder, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapFolderSynchronizer.GetFolderList(IListFoldersProgress progress, Folder homeFolder, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass15_2.<EnqueueGetFolderList>b__1(WorkerStatus status, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass12_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status)|
|05.08.2020 13:17:09|   at MailClient.Commands.Command.Process(WorkerStatus status)|
|05.08.2020 13:17:09|--- End of stack trace from previous location where exception was thrown ---|
|05.08.2020 13:17:09|   at MailClient.Storage.Synchronization.FolderSynchronizerExtensions.SynchronizeSubfoldersAsync(IFolderSynchronizer synchronizer, Folder folder, SynchronizationPriority priority, CancellationToken cancellationToken)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)|
|05.08.2020 13:17:09|   at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass6_0.<<SynchronizeAsync>b__0>d.MoveNext()|
|05.08.2020 13:17:09|[email protected] Google Contacts Synchronizing folder '/Contacts'|

i check double the settings of IMAP and SMTP, the authorization in google for the app is given. also the aktivation of IMAP in Gmail, with other clients i have no problem.

I hope someone can help to find whats happend.

looking forward.
Peter

Try turning off your AV software

Thanks, i turn it off and it works.

Problem solved

I tried to turn off Avast but can’t. Turned off fire wall but same problem.

Really? Why not search Google for an answer… hint: use this as the search criteria “how to stop avast antivirus” or some other criteria of your choice!!!

Same problem. I changed my AV (from Avast thru Avira)…
Without results.

What was the results of turning off your AV?