-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
WebTransport support via quic-go #5421
Comments
What do you see in Caddy's logs when you try to connect? I don't know much about WebTransport so I'm not sure I'll be much help. |
@marten-seemann do you have any insight on if we're missing anything to allow this to work? |
When I accessed it, I could see the following log. I was able to transfer data locally when using the webtransport mode. |
How does the setup look like? You're running Caddy on the reserve proxy, and webtransport-go on both endpoints? But how would streams opened on the WebTransport session make it through the reverse proxy? |
webtransport-go(port:9001) and caddy(port:443) are on a machine. I use HTML5 to connect my server.
|
That can't work. As long as Caddy isn't aware of WebTransport, it won't be able to make sense of WebTransport streams. |
@marten-seemann so I guess this isn't possible until #5086 is done? |
I can understand that it doesn't support webtransport-go, but does it support h3? |
That would be a prerequisite. If proxying HTTP/3 doesn't even work, the Extended CONNECT request won't even make it through. I don't think that's all though. If you want to proxy WebTransport, your proxy needs to be WebTransport-aware. |
Okay, thanks. I'll close this issue for now in favour of that one, and WebTransport support can be looked into later on with that in mind. |
Although what might work is https://github.com/mholt/caddy-l4 which could terminate TLS and then proxy UDP, I think. But I'm not sure if the TLS handler in caddy-l4 supports TLS over UDP. |
Thank you very much. I'll try |
This would probably be the best solution: https://datatracker.ietf.org/doc/html/rfc9298
quic-go should have everything you need to resolve that issue, doesn’t it? |
I think it does, but it's just not a priority of mine to work on that feature. I don't particularly need H3 for anything myself. |
hello,I have been using webtransport(base quic-go) recently to transfer some data.
I want to use caddy as my proxy forwarding, but I tried the following configuration is not feasible.
Caddyfile:
docker-compse.yml:
Access error:
Failed to establish a connection to https://webtransport.xxx.com: net::ERR_METHOD_NOT_SUPPORTED
need help
How should I configure to support the forward quic protocol?
The text was updated successfully, but these errors were encountered: