[GH-ISSUE #590] Crash: The requested security protocol is not supported. #485

Closed
opened 2026-02-26 09:31:37 +03:00 by kerem · 5 comments
Owner

Originally created by @giantmustache on GitHub (Feb 18, 2020).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/590

Originally assigned to: @NickeManarin on GitHub.

At the moment I start ScreenToGif I receive an error. Then the program closes down. It seems that something is not supported, although it is unclear to me what to do about it.

I used the single executable, because the installer crashed for the same reason and I hoped that this would work out for me. I have attached the log. Is there any other information you would like to have from me?

► Title -
On dispacher unhandled exception - Unknown
▬ Message -
The requested security protocol is not supported.
○ Type -
System.NotSupportedException
♦ [Version] Date/Hour -
[2.20.3] 02/18/2020 11:06:31
▲ Source -
System
▼ TargetSite -
Void ValidateSecurityProtocol(System.Net.SecurityProtocolType)
♠ StackTrace -
at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
at ScreenToGif.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Originally created by @giantmustache on GitHub (Feb 18, 2020). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/590 Originally assigned to: @NickeManarin on GitHub. At the moment I start ScreenToGif I receive an error. Then the program closes down. It seems that something is not supported, although it is unclear to me what to do about it. I used the single executable, because the installer crashed for the same reason and I hoped that this would work out for me. I have attached the log. Is there any other information you would like to have from me? ► Title - On dispacher unhandled exception - Unknown ▬ Message - The requested security protocol is not supported. ○ Type - System.NotSupportedException ♦ [Version] Date/Hour - [2.20.3] 02/18/2020 11:06:31 ▲ Source - System ▼ TargetSite - Void ValidateSecurityProtocol(System.Net.SecurityProtocolType) ♠ StackTrace - at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value) at ScreenToGif.App.Application_Startup(Object sender, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ----------------------------------
kerem 2026-02-26 09:31:37 +03:00
Author
Owner

@Bliamoh commented on GitHub (Feb 18, 2020):

I have the same issue when I'm trying to install the last version (2.20.3) with the installer or with the portable version. I just downloaded the 2.20.2 version and the error didn't appear. Some changes in the 2.20.3 version must cause it.
I'm on Windows 10 x64.

<!-- gh-comment-id:587398036 --> @Bliamoh commented on GitHub (Feb 18, 2020): I have the same issue when I'm trying to install the last version (2.20.3) with the installer or with the portable version. I just downloaded the 2.20.2 version and the error didn't appear. Some changes in the 2.20.3 version must cause it. I'm on Windows 10 x64.
Author
Owner

@giantmustache commented on GitHub (Feb 18, 2020):

I have some more info after I got @Bliamoh 's comment. I got 2.20.3 working as follows:

  • I received the error when using 2.20.3 portable
  • I deleted 2.20.3 portable
  • I installed 2.20.2 portable
  • I received the notification that I didn't have .NET 4.8 installed. So I installed it.
  • I restarted my machine. 2.20.2 portable is working fine.
  • I deleted 2.20.2 portable
  • I installed 2.20.3 portable. This version is now working fine as well.

So it seems that not having .NET 4.8 installed on your machine lets the application crash and doesn't ask me for downloading it.

<!-- gh-comment-id:587410971 --> @giantmustache commented on GitHub (Feb 18, 2020): I have some more info after I got @Bliamoh 's comment. I got 2.20.3 working as follows: - I received the error when using 2.20.3 portable - I deleted 2.20.3 portable - I installed 2.20.2 portable - I received the notification that I didn't have .NET 4.8 installed. So I installed it. - I restarted my machine. 2.20.2 portable is working fine. - I deleted 2.20.2 portable - I installed 2.20.3 portable. This version is now working fine as well. So it seems that not having .NET 4.8 installed on your machine lets the application crash and doesn't ask me for downloading it.
Author
Owner

@NickeManarin commented on GitHub (Feb 18, 2020):

@giantmustache Yes, it's a know bug. Sorry.

The app is crashing because the .NET Framework 4.8 is not installed before the message is able to appear.
I already fixed it and I'm going to launch a new version next weekend.

<!-- gh-comment-id:587517811 --> @NickeManarin commented on GitHub (Feb 18, 2020): @giantmustache Yes, it's a know bug. Sorry. The app is crashing because the .NET Framework 4.8 is not installed before the message is able to appear. I already fixed it and I'm going to launch a new version next weekend.
Author
Owner

@NickeManarin commented on GitHub (Feb 18, 2020):

I added a warning on screentogif.com and I also pinned this issue.

<!-- gh-comment-id:587564321 --> @NickeManarin commented on GitHub (Feb 18, 2020): I added a warning on screentogif.com and I also pinned this issue.
Author
Owner

@NickeManarin commented on GitHub (Feb 19, 2020):

Fixed. v2.20.4 should be working now.

<!-- gh-comment-id:588267503 --> @NickeManarin commented on GitHub (Feb 19, 2020): Fixed. v2.20.4 should be working now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#485
No description provided.