runtime: [Regression] Test failed: System.Net.Http.Functional.Tests.HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test / SetDelegate_ConnectionSucceeds
Types of failures
System.Net.Http.HttpRequestException : An error occurred while sending the request.
---- System.IO.IOException : The decryption operation failed, see inner exception.
-------- Interop+OpenSsl+SslException : Decrypt failed with OpenSSL error - SSL_ERROR_SSL.
------------ System.Security.Cryptography.CryptographicException : Error occurred during a cryptographic operation.
at System.Net.Http.HttpConnection.<SendAsync>d__38.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/HttpConnection.cs:line 438
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.HttpConnectionHandler.<SendAsyncWithAwaitedConnection>d__4.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/HttpConnectionHandler.cs:line 43
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.CookieHandler.<SendAsync>d__3.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/CookieHandler.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.AuthenticateAndRedirectHandler.<SendAsync>d__7.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/AuthenticateAndRedirectHandler.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__62.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 488
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.Functional.Tests.HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test.<>c__DisplayClass3_1.<<SetDelegate_ConnectionSucceeds>b__0>d.MoveNext() in /root/corefx-1259674/src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.AcceptAllCerts.cs:line 54
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass3_0.<CreateServerAsync>b__0(Task t) in /root/corefx-1259674/src/Common/tests/System/Net/Http/LoopbackServer.cs:line 68
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) in /root/coreclr/src/mscorlib/shared/System/Threading/ExecutionContext.cs:line 151
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) in /root/coreclr/src/mscorlib/src/System/Threading/Tasks/Task.cs:line 2440
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.Functional.Tests.HttpClientHandler_DangerousAcceptAllCertificatesValidator_Test.<SetDelegate_ConnectionSucceeds>d__3.MoveNext() in /root/corefx-1259674/src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.AcceptAllCerts.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
--- End of stack trace from previous location where exception was thrown ---
--- End of stack trace from previous location where exception was thrown ---
----- Inner Stack Trace -----
at System.Net.Security.SslStreamInternal.<ReadAsyncInternal>d__32`1.MoveNext() in /root/corefx-1259674/src/System.Net.Security/src/System/Net/Security/SslStreamInternal.cs:line 285
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.HttpConnection.<FillAsync>d__64.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/HttpConnection.cs:line 958
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.HttpConnection.<ReadNextLineAsync>d__62.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/HttpConnection.cs:line 867
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.HttpConnection.<SendAsync>d__38.MoveNext() in /root/corefx-1259674/src/System.Net.Http/src/System/Net/Http/Managed/HttpConnection.cs:line 313
----- Inner Stack Trace -----
at Interop.OpenSsl.Decrypt(SafeSslHandle context, Byte[] outBuffer, Int32 offset, Int32 count, SslErrorCode& errorCode) in /root/corefx-1259674/src/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.OpenSsl.cs:line 269
at System.Net.Security.SslStreamPal.EncryptDecryptHelper(SafeDeleteContext securityContext, ReadOnlyMemory`1 input, Int32 offset, Int32 size, Boolean encrypt, Byte[]& output, Int32& resultSize) in /root/corefx-1259674/src/System.Net.Security/src/System/Net/Security/SslStreamPal.Unix.cs:line 207
----- Inner Stack Trace -----
History of failures
Lots of failures in CI:
- 12/2-12/18 - 58 failures (avg 3+/day) - see https://github.com/dotnet/corefx/issues/25676#issuecomment-353659053 for details on first failures on 12/2
- 12/19-1/5 - 44 failures (avg 2.5/day)
- 1/6-1/14 - 44 failures (avg 5/day)
Day | Build | OS | Details |
---|---|---|---|
1/3 | 20180103.03 | Fedora25 | [ManagedHandler] link |
Original report
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 39 (39 by maintainers)
Commits related to this issue
- Fix regression on OpenSsl exception message Managed code relies on SSL error queue to give proper error information. PAL layer was clearing up the error queue and the exception messages were not prec... — committed to pjanotti/corefx by deleted user 6 years ago
- Fix regression on OpenSsl exception message (#28931) * Fix regression on OpenSsl exception message Managed code relies on SSL error queue to give proper error information. PAL layer was clearing u... — committed to dotnet/corefx by deleted user 6 years ago
- X509_store_add_crl throws on unexpected errors Fixes #3063 and it is part 2 of #25676: clear error queue on X509_store_add_crl failures. — committed to pjanotti/corefx by deleted user 6 years ago
- X509_store_add_crl throws on unexpected errors Fixes #3063 and it is part 2 of #25676: clear error queue on X509_store_add_crl failures. — committed to pjanotti/corefx by deleted user 6 years ago
- X509_store_add_crl throws on unexpected errors Fixes #3063 and it is part 2 of #25676: clear error queue on X509_store_add_crl failures. — committed to pjanotti/corefx by deleted user 6 years ago
- X509_store_add_crl throws on unexpected errors Fixes #3063 and it is part 2 of #25676: clear error queue on X509_store_add_crl failures. — committed to pjanotti/corefx by deleted user 6 years ago
- Make X509_store_add_crl throw on unexpected errors (#28966) * X509_store_add_crl throws on unexpected errors Fixes #3063 and it is part 2 of #25676: clear error queue on X509_store_add_crl failure... — committed to dotnet/corefx by deleted user 6 years ago
- Remove active issue #25676 — committed to pjanotti/corefx by deleted user 6 years ago
- More SSL error queue cleaning (#29171) * Cleaning up more instances leaving errors on SSL queue * Fixes #25676 — committed to pjanotti/corefx by deleted user 6 years ago
- More SSL error queue cleaning (#29171) (#29194) * Cleaning up more instances leaving errors on SSL queue * Fixes #25676 — committed to dotnet/corefx by deleted user 6 years ago
This continues to fail sporadically but frequently. I’m disabling it (but we should get to the bottom soon of why it fails).
The proposed PR to fix this issue is merged, hence will close it as fixed. If issue still repros please re-open this issue with relevant information.