Unable to Access Exchange 2010 Server

My employer still uses Exchange 2010 and I keep getting this error:

18:29:33 Online state: changed to online due to NetworkAvailability 
18:29:35  [Exchange Web Services] MailClient.Accounts.ConnectionException: The SSL connection could not be established, see inner exception.
          ---> System.Net.WebException: The SSL connection could not be established, see inner exception.
          ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
          ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
          ---> System.ComponentModel.Win32Exception (0x80090331): The client and server cannot communicate, because they do not possess a common algorithm.
            --- End of inner exception stack trace ---
            at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
            at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
            --- End of inner exception stack trace ---
            at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
            at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
            at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
            at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
            at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
            at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
            at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
            at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
            at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
            at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
            at MailClient.Protocols.InteractionController.HttpClientCertificationValidationMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
            at MailClient.Protocols.Common.HttpClientHandlers.HttpClientBackoffHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
            at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
            at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.GetResponse(CancellationToken token)
            --- End of inner exception stack trace ---
            at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
            --- End of inner exception stack trace ---
            at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
            at MailClient.Commands.Command.Process(WorkerStatus status)
           EnqueuedStackTrace =
                at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GoOnlinePre()
                at MailClient.Protocols.Exchange.ExchangeAccount.GoOnlineInt()
                at MailClient.Protocols.Common.AccountBase.ChangeOnlineState(Boolean online, OfflineReason offlineReason)
                at MailClient.Protocols.Common.AccountBase.GoOnline()
                at MailClient.Accounts.AccountList.<>c__DisplayClass24_0.<SetOnlineState>b__1(IAccount account)
                at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
                at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
                at System.Threading.Tasks.TaskReplicator.Replica.Execute()
                at System.Threading.Tasks.TaskReplicator.Replica.<>c.<.ctor>b__4_0(Object s)
                at System.Threading.Tasks.Task.InnerInvoke()
                at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
                at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
                at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread)
                at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
                at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
                at System.Threading.Tasks.Task.InternalRunSynchronously(TaskScheduler scheduler, Boolean waitForCompletion)
                at System.Threading.Tasks.Task.RunSynchronously(TaskScheduler scheduler)
                at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
                at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
                at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
                at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
                at MailClient.Accounts.AccountList.SetOnlineState(Boolean online, OfflineReason offlineReason, IComparer`1 comparer)
                at MailClient.Accounts.BindingAccountBase.GoOnline()
                at MailClient.Accounts.AccountList.<>c__DisplayClass24_0.<SetOnlineState>b__1(IAccount account)
                at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
                at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
                at System.Threading.Tasks.TaskReplicator.Replica.Execute()
                at System.Threading.Tasks.TaskReplicator.Replica.<>c.<.ctor>b__4_0(Object s)
                at System.Threading.Tasks.Task.InnerInvoke()
                at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
                at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread)
                at System.Threading.ThreadPoolWorkQueue.Dispatch()
                at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
                at System.Threading.Thread.StartCallback()
           GUIStatus_Exception_Reported = True
18:29:35 Exchange Web Services] System.Threading.Tasks.TaskCanceledException: A task was canceled.
            at MailClient.Storage.Synchronization.FolderSynchronizerExtensions.SynchronizeSubfoldersAsync(IFolderSynchronizer synchronizer, Folder folder, SynchronizationPriority priority, CancellationToken cancellationToken)
            at MailClient.Protocols.Exchange.ExchangeAccount.SynchronizeIntAsync(Boolean forced)
            at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass7_0.<<SynchronizeAsync>b__0>d.MoveNext()
           GUIStatus_Exception_Reported = True

A little research leads me to believe emclient is having issues with the old TLS 1.0 on Exchange. Is there any solution?

That is an old Exchange server.

What Windows OS are you running ?

Also what are your incoming Mail server settings in eM Client for that account ?

Lastly what version of eM Client do you have ?

I know it’s old and unsupported by Microsoft but I have no other option for work email. I am using Windows 10.

I am using Windows 10.

Ok your Windows version is fine. As long as you haven’t installed TLS1.3 you should be fine. Win 10 normally just needs to have TLS1.2 installed. You can check that’s enabled via this link.

I haven’t heard of any issue with eM Client with older Exchange 2010 servers. However someone will update this forum if there is.

What are your incoming Mail server settings in eM Client for that exchange account ?

Lastly what version of eM Client do you have ?

Update
I was so wrong about the Exchange version. I just logged into OWA to confirm and the version is actually Microsoft Exchange Server 2007 SP3. According to the Feature page “eM Client supports Microsoft Exchange 2007 and newer.” so I don’t know what’s happening.

Which particular setting? Everything was working perfectly until I took an emclient update in April and I noticed shortly after it stopped syncing but I can’t say the update was the cause.

My current version is 9.2.2054 (5ffd5f4).

We support whatever your server says it requires, but it really has to do with your OS.

TLS 1.0 is deprecated, so it may not even be enabled on your device. First, you should check in Windows 10 if it is enabled.

1 Like

I just enabled TLS 1.0 in Internet Properties and via regedit but still no luck. What is the procedure I should use?

I just logged into OWA to confirm and the version is actually Microsoft Exchange Server 2007

Ok so your 2007 server only supports TLS 1.0

My current version is 9.2.2054 (5ffd5f4)

Ok that version of eM Client works fine with exchange.

I just enabled TLS 1.0 in Internet Properties and via regedit but still no luck

If you have enabled TLS 1 0 correctly in Win 10 via either the (Internet properties or registry) as in this example link, where TLS 1.0 is the requirement for Exchange 2007 according to this MS community post then could be three things.

Either you have an exchange mail server issue,

Or you have a local mail account issue in eM Client,

Or you maybe a local firewall / security or vpn issue.

So suggest to first try “removing and reading your exchange account in eM Client” via either the automatic email wizard or manual add exchange option depending on your mail providers instructions via “Menu / Accounts” and see if that fixes it just in case your account was corrupted in some way and might not have been authenticating properly.

Note: Before removing and re-adding your account, do a manual backup of eM Client via “Menu / Backup” incase you need to restore for any reason. You can see when the backup is complete in Show Operations via the drop-down on the right of Refresh.

Now if removing and re-adding your exchange mail account makes no difference, “update in this thread what your incoming Mail setting is” as we haven’t seen what you have there as yet. Eg: you might have a mail server setting not quite right so we need to dbl-clheck that.

Also “let us know who your mailbox provider is” just in case there are any known issues with that provider.

Next if you have any optionally installed eg: Firewalls / Security programs or optional installed Antivirus programs or VPNs, try completely disabling those to test incase of any interference.

Lastly “have you spoken to your mail server technical support” in case they are having any current issues or aware of this specific problem.

One thing to note, Microsoft say on their tech community blog as of Aug 01 2023, that the older TLS 1.0 & 1.1 could have support removed (at anytime) as per the post quote below, so I would suggest to maybe eg: look at ultimately moving to another mail provider who supports min TLS 1.2 if you mail exchange server guys are not going to update to newer exchange or office 365 servers.

https://techcommunity.microsoft.com/t5/windows-it-pro-blog/tls-1-0-and-tls-1-1-soon-to-be-disabled-in-windows/ba-p/3887947

Quote - “Support for these legacy TLS 1.0 & 1.1 versions may be removed completely in the future”

1 Like

Completely removing the account without backing up then closing and reopening emclient then adding the account worked for me. Thank you!

1 Like

Completely removing the account without backing up then closing and reopening emclient then adding the account worked for me.

Great that it’s now working. Make a backup.