# Update Function with SSL/TLS Error

**URL:** <https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851>\
**Category:** bugs\
**Created:** [October 14, 2020, 9:35am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851 "2020-10-14T09:35:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cremator](https://forum.xltoolbox.net/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@cremator](https://forum.xltoolbox.net/u/cremator)\
**Post date:** [October 14, 2020, 9:35am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851/1 "2020-10-14T09:35:43Z")

</div>

Hello,  
i try to use the Update Function but i get an error message that no SSL/TLS connection could be established.  
Excel 2016, Toolbox 7.3.4, behind a non restricting proxy.

Log:

2020-10-14 09:30:08.7225|INFO|Bovender.Logging.LogFile|===== Begin file logging =====  
2020-10-14 09:30:08.7381|INFO|Bovender.Logging.LogFile|LogLevel\_set: Info ==\> Info  
2020-10-14 09:30:08.7537|INFO|Bovender.Logging.LogFile|LogLevel\_set: Info ==\> Debug  
2020-10-14 09:30:10.3788|INFO|XLToolbox.Dispatcher|\*\*\* Execute CheckForUpdates \*\*\*  
2020-10-14 09:30:10.3788|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|StartProcess: Starting process…  
2020-10-14 09:30:10.3788|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|BeforeStartProcess  
2020-10-14 09:30:10.3788|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|Execute: Starting task  
2020-10-14 09:30:10.3788|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|AfterStartProcess  
2020-10-14 09:30:10.4257|WARN|Bovender.Versioning.ReleaseInfo|WebClient\_DownloadStringCompleted: Exception occurred while fetching release info  
2020-10-14 09:30:10.4257|INFO|Bovender.Mvvm.ViewModels.ViewModelBase|Dispatch: Dispatching with dispatcher  
2020-10-14 09:30:10.4257|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|SendProcessFinishedMessage: Sending message  
2020-10-14 09:30:10.4257|WARN|Bovender.Versioning.ReleaseInfo|System.Net.WebException: Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden…  
bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)  
bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)  
bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)  
2020-10-14 09:30:10.4257|INFO|Bovender.Versioning.ReleaseInfo|WebClient\_DownloadStringCompleted: Status: FailureToFetch  
2020-10-14 09:30:11.3946|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|UpdateProgress: No longer processing, disposing update timer  
2020-10-14 09:30:25.8019|INFO|XLToolbox.Dispatcher|\*\*\* Execute CheckForUpdates \*\*\*  
2020-10-14 09:30:25.8019|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|StartProcess: Starting process…  
2020-10-14 09:30:25.8019|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|BeforeStartProcess  
2020-10-14 09:30:25.8019|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|Execute: Starting task  
2020-10-14 09:30:25.8019|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|AfterStartProcess  
2020-10-14 09:30:25.8644|WARN|Bovender.Versioning.ReleaseInfo|WebClient\_DownloadStringCompleted: Exception occurred while fetching release info  
2020-10-14 09:30:25.8644|WARN|Bovender.Versioning.ReleaseInfo|System.Net.WebException: Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden…  
bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)  
bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)  
bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)  
2020-10-14 09:30:25.8644|INFO|Bovender.Versioning.ReleaseInfo|WebClient\_DownloadStringCompleted: Status: FailureToFetch  
2020-10-14 09:30:25.8644|INFO|Bovender.Mvvm.ViewModels.ViewModelBase|Dispatch: Dispatching with dispatcher  
2020-10-14 09:30:25.8644|WARN|Bovender.Versioning.ReleaseInfoViewModel|SendProcessFinishedMessage: Exception occurred!  
2020-10-14 09:30:25.8644|WARN|Bovender.Versioning.ReleaseInfoViewModel|System.Net.WebException: Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden…  
bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)  
bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)  
bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)  
2020-10-14 09:30:25.8644|INFO|Bovender.Mvvm.Messaging.Message`1|Sending message to 1 subscriber(s)  
2020-10-14 09:30:25.8644|WARN|XLToolbox.Dispatcher|CheckForUpdate: ExceptionMessage received  
2020-10-14 09:30:25.8644|WARN|XLToolbox.Dispatcher|System.Net.WebException: Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden…  
bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)  
bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)  
bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.NotificationAction|GetDataContext: Overriding caption  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.NotificationAction|GetDataContext: Overriding message  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.NotificationAction|Die Update-Informationen konnten nicht heruntergeladen werden.  
Folgende Fehlermeldung kam zurück:

Bitte überprüfen Sie auch Ihre Internetverbindung.  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.NotificationAction|GetDataContext: Overriding OK button text  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.ProcessCompletedAction|ProcessCompletedAction.CreateView  
2020-10-14 09:30:26.0206|WARN|Bovender.Mvvm.Actions.ProcessCompletedAction|Process failed!  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.MessageActionBase|Invoke: View is data-bound to Bovender.Mvvm.Messaging.ProcessMessageContent  
2020-10-14 09:30:26.0206|INFO|Bovender.Mvvm.Actions.MessageActionBase|ShowView: Showing view as dialog  
2020-10-14 09:30:26.8176|INFO|Bovender.Mvvm.ViewModels.ViewModelBase|Dispatch: Dispatching with dispatcher  
2020-10-14 09:30:26.8176|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|UpdateProgress: Sending ShowProgressMessage  
2020-10-14 09:30:26.8176|INFO|Bovender.Mvvm.Messaging.Message`1|Sending message to 1 subscriber(s) 2020-10-14 09:30:26.8176|DEBUG|Bovender.Win32Window|Creating new Win32Window instance with the WPF window handle 0x00000000 2020-10-14 09:30:26.8176|DEBUG|Bovender.Win32Window|Obtaining handle from MainWindowHandleProvider 2020-10-14 09:30:26.8176|INFO|Bovender.Win32Window|Using main window handle 0x004607D4 2020-10-14 09:30:27.1302|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|UpdateProgress: PercentCompleted: 0 2020-10-14 09:30:30.0337|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|CancelProcess: CancelProcess was called! 2020-10-14 09:30:30.0337|INFO|Bovender.Mvvm.Messaging.Message`1|Sending message to 1 subscriber(s)  
2020-10-14 09:30:30.0637|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|SendProcessFinishedMessage: Sending message  
2020-10-14 09:30:30.0637|INFO|Bovender.Mvvm.Messaging.Message`1|Sending message to 1 subscriber(s)  
2020-10-14 09:30:30.2401|INFO|Bovender.Mvvm.ViewModels.ProcessViewModelBase|UpdateProgress: No longer processing, disposing update timer

Thanks for suggestions.

---

<div class="post-metadata">

**Author:** ![Daniel](https://forum.xltoolbox.net/user_avatar/forum.xltoolbox.net/daniel/32/6_2.png) [@Daniel](https://forum.xltoolbox.net/u/Daniel)\
**Post date:** [October 15, 2020, 5:51am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851/2 "2020-10-15T05:51:10Z")

</div>

That’s odd. Does the problem persist? I checked the SSL certificate on [www.xltoolbox.net](http://www.xltoolbox.net), it’s valid.

Can you access [www.xltoolbox.net](http://www.xltoolbox.net) with your browser? I guess you can, otherwise you would have difficulties accessing this forum.

The update information is read from [https://www.xltoolbox.net/version-ng.txt](https://www.xltoolbox.net/version-ng.txt) – can you access this file with your browser?

---

<div class="post-metadata">

**Author:** ![cremator](https://forum.xltoolbox.net/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@cremator](https://forum.xltoolbox.net/u/cremator)\
**Post date:** [October 15, 2020, 6:11am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851/3 "2020-10-15T06:11:15Z")

</div>

Hi Daniel,

yes it is persistent no chance the error message is almost instant after i hit the button.  
Yes i can acces the txt link and this forum all from the same machine.

regards,  
michael

---

<div class="post-metadata">

**Author:** ![Daniel](https://forum.xltoolbox.net/user_avatar/forum.xltoolbox.net/daniel/32/6_2.png) [@Daniel](https://forum.xltoolbox.net/u/Daniel)\
**Post date:** [October 18, 2020, 9:07am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851/4 "2020-10-18T09:07:34Z")

</div>

Hm. Why would Office have trouble connecting via SSL if Windows doesn’t??? If this makes Excel +/- the Toolbox unusable for you, you can manually change the settings related to checking for updates in `%appdata%\XL Toolbox\user\settings.yml`:

```auto
LastUpdateCheck: 2099-03-02T00:00:00.0000000+01:00
EnableUpdateChecks: false

```

Either set the date of the last update check to something in the far future (e.g. 2099) or simply disable the checks altogether, as shown.

It’s unlikely that I will be able to publish any substantial updates for the foreseeable future, and if I do, I’ll certainly post it on the website or on the forum etc.

---

<div class="post-metadata">

**Author:** ![cremator](https://forum.xltoolbox.net/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@cremator](https://forum.xltoolbox.net/u/cremator)\
**Post date:** [November 9, 2020, 6:55am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851/5 "2020-11-09T06:55:41Z")

</div>

Hi Daniel,

thanks for your reply, i do that.  
Sorry for my late reply but i was on vacation.

regards,  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://forum.xltoolbox.net/uploads/default/original/1X/b39aeef1f68836c8cece0791714485f9a56b5d41.png) [@system](https://forum.xltoolbox.net/u/system)\
**Post date:** [September 2, 2024, 9:29am UTC](https://forum.xltoolbox.net/t/update-function-with-ssl-tls-error/851/6 "2024-09-02T09:29:18Z")

</div>


