-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Microsoft.Quic.MsQuicException on rolling build of runtime #69792
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsDescriptionLast build of runtime is failing with below exception on System.Net.Quic.Tests.MsQuicTests System.AggregateException : One or more errors occurred. (Connection has been shutdown by transport: QUIC_STATUS_CONNECTION_REFUSED) ---- Microsoft.Quic.MsQuicException : Connection has been shutdown by transport: QUIC_STATUS_CONNECTION_REFUSED Reproduction StepsCheck last rolling build of runtime Expected behaviorSystem.Net.Quic.Tests.MsQuicTests should pass Actual behaviorSystem.Net.Quic.Tests.MsQuicTests are failing Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
I am looking into it, hopefully will be fixed with #69789 |
No such luck, but the test failures seem to be confined to Windows 2022 Server, so I will disable the tests there meanwhile |
Has the dotnet/msquic change been propagated via maestro already? When we update that repo, new version of windows version of libmsquic gets published into maestro subscription, which then creates PR in runtime in versions.xml, which then updates the msquic version. Yeah, it wasn't consumed yet: #69709 |
I find it a bit weird that the tests didn't fail on #69603 then. But we can wait a bit and see if the maestro PR resolves that. |
Ha, Tomas is faster, yeah this was a trap 😄 |
WS 2022 will not support client certificates using schannel. It was a feature added for Windows 11. The only way to get client certificate support on WS 2022 or earlier is to use OpenSSL. |
I see, I will update our tests to reflect this |
Looks like a weird GitHub blip; all the Helix components and even most of the GitHub AzDO components logged "the right thing". If it ever happens again please work with the @dnceng first responders Teams channel to reach out to GitHub; it's unlikely to be investigated while still a one-off. |
Should we then rather increase our minimum required Windows version in S.N.Quic? Since without it, the feature doesn't work. |
I'm wondering if we should detect this in the product and throw PlatformNotSupportedException. |
We still need to disable the tests for that OS to unblock CI. Then we can think about following up with some more changes.
Detecting it sounds reasonable. It would mean OS platform and version check in MsQuicListener, which is doable (although we generally don't have version checks in the product). I would like to investigate this further because we are only supposed to get |
This would only be for the specific client certificate feature, and not the entirety of S.N.Quic, right? If the whole S.N.Quic namespace needs higher then WS 2022, then that would mean that no server os Microsoft ships would be supported by S.N.Quic, which would not be ideal.
CONNECTION_REFUSED can happen for a lot more reasons then this. The server could explicitly choose to fail the handshake, which would result in refused as well iirc. |
Yes, I think this check should be only for client certificates ... that is not common IMHO. |
Its server side can't receive it. The functionality to enable requesting client certificates does not work. Its the above bug, just exposed from our end. |
Yes, that is the second instance I know of where server will refuse the connection, but we don't do that for the failed tests in question. |
Sorry, read the comments but not sure I followed everything -- do we expect this is fixed? |
Description
Last build of runtime is failing with below exception on System.Net.Quic.Tests.MsQuicTests
System.AggregateException : One or more errors occurred. (Connection has been shutdown by transport: QUIC_STATUS_CONNECTION_REFUSED) ---- Microsoft.Quic.MsQuicException : Connection has been shutdown by transport: QUIC_STATUS_CONNECTION_REFUSED
Reproduction Steps
Check last rolling build of runtime
Expected behavior
System.Net.Quic.Tests.MsQuicTests should pass
Actual behavior
System.Net.Quic.Tests.MsQuicTests are failing
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: