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

getting Opening handshake failed on nodejs #260

Closed
maa105 opened this issue Mar 4, 2024 · 6 comments
Closed

getting Opening handshake failed on nodejs #260

maa105 opened this issue Mar 4, 2024 · 6 comments
Labels
invalid This doesn't seem right

Comments

@maa105
Copy link

maa105 commented Mar 4, 2024

Hello I am trying to use this module with a Quic server (not localhost) the server has an IP and a port but I am getting:
Opening handshake failed.
Ps I am not using a browser but rather nodejs and am importing WebTransport from @fails-components/webtransport/lib/webtransport.node
am i doing anything wrong?

I checked #166 but it doesnt seem to be related as he is trying to connect from the browser and what solved it to him was using ip instead of localhost which I am doing since the server I am connecting to is not on localhost

@martenrichter
Copy link
Member

What do you mean by QuicServer? It must be a server speaking http/3 and webtransport, quic alone is not enough,

@maa105
Copy link
Author

maa105 commented Mar 5, 2024

A server implementing Quic protocol

@martenrichter martenrichter added the invalid This doesn't seem right label Mar 5, 2024
@martenrichter
Copy link
Member

But quic protocol enough is not sufficient. WebTransport is not Quic. WebTransport is Quic with http/3 and special WebTransport semantics, so this can not worrk

@maa105
Copy link
Author

maa105 commented Mar 5, 2024

Thank you for tolerating my ignorance on the topic. If you can extend your tolarance a small branch is it possible to to connect to a Quic server using your package. If not if you know a thread that can help me please point me to it.

Thanks

@martenrichter
Copy link
Member

No, it is not possible.

@martenrichter
Copy link
Member

At least, if it is not a quicserver with support for webtransport over http/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants