Skip to content

Troubleshooting

Danmarks Miljøportal edited this page Sep 8, 2020 · 2 revisions

This section contains a list of potential issues and known solutions and/or workarounds.

TLS Negotiation

The Stanlab API does not support TLS under 1.2. Therefore trying to create a connection to Stanlab with either TLS 1.0 or 1.1 will fail. If you are running on older frameworks, this means that you will have to implement usage of higher TLS version In .NET this can be accomplised by applying the following:

.NET 4.6 or higher

TLS 1.2 is supported by default

.NET 4.5

TLS 1.2 is supported, but is deactivated by default. It can be activated by setting: ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

.NET 4.0

TLS 1.2 is not supported. But if you have .NET 4.5 or higher installed, is can be activated by setting: ServicePointManager.SecurityProtocol = (SecurityProtocolType) 3072;

.NET 3.5 or lower

TLS 1.2 is not supported, and there are no workarounds

Clone this wiki locally