Problem with new Host file

Help with YSF / Fusion issues
Post Reply
User avatar
IW4EHJ
Posts: 15
Joined: Sun Jan 21, 2024 1:32 pm
Location: Rimini Italia
Contact:

Problem with new Host file

Post by IW4EHJ »

This night the new host file taken from DVRef was updated and at each radio command the YSF Gateway service stops and this seems to be due to the format of the host file where the last field is missing, that is, the connected.

By modifying the host file and adding the last field even if with three zeros everything works again so I think the missing field must be inserted in the new host file.

Has anyone done any further testing?
User avatar
IW4EHJ
Posts: 15
Joined: Sun Jan 21, 2024 1:32 pm
Location: Rimini Italia
Contact:

Re: Problem with new Host file

Post by IW4EHJ »

Problem just solved. Thanks to the Pi-Star developer.
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Problem with new Host file

Post by MW0MWZ »

Sorry for coming to the party late, yes I was just talking to DVRef and G4KLX about exactly this, G4KLX pointed me in the correct place and we already have the file fixed up for you all, plus a new YSFGateway build for 4.3.x users too.

DVRef are going to add back the count of users soon (tm).
Andy

73 de MW0MWZ
http://pistar.uk
DG0LFL
Posts: 13
Joined: Sat Jul 30, 2022 2:09 pm

Re: Problem with new Host file

Post by DG0LFL »

Pi-hole diagnosis say now:
Client Pi-Star has been rate-limited for at least 21 seconds (current limit: 1000 queries per 60 seconds)

the DNS queries of YSFHosts.txt are now repeated every hour, 1x per day would have been enough!
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Problem with new Host file

Post by MW0MWZ »

You can change that, look in /etc/ysfgateway:

Code: Select all

[YSF Network]
ReloadTime=720
This timer is in mins.

You can use the expert editor too: http://pi-star/admin/expert/edit_ysfgateway.php

EDIT: While I am writing this I should explain some; a few people have been asking/begging me to use host-names for YSFReflectors that are running in servers on dynamic IP addresses, this is a bad idea for a few reasons, but we do finally support host-names.

Hosts registered on DVRef that are on static IP addresses, should list those - for those who have hosted YSF Reflectors on dynamic IPs (really avoid this it's a bad idea) those can be listed by your dynamic host name.
Andy

73 de MW0MWZ
http://pistar.uk
DG0LFL
Posts: 13
Joined: Sat Jul 30, 2022 2:09 pm

Re: Problem with new Host file

Post by DG0LFL »

Thanks for this info, this entry has helped to calm down the DNS queries!
TA2KW
Posts: 2
Joined: Thu May 21, 2020 8:24 am
Location: KN40PP
Contact:

Re: Problem with new Host file

Post by TA2KW »

Hello friends,
I registered our multi-mode server http://xlx286.dmrturkiye.com on dvref.com.
https://dvref.com/ysf/ysf-28600-urf286
Everything looks correct,
The Yaesu System Fusion Configuration server is visible, I select and save it.
Image
The connection to our server is established.
Image
After more than an hour, pi-star drops from the ysf28600 server and does not automatically reconnect.
Image
repeater YM2KBD, which should be on the D module of the server, does not appear connected.
When I restart pi-Star, it reconnects, but after an hour, it drops from the server again, and I couldn’t make it stay connected continuously.
Am I missing something? What did I do wrong?
pi-star version Pi-Star: 4.2.3 / Dashboard: 20250429
ik4nzd
Posts: 4
Joined: Fri Oct 20, 2023 9:43 pm

Re: Problem with new Host file

Post by ik4nzd »

After the latest changes in YSFGateway unfortunately this problem occurs on several systems.
Now I see that the list of reflectors is taken from DVRef in the "resolved" version and relieves the system from having to resolve the addresses every time, sometimes even reaching the WatchDog.
But the problem of disconnections from the reflectors remains and is very annoying.....

On my system I use pi-star 4.1.10 with dashboard 20250429 and the situation seems to have stabilized for about 3 days.... I hope it continues!
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Problem with new Host file

Post by MW0MWZ »

Andy

73 de MW0MWZ
http://pistar.uk
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Problem with new Host file

Post by MW0MWZ »

Hosts moved back to IP only - this should make it work like it did before.
Andy

73 de MW0MWZ
http://pistar.uk
Post Reply