Skip to content

SslStress: SocketException (995) WSA_OPERATION_ABORTED on Windows #76044

Closed

Description

@antonfirsov

I see this happening in most of the CI runs. I think it's more likely an environmental issue than a regression, but we should investigate and attempt to fix it to get clean runs.

Activity

  1. added this to the 8.0.0 milestone on Sep 22, 2022
  2. added
    test-bug
    on Jun 9, 2023
  3. karelz commented on Aug 3, 2023

    @karelz
    Member

    Triage: Most likely test problem, but reproduces with much lower frequency now in CI. Moving to 9.0.

  4. modified the milestones: 8.0.0, 9.0.0 on Aug 3, 2023
  5. mgungorchamp commented on Aug 10, 2023

    @mgungorchamp

    I have the same issue, details are here
    dotnet/maui#16679

    Any solution to this?

    I got tons of this exceptions

    System.Exception: CurrentDomain_FirstChanceException
    ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
    ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
    --- End of inner exception stack trace ---
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
    --- End of inner exception stack trace ---Time: 8/10/2023 1:23:18 PM
    Error: Unhandled Exception
    System.Exception: CurrentDomain_FirstChanceException
    ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
    ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
    --- End of inner exception stack trace ---
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
    at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken) --- End of inner exception stack trace ---Time: 8/10/2023 1:23:18 PM Error: Unhandled Exception System.Exception: CurrentDomain_FirstChanceException ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken)
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    --- End of inner exception stack trace

  6. changed the title [-]SslStress: SocketException (995) WSA_OPERATION_ABORTED in most Windows runs[/-] [+]SslStress: SocketException (995) WSA_OPERATION_ABORTED on Windows[/+] on Aug 24, 2023
  7. rzikm commented on Mar 19, 2024

    @rzikm
    Member

    The issue has not occured since August 2023, closing as not actionable.

  8. locked and limited conversation to collaborators on Apr 19, 2024
  9. antonfirsov commented on Jun 11, 2024

    @antonfirsov
    ContributorAuthor

    We had one hit recently. The issue is almost certainly environmental. If it starts to happen with higher frequency we should reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Securitytest-bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions