Sysprogs forums › Forums › VisualGDB › VisualGDB not working after VS Community update: Could not create SSL/TLS …
Tagged: connection, secure channel, SSL/TLS, visualgdb
- This topic has 5 replies, 3 voices, and was last updated 6 hours, 53 minutes ago by
bjornharink.
-
AuthorPosts
-
May 13, 2025 at 14:13 #36645
bjornharink
ParticipantAfter the latest update of Visual Studio 2022 Community, VisualGDB seems to not work and crash VS when opening a VisualGDB solution (STM32CubeMX template).
Uninstalled everything and reinstalled everything (VS and VisualGDB). No dice. I keep getting the message: “The request was aborted: Could not create SSL/TLS secure channel” whenever I try to load a solution. I don’t have any virus or firewall software installed apart from that of Windows 11 Pro.
VisualGDB: 6.0R8 (build 5338)
Visual Studio 2022 Community: 17.14.0 (latest version as of 2025-May-13)
Attachments:
You must be logged in to view attached files.May 13, 2025 at 14:28 #36647support
KeymasterIt looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey
Update: it looks like you are using a floating license. Please try selecting Help->About VisualGDB->Revert to trial. If this fixes the problem, it will be covered by our support even with an otherwise expired support period.
May 13, 2025 at 14:52 #36648hoterpone
ParticipantWe are experiencing the same error for several developers here that are using a floating license, while the one developer with a static license doesn’t have any problems. The floating licenses are all running a VS version that is earlier than what was released today, while the static license user is running today’s VS release.
Is it possible that Sysprogs is having a problem with their floating license server?
May 13, 2025 at 15:34 #36649bjornharink
ParticipantYes, I am using a floating license. I have reverted to the trial, but that did not resolve it. Same error and it still crashes VS.
Additionally, when I try to enter the key again it gives the same error and crashes.
-
This reply was modified 11 hours, 18 minutes ago by
bjornharink.
-
This reply was modified 11 hours, 17 minutes ago by
bjornharink.
May 13, 2025 at 18:18 #36652support
KeymasterNo problem, we will try to explain what is going on.
The problem is most likely related to the TLS versions (protocol used by HTTPS). In order to maintain backward compatibility with VS2008, VisualGDB binaries are built to be compatible with all .Net versions starting from 3.5. However, the actual .Net 3.5 requires the old TLS 1.1 protocol that has been dropped by the latest web server software.
So, as a workaround, VisualGDB uses configuration files (e.g. VisualGDB.exe.config) to explictly request Windows to prefer the newer .Net 4.0 that works with the latest TLS:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0.30319"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration>
The error would happen if you were using the old VS2008 (that depends on .Net 3.5) or somehow Windows would stop using the latest .Net version and would revert to 3.5. It is difficult to say why exactly it would happen on a particular machine, however we can suggest a few workarounds:
- Try replacing the SessionServer.exe executable in the VisualGDB directory with this version: https://sysprogs.com/files/tmp/SessionServer.exe
- Double-check that the visualgdb.exe.config and SessionServer.exe.config files are present and specify v4.0 before v2.0.
If nothing helps, you can work around it by using a separate forwarder that would fetch the session keys using TLS 1.2 and feed them to VisualGDB. Let us know if you nothing else helps, and we will provide more details.
May 13, 2025 at 20:01 #36663bjornharink
ParticipantReplacing the SessionServer.exe with the provided file seems to have fixed it.
I do not have or use VS2008. Only VS2022. Perhaps it indeed reverts back to 3.5.
Thank you.
-
This reply was modified 11 hours, 18 minutes ago by
-
AuthorPosts
- You must be logged in to reply to this topic.