Closed OMH2Share closed 5 years ago
Because of the TLS1.2 requirement, you need a vital change in order to run the solution. In cloud\Global.asax.cs
This is due to RestSharp that is compiled using .Net4.0, where TLS1.2 is NOT default. Newer version than 106.3.1 of RestSharp does not seem to work
void Application_Start(object sender, EventArgs e) { // Enforce TLS1.2 System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; // Code that runs on application startup GlobalConfiguration.Configure(WebApiConfig.Register); }
thanks, @OMH2Share, I'll check that and fix it. The project is compiling with 4.6, but (my mistake) the reference is using 4.5.2
Because of the TLS1.2 requirement, you need a vital change in order to run the solution. In cloud\Global.asax.cs
This is due to RestSharp that is compiled using .Net4.0, where TLS1.2 is NOT default. Newer version than 106.3.1 of RestSharp does not seem to work