Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
carlossanlop opened this issue Nov 23, 2023 · 6 comments
Labels
area-System.Net.Http blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Nov 23, 2023

Error Blob

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

Reproduction Steps

    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: 🔎 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: ✅ 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 carlossanlop added area-System.Net blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs Known Build Error Use this to report build issues in the .NET Helix tab labels Nov 23, 2023
@ghost
Copy link

ghost commented Nov 23, 2023

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

    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 ghost added the untriaged New issue has not been triaged by the area owner label Nov 23, 2023
@ghost
Copy link

ghost commented Nov 28, 2023

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

    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: 🔎 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: ✅ 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: -

@antonfirsov antonfirsov removed the untriaged New issue has not been triaged by the area owner label Nov 28, 2023
@antonfirsov antonfirsov added this to the 9.0.0 milestone Nov 28, 2023
@ManickaP
Copy link
Member

@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?

@antonfirsov
Copy link
Member

antonfirsov commented Nov 28, 2023

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.

@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 15, 2024
@jeffschwMSFT
Copy link
Member

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

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

@MihaZupan
Copy link
Member

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

@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

5 participants