-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
unable to connect after upgrading from 0.8.x to 0.9.3, #1472
Comments
Can you share trace-level logs from quinn and/or a pcap of a connection attempt and/or a standalone repro? It might also be interesting to try your upgraded client against your old 0.8-based server and vis versa. |
Hi, Ralith I tried the new version and the 0.8-based old version, this is the result:
Trace logs of the server:
Trace logs of the client:
And here is the pcap file: |
Thanks! From the pcap, it looks like the server is responding to the client's connection attempt, but the client is not acting on that response. Those trace logs don't have the logs from quinn itself. I'll need that (or a repro) to diagnose further. Quinn logs via |
@neevek Does your client and server both run locally? We should first rule out any network infrastructure issues. |
@dzvon @Ralith But this time I see some different result when I change the IP used to connect to the server, the following are the logs of two connect attempts using different server IP, When both the client and server run locally, server listens on When connecting to the server using With server IP
With server IP
Or you can run the test using this repo: https://github.com/neevek/rstun/tree/dev
|
0.0.0.0 is not an IP address, but a wildcard value that means "all addresses." It is not a meaningful target to connect to; this will fail under any protocol. We should add a check for this, as you're not the first to be tripped up.
This is a separate problem. Logs indicate that your server has received the data. Looking at your code, I'm guessing |
This is the exact culprit, thank you so much! Now the code runs as fast as a rocket! |
Glad to hear it! |
Hi,
My code using 0.8.x has been running smoothly for quite a long time, tonight I tried upgrading quinn to 0.9.3, with some small changes the code compile but the server and the client failed to pass the handshake phase.
The server hangs at
await
ing on theaccept
edConnecting
object:Logs from the server side:
The client hangs at connecting to the server:
Logs from the client side:
Those logs are from rustls, I tried upgrading rustls and rustc as well, but that doesn't make any difference.
What is the possible cause of the problem?
The text was updated successfully, but these errors were encountered: