Franz
April 16, 2020, 6:51am
4
Hi Rick,
Thanks for trying Linx. I am sorry you are having to deal with an error straight away.
As Ronan already mentioned, the problem is related to the plugins download from NuGet.
Our technical team is suggesting you try clearing the NuGet cache. We reproduced the error and clearing the NuGet cache worked in our case.
Here are the steps to accomplish that:
Download the latest version of NuGet:
https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
From the command-line, run the following command (in the directory where you downloaded NuGet.exe):
nuget.exe locals all -clear
Delete file “%appdata%\Twenty57\Linx Designer 5\ServerPackages.json”
Delete folder “%appdata%\Twenty57\Linx Designer 5\Packages”
Please let us know if this worked for you. Below are some references we found related to the error.
Franz
visual-studio, nuget
opened 07:07PM - 19 Nov 19 UTC
closed 09:22PM - 26 Nov 19 UTC
Priority - 1
Type:Bug
Customer Issue
### Describe the bug
Some Visual Studio customers are reporting the following e… rror:
```
Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
The request was aborted: Could not create SSL/TLS secure channel.
```
The NuGet team is actively investigating this problem. At this time, the issue's root cause is unknown. See: https://developercommunity.visualstudio.com/content/problem/815971/unable-to-browse-nuget-packages-1.html
### Workaround
Some customers have reported that disabling TLS 1.3 has resolved their issues:
```ps1
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server' -name 'Enabled' -value '0' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server' -name 'DisabledByDefault' -value 1 -PropertyType 'DWord' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client' -name 'Enabled' -value '0' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client' -name 'DisabledByDefault' -value 1 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'TLS 1.3 has been disabled.'
```
You may also need to change your .NET Framework default TLS version:
```ps1
reg add HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 /v SystemDefaultTlsVersions /t REG_DWORD /d 1 /f /reg:64
reg add HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 /v SystemDefaultTlsVersions /t REG_DWORD /d 1 /f /reg:32
```
Developer Community