Pistar loses connection to P25 Reflector...

Help with P25 issues
KE7FNS
Pi-Star Team
Posts: 1794
Joined: Wed Apr 17, 2019 11:11 pm

Re: Pistar loses connection to P25 Reflector...

Post by KE7FNS »

KK6RQ wrote: Wed Mar 03, 2021 6:52 pm Nothing beyond what I've already posted shows in MMDVM/P25Gateway-(date).log. Any other log files I should check?
I really don't know.
KK6RQ wrote: Wed Mar 03, 2021 6:52 pm One thing that changes each night is the number after

Re-opening UDP port on xxxxxxx
Last night it was 7 digits!
Yeah, I don't know where it is coming up with that, I don't think the log is supposed to be printing the m_port variable, I think it is supposed to be m_port_save.

Honestly MMDVMHost needs to be updated with the most current code. I don't understand why it has been ignored for the last 9 months.

I'm pretty confident that an updated MMDVMHost would solve your issue.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
f1rmb
Posts: 26
Joined: Thu Feb 21, 2019 12:12 pm

Re: Pistar loses connection to P25 Reflector...

Post by f1rmb »

Hi,

When you get such

Code: Select all

Re-opening UDP port on xxxx
message in any log, it means the connection has been closed (by the server). Maybe the server has some automatic maintenance if you get such connection issue at the same time each night.

For the details:
I've originally submitted that part of the code for the YSFGateway, as my logs were flooded with error 88 (ENOTSOCK), it was running in circles as the software was just continuing to reuse that closed socket (no reconnection).
In the end Jonathan (G4KLX) applied that fix to all his software using UDP sockets.

About the port number, it's the one the server assigned to that "connection".


Cheers.
---
Daniel
KE7FNS
Pi-Star Team
Posts: 1794
Joined: Wed Apr 17, 2019 11:11 pm

Re: Pistar loses connection to P25 Reflector...

Post by KE7FNS »

f1rmb wrote: Thu Mar 04, 2021 1:28 am Maybe the server has some automatic maintenance if you get such connection issue at the same time each night.
Can you test and look at your logs at 0:00 GMT and confirm if it is a server issue disconnecting you from a reflector?
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
KK6RQ
Posts: 13
Joined: Mon Feb 22, 2021 9:32 am

Re: Pistar loses connection to P25 Reflector...

Post by KK6RQ »

OK, I figured it out-- I was going through all the .ini files and noticed the reference to port 6074, for enabling remote commands, which I had enabled a few weeks ago to test out. Well, at the time it didn't appear to work, and having not researched that functionality (nor aware there was an answering setting in an .ini file on my P25 Reflector), I left it enabled and forgot about it... So I changed it to 0/disabled and the log errors went away immediately, without even a reboot(!)... Anyway, thanks for all the suggestions, everyone... Glad I figured it out before throwing my hands up and reloading Pi-star...
KE7FNS
Pi-Star Team
Posts: 1794
Joined: Wed Apr 17, 2019 11:11 pm

Re: Pistar loses connection to P25 Reflector...

Post by KE7FNS »

KK6RQ wrote: Fri Mar 05, 2021 11:25 am Glad I figured it out before throwing my hands up and reloading Pi-star...
If you normally restore your configuration after a reimage you would of just reintroduced the problem without you realizing it. That is why I recommend people start over from scratch.

Glad you figured it out, I still think you should file a report on github, so someone can look into and fix that.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
KK6RQ
Posts: 13
Joined: Mon Feb 22, 2021 9:32 am

Re: Pistar loses connection to P25 Reflector...

Post by KK6RQ »

But in the end, wasn't my sole problem that 'Remote' (or Remote Commands?) was enabled in Pi-Star but disabled on my P25 Reflector...?
KE7FNS
Pi-Star Team
Posts: 1794
Joined: Wed Apr 17, 2019 11:11 pm

Re: Pistar loses connection to P25 Reflector...

Post by KE7FNS »

KK6RQ wrote: Fri Mar 05, 2021 11:12 pm But in the end, wasn't my sole problem that 'Remote' (or Remote Commands?) was enabled in Pi-Star but disabled on my P25 Reflector...?
If your backup had it enabled and you formated, reimaged and restored your fresh image now has it enabled too.


Also there are no remote command settings for P25Reflector.
https://github.com/g4klx/P25Clients/blo ... lector.ini
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
KK6RQ
Posts: 13
Joined: Mon Feb 22, 2021 9:32 am

Re: Pistar loses connection to P25 Reflector...

Post by KK6RQ »

Sorry; P25Gateway.

BTW, I never got to starting from scratch for the same reason; I wasn't ready to give up yet, plus I wanted to know just WTF was going on. Glad I stuck with it...
User avatar
VK7HSE
Posts: 222
Joined: Sun Apr 15, 2018 6:35 pm
Contact:

Re: Pistar loses connection to P25 Reflector...

Post by VK7HSE »

I can confirm the invalid source error as I'm getting it on all P25 hotspots (2 hotspots and 1 repeater) this all seems to have started aroung the Jan 25th update.

Code: Select all

M: 2021-03-26 01:50:07.152 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:12.156 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:17.162 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:22.162 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:27.161 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:32.167 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:37.167 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:42.177 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:47.183 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
M: 2021-03-26 01:50:52.185 P25 packet received from an invalid source, 0100007F != 0100007F and/or 42020 != 6074
Just one thing to note is that the version of P25Gateway currently in use by pi-star does support multiple reflector connections, however the pi-star web-GUI doesn't currently have provision to support it.

I'm also running an experimental system here theat includes a Motorola DIU3000 and p25clients (p25gateway) so it can be used as a P25 scanner! but that's off topic to the post here...
Post Reply