runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[6.0] Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'

Open carlossanlop opened this issue 1 year ago • 5 comments

Error Blob

{
  "ErrorMessage": "Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

  • PR: https://github.com/dotnet/runtime/pull/95150
  • Queues: outerloop in the 6.0 branch
  • Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=477943
  • Log example: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-heads-release-60-staging-483717369fd347f190/System.Net.Http.WinHttpHandler.Functional.Tests/1/console.fff8c7d1.log?helixlogtype=result
  • Output example:
    System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds [FAIL]
      System.Net.Http.HttpRequestException : An error occurred while sending the request.
      ---- System.Net.Http.WinHttpException : Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'.
      Stack Trace:
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs(232,0): at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.<NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds>d__19.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        ----- Inner Stack Trace -----
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        /_/src/libraries/Common/src/System/Threading/Tasks/RendezvousAwaitable.cs(62,0): at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
        /_/src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpHandler.cs(961,0): at System.Net.Http.WinHttpHandler.<StartRequestAsync>d__122.MoveNext()

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=477943 Error message validated: Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred' Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 11/23/2023 2:18:45 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

carlossanlop avatar Nov 23 '23 02:11 carlossanlop

Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

  • PR: https://github.com/dotnet/runtime/pull/95150
  • Queues: outerloop in the 6.0 branch
  • Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=477943
  • Log example: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-heads-release-60-staging-483717369fd347f190/System.Net.Http.WinHttpHandler.Functional.Tests/1/console.fff8c7d1.log?helixlogtype=result
  • Output example:
    System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds [FAIL]
      System.Net.Http.HttpRequestException : An error occurred while sending the request.
      ---- System.Net.Http.WinHttpException : Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'.
      Stack Trace:
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs(232,0): at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.<NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds>d__19.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        ----- Inner Stack Trace -----
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        /_/src/libraries/Common/src/System/Threading/Tasks/RendezvousAwaitable.cs(62,0): at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
        /_/src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpHandler.cs(961,0): at System.Net.Http.WinHttpHandler.<StartRequestAsync>d__122.MoveNext()
Author: carlossanlop
Assignees: -
Labels:

area-System.Net, blocking-clean-ci, blocking-outerloop, Known Build Error

Milestone: -

ghost avatar Nov 23 '23 02:11 ghost

Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

  • PR: https://github.com/dotnet/runtime/pull/95150
  • Queues: outerloop in the 6.0 branch
  • Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=477943
  • Log example: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-heads-release-60-staging-483717369fd347f190/System.Net.Http.WinHttpHandler.Functional.Tests/1/console.fff8c7d1.log?helixlogtype=result
  • Output example:
    System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds [FAIL]
      System.Net.Http.HttpRequestException : An error occurred while sending the request.
      ---- System.Net.Http.WinHttpException : Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred'.
      Stack Trace:
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs(232,0): at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.<NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds>d__19.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        ----- Inner Stack Trace -----
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        /_/src/libraries/Common/src/System/Threading/Tasks/RendezvousAwaitable.cs(62,0): at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
        /_/src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpHandler.cs(961,0): at System.Net.Http.WinHttpHandler.<StartRequestAsync>d__122.MoveNext()

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=477943 Error message validated: Error 12175 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'A security error occurred' Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 11/23/2023 2:18:45 AM UTC

Report

Build Definition Test Pull Request
482119 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
482125 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
482129 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
482123 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
482126 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
482104 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480828 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480816 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480824 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480825 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480826 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480823 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480358 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480342 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480353 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480350 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480344 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480334 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480010 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
480004 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479998 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479991 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479987 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479989 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479590 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479584 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479593 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479578 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479570 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479581 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479040 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479024 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479028 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479015 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479020 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
479012 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
477943 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds
477930 dotnet/runtime System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
6 38 38
Author: carlossanlop
Assignees: -
Labels:

area-System.Net, area-System.Net.Http, blocking-clean-ci, untriaged, blocking-outerloop, Known Build Error

Milestone: -

ghost avatar Nov 28 '23 17:11 ghost

@antonfirsov this is on 6.0 branch, are you sure about the milestone? Is there anything we could do to mitigate in 6.0 branch?

ManickaP avatar Nov 28 '23 17:11 ManickaP

With the milestone I meant "something to look at in the 9.0 timeframe". I also see this failing in 7.0 runs and there are possibly related failures of NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds in SocketsHttpHandler cases as well.

Is there anything we could do to mitigate in 6.0 branch?

If the failure turns out to be environmental, we can disable the test in the affected branches.

antonfirsov avatar Nov 28 '23 18:11 antonfirsov

was not seen recently... dropping blocking-clean-ci

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

jeffschwMSFT avatar Feb 15 '24 23:02 jeffschwMSFT

I'm not seeing any entries in Kusto, closing.

MihaZupan avatar Jun 18 '24 14:06 MihaZupan