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

SslStress: SocketException (995) WSA_OPERATION_ABORTED on Windows #76044

Closed
antonfirsov opened this issue Sep 22, 2022 · 6 comments
Closed

SslStress: SocketException (995) WSA_OPERATION_ABORTED on Windows #76044

antonfirsov opened this issue Sep 22, 2022 · 6 comments
Labels
area-System.Net.Security test-bug Problem in test source code (most likely)
Milestone

Comments

@antonfirsov
Copy link
Member

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.

@antonfirsov antonfirsov added this to the 8.0.0 milestone Sep 22, 2022
@ghost
Copy link

ghost commented Sep 22, 2022

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

Issue Details

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.

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Http

Milestone: 8.0.0

@ghost
Copy link

ghost commented Jan 11, 2023

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

Issue Details

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.

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Http, area-System.Net.Security

Milestone: 8.0.0

@karelz karelz added the test-bug Problem in test source code (most likely) label Jun 9, 2023
@karelz
Copy link
Member

karelz commented Aug 3, 2023

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

@karelz karelz modified the milestones: 8.0.0, 9.0.0 Aug 3, 2023
@mgungorchamp
Copy link

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

@antonfirsov antonfirsov changed the title SslStress: SocketException (995) WSA_OPERATION_ABORTED in most Windows runs SslStress: SocketException (995) WSA_OPERATION_ABORTED on Windows Aug 24, 2023
@rzikm
Copy link
Member

rzikm commented Mar 19, 2024

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

@rzikm rzikm closed this as completed Mar 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 19, 2024
@antonfirsov
Copy link
Member Author

antonfirsov commented Jun 11, 2024

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Security test-bug Problem in test source code (most likely)
Projects
None yet
Development

No branches or pull requests

5 participants