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

Client crashes on packet loss while connected to Server #1462

Open
lalliexperience opened this issue Sep 1, 2024 · 2 comments
Open

Client crashes on packet loss while connected to Server #1462

lalliexperience opened this issue Sep 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@lalliexperience
Copy link

** Hardware **
Multiple computers, Mac or PC versions as client, using Pi or Linux PC as SDRPP server. The symptoms are identical on any hardware for client and server.

Software
Multiple operating systems, Mac and PC versions as client, using Pi Linux PC as SDRPP Server. The symptoms are identical on any hardware for client and server.

Bug Description
The SDR++ Client Software will freeze/crash any time there is a network interruption while connected to a SDRPP Server.
It would be nice if the software could detect this and just disconnect instead of freezing.

The SDR++ Client Software will freeze when you attempt to connect to a SDRPP Server and port which does not exist.
It should know fairly quickly that there is not a service on that destination port and provide an error.

Steps To Reproduce

  • Unplug ethernet/Unplug router/Disconnect wifi/ cause packet loss in any way between the SDRPP Client and SDRPP Server. Client software will freeze permanently. Can not click Disconnect. Must force close software (Windows or Mac)

  • Attempt to connect to an SDRPP Server IP and port that does not exist.

Screenshots
When Packet loss: cant click disconnect, permanent freeze, must force quit program:
Screenshot 2024-08-31 at 10 25 20 PM

Attempting to connect to a non existing IP and port, 30 second freeze:
Screenshot 2024-08-31 at 10 19 40 PM

Additional info
The Software running in Server mode does not seem to be effected by interuptions.

@lalliexperience lalliexperience added the bug Something isn't working label Sep 1, 2024
@AlexandreRouma
Copy link
Owner

Are you sure the freeze is permanent? The timeout on connection is set by the operating system and the timeout on commands is set to 10 seconds. On my PC the connecting to a non-server IP freeze (which is expected since everything is synchronous in the UI) only lasts 20 seconds, and I can't test the other situation atm.

@lalliexperience
Copy link
Author

lalliexperience commented Sep 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants