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

http3 breaks SSE #6537

Open
WeidiDeng opened this issue Aug 23, 2024 · 8 comments
Open

http3 breaks SSE #6537

WeidiDeng opened this issue Aug 23, 2024 · 8 comments
Labels
needs info 📭 Requires more information upstream ⬆️ Relates to some dependency of this project

Comments

@WeidiDeng
Copy link
Member

From the community, apparently, SSE doesn't work with http3.

@WeidiDeng WeidiDeng added the upstream ⬆️ Relates to some dependency of this project label Aug 23, 2024
@francislavoie
Copy link
Member

/cc @dunglas since Mercure is SSE, do you happen to know how it interacts with HTTP/3?

@dunglas
Copy link
Collaborator

dunglas commented Aug 23, 2024

At least at protocols level, HTTP/3 works perfectly well with SSE (SSE is just a standard HTTP connection). If there is a bug, it's definitely an implementation bug.

IIRC I already tried the Mercure hub with HTTP/3 and it was working properly.

@mholt
Copy link
Member

mholt commented Aug 23, 2024

That's odd. I've asked for a minimal reproducer in the forum thread.

@mholt mholt added the needs info 📭 Requires more information label Aug 23, 2024
@jmzwcn
Copy link

jmzwcn commented Sep 26, 2024

Yes, I hit the same issue.

@otbutz
Copy link

otbutz commented Oct 10, 2024

That's odd. I've asked for a minimal reproducer in the forum thread.

https://sse.dev/test

@jmzwcn
Copy link

jmzwcn commented Oct 11, 2024

I find browser (sse client) will reconnect when it find server support a HTTP3 and having message come at the same time. The problem is just here, having reconnect, but message data is loss. This is not expected.

@jmzwcn
Copy link

jmzwcn commented Oct 11, 2024

#> > That's odd. I've asked for a minimal reproducer in the forum thread.

https://sse.dev/test

Your test not run in HTTP3.Image

@otbutz
Copy link

otbutz commented Oct 11, 2024

Your test not run in HTTP3.

I just listed a publicly available SSE endpoint as a basis for a reproducer 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info 📭 Requires more information upstream ⬆️ Relates to some dependency of this project
Projects
None yet
Development

No branches or pull requests

6 participants