Closed alexandrehtrb closed 1 year ago
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Author: | alexandrehtrb |
---|---|
Assignees: | - |
Labels: | `area-System.Net.Http` |
Milestone: | - |
This is very likely same issue as https://github.com/dotnet/runtime/issues/73290
On Windows the workaround is to copy the msquic.dll
file from the runtime install next to your application.
On Linux the msquic
needs to be installed - @ManickaP @wfurt for more info.
Closing as duplicate of #73290
Description
Hello,
I have a weird bug, that my app can make HTTP/3 requests when running on debug or release, but, when the app is published, it cannot make such requests. My app is an Avalonia desktop app in .NET 6. This bug happens in both Linux and Windows versions of the app.
Reproduction Steps
1) Make a .NET 6 app with a HttpClient making HTTP/3 requests
2) The app's .csproj has:
3) Publish this app like below:
Expected behavior
Should make HTTP/3 requests without problems, because it works with
dotnet run
, whether it is on Debug or Release configurationsActual behavior
The following Exception is thrown:
Regression?
No response
Known Workarounds
No response
Configuration
Running on .NET 6, last app version was compiled with 6.0.403; Bug confirmed on Linux x64 and Windows 11 x64
Other information
The URLs that I use for testing HTTP/3 are:
https://cloudflare-quic.com/
https://quic.aiortc.org/
The error happens with both of them...
My project is on GitHub, if you want to use it to reproduce the bug:
https://github.com/alexandrehtrb/Pororoca