-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Enable http/3 from docker containers #45021
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
Comments
You can provide your own alt-svc header like this:
Getting libmsquic into the images is a good idea. @ManickaP? |
I've tried that but so far with no success. As I understand the port supplied in the
Is there any way to find out if libmsquic was successfuly found? I'm trying to diagnose my problem and this seems to be the case despite the library being installed manually (in mcr.microsoft.com/dotnet/aspnet:7.0 image) |
Correct.
Try |
Hi @mrgleba. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Related: #37311 |
I've finally managed to run http3 from the container. Using |
HTTP/3 is not in preview, but the lower level QUIC APIs are. |
was it possible to perform overwrite with a self-signed certificate? context; {
"Kestrel": {
"Endpoints": {
"Https": {
"Url": "https://+:443",
"Protocols": "Http3"
}
}
} |
Browsers are very strict about self-signed certs and HTTP/3. See #41762 |
I was in doubt if http3 needs a certificate inside the application in the container, because my certificates are in the proxy/nginx. |
Marking this as answered since the discussion seems to have moved to dotnet/runtime#41762 |
We have an issue for that: dotnet/dotnet-docker#4385. Our previous experience with adding dependencies into official docker images led to push back due to the increased size, so we need more people caring about this scenario before we attempt to do this. Please upvote the issue if it's important for you! |
This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes. See our Issue Management Policies for more information. |
Building on what @mrgleba has posted, I just want to confirm that this worked for me:
These things did not work:
|
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Right now it's very hard to run aspnet core http/3 from within a docker container.
alt-svc
headerDescribe the solution you'd like
The docker image for aspnet core should include the current libmsquic
There should be a configuration option for an external port in the
alt-svc
header.Additional context
No response
The text was updated successfully, but these errors were encountered: