dziemborowicz / hourglass

The simple countdown timer for Windows.
MIT License
647 stars 114 forks source link

System.NotSupportedException on Windows 8.1 #218

Closed viendocraz closed 3 years ago

viendocraz commented 3 years ago

Getting the following error after installing and trying to run the application.

I am on Windows 8.1 and this is with version 1.13 of Hourglass. Any ideas?

System.NotSupportedException: The requested security protocol is not supported.
   at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
   at Hourglass.Managers.UpdateManager.Initialize()
   at Hourglass.Managers.AppManager.Initialize()
   at Hourglass.AppEntry.OnStartup(StartupEventArgs e)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
   at Hourglass.AppEntry.Main(String[] args)
dziemborowicz commented 3 years ago

Thanks for the report.

This bug was introduced in cf78cfdd278c63b9ca20f53bf8d70ae5909f863e, which started using TLS 1.3 when checking for updates here. It looks like this isn't supported on Windows 8.1.

Hourglass 1.10 and earlier should still work.

I should have a fix out for this later tonight.

dziemborowicz commented 3 years ago

This is fixed in Hourglass 1.14.

viendocraz commented 3 years ago

Wow, works perfectly, many thanks. Great app by the way, really useful.

dziemborowicz commented 3 years ago

No worries. :)