swift-project / pilotclient

Cross-platform cross-simulator pilot client for virtual air traffic networks
https://swift-project.org
GNU General Public License v3.0
91 stars 26 forks source link

Getting Timeout Errors #203

Closed AirLuSa closed 9 months ago

AirLuSa commented 1 year ago

Since the new automatic server selection. I need nearly five times until swift is going to connect to vatsim.

ltoenning commented 1 year ago

@AirLuSa Do you still encounter these problems? Are you using a WiFi or Ethernet/cable connection to your router?

AirLuSa commented 1 year ago

I am using wifi. And also with the latest 13. Release I encounter the problem.

ltoenning commented 1 year ago

We have not received such reports from other users AFAIK. Could you try if using a cable connection works better? Does this website (http://fsd.vatsim.net/) loads for you in a reasonable time?

Otherwise this might be something related to your internet connection and/or how VATSIM automatically selects the the server depending on your connection, geographic location and server load.

AirLuSa commented 1 year ago

Unfortunately I cannot test it with cable connection as the router is in another room. But this website loads just fine, an IP address is shown in a second.

ltoenning commented 1 year ago

Okay... Using WiFi with swift is a known issue. We cannot do anything about this unfortunately.

If you have the chance to test it with Ethernet in the future and the issue persists, feel free to reopen this issue.

ltoenning commented 9 months ago

@AirLuSa Does this still happen? Which operating system are you using? Could you edit <swift install dir>/share/shared/bootstrap/bootstrap.json, remove the comma after the last "false" and check if the issue persists?

diibify commented 9 months ago

I also have this problem from time to time. However, I just tested it again and it made no difference whether with or without a comma. It connected immediately. I will keep an eye on it.

AirLuSa commented 9 months ago

Hej, thanks for getting to this again. I am using Mac Os Monterey latest version. Going to test your suggestion soon.

AirLuSa commented 9 months ago

Testing without the , looks like it solved the problem. Got an immediate connection.

ltoenning commented 9 months ago

Great to hear! This fix will be included in the next upcoming swift version. If the issue still persists, just reopen this issue or add a comment.