Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Migrating from Blazor web assembly to Blazor web application on Azure

$
0
0

I am trying to update an application from Blazor .NET 7 web assembly to a Blazor on .NET 8.0 web application with interactive server rendering. On the web assembly on razor pages I had a lot of HttpClient calls to the server side Web API controllers.

I finally managed to make those calls to work on Blazor interactive server (the Blazor server pages make http calls on the server Web API controllers), but when I uploaded them to the Azure site, I get the following error:

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.

System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'ProtocolVersion'.

System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted.
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)

Tls protocol version 1.2 both on code and on azure configuration of course..

Any clues?

Thanks


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>