g4klx / YSFClients

System Fusion network servers; a gateway and a parrot.
GNU General Public License v2.0
84 stars 95 forks source link

YSFGateway don't connect default reflector after first attempt #313

Open ik4nzd opened 3 months ago

ik4nzd commented 3 months ago

Hello everyone. I am trying on a test-board an installation of MMDVM with YSFGateway and APRSGateway, before installing everything on a repeater. I noticed that if the system starts but there is no internet connection, YSFGateway cannot connect to the default reflector, since at the time of startup it has not yet downloaded the YSFHosts file. The connections to DMR and APRS instead connect without problems when the internet connection returns. From the YSFGateway log..... Internet returned at 08.51.19

M: 2024-08-08 08:51:19.623 Opening YSF network connection I: 2024-08-08 08:51:19.623 Opening UDP port on 4200 M: 2024-08-08 08:51:19.623 Resolving FCS 999 address M: 2024-08-08 08:51:19.645 Opening FCS network connection I: 2024-08-08 08:51:19.645 Opening UDP port on 42001 I: 2024-08-08 08:51:19.645 The ID of this repeater is 26828 I: 2024-08-08 08:51:19.645 Loaded 0 YSF reflectors I: 2024-08-08 08:51:19.645 Loaded YSF parrot I: 2024-08-08 08:51:19.645 Loaded YSF2DMR I: 2024-08-08 08:51:19.646 Loaded YSF2NXDN I: 2024-08-08 08:51:19.646 Loaded YSF2P25 M: 2024-08-08 08:51:19.646 Opened connection to the APRS Gateway M: 2024-08-08 08:51:19.646 Trying to find non existent YSF reflector with a name of IT-ITA4-OVEST M: 2024-08-08 08:51:19.646 YSFGateway-20230212 is starting M: 2024-08-08 08:51:19.646 Built 10:52:17 Jul 27 2024 (GitID #3731800) M: 2024-08-08 08:51:21.200 Link successful to MMDVM

The system will download the YSFHosts file at 09:51, but no further attempt to connect to the default reflector will be made, unless the gateway is restarted.

Is there a way to work around this problem?

Thanks

'73 de Adam, IK4NZD