Description
I'm getting recurring but non consistent exceptions in couple of my environments running the same code under the Docker image mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim
This only happened in environments where I have an SSL certificate provisioned by certbot, but I don't know if its related. Certificate is signed and up to date.
Reproduction Steps
not consistent
Expected behavior
No errors on Kestrel level
Actual behavior
Microsoft.AspNetCore.Server.Kestrel: Unhandled exception while processing 0HMDG00D520FK.
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at System.Net.Security.SslStream.ProcessBlob(Int32 frameSize)
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection`1.ExecuteAsync()
Regression?
Did not observe this in dotnet 5 or core 3.1 that I run beforehand
Known Workarounds
No response
Configuration
Dotnet 6.0.100
OS is Ubuntu 18.0.4 x86_64 , running Docker image mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim`
Other information
No response
Description
I'm getting recurring but non consistent exceptions in couple of my environments running the same code under the Docker image
mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slimThis only happened in environments where I have an SSL certificate provisioned by
certbot, but I don't know if its related. Certificate is signed and up to date.Reproduction Steps
not consistent
Expected behavior
No errors on Kestrel level
Actual behavior
Regression?
Did not observe this in dotnet 5 or core 3.1 that I run beforehand
Known Workarounds
No response
Configuration
Dotnet
6.0.100OS is
Ubuntu 18.0.4x86_64 , running Docker imagemcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim`Other information
No response