Oh it is worse than unwise. I know better (I worked in network security
for years) - incredibly STUPID is more like it. Fortunately, a sandboxed,
unpriviledged user - and fixed now. ;) [I tried to edit the post post
facto to take it out, but it wouldn't let me edit the post. 8(]
That "something" which is indeed my LAN is my Davis WeatherLinkLive
interface box (WLL) - which broadcasts on port 22222 when appropriately
"tickled" by an http request. (It also makes TCP connections to the Davis
server for their app.) The first logs are from the machine at home (named
mythtv2 for historical reasons), which is where weewx actually runs. The
scp is just copying the html and graphics up to my cloud-hosted website -
not relevant to the problem - that kept on going fine (it is triggered by a
cron job). The scp isn't the issue at all.
The bottom logs are from my firewall ("cirithi") as a convenient place to
spot such broadcasts and log them.
weewx was not stopped in that the service was still running on Linux.
Whether it was in a blocked or deadlocked process state (waiting for
something that would never happen) I cannot say for sure. It might just
be that the data from the WSS wasn't waking it up any more. That UDP
broadcast should be every 3 seconds or so, but weren't showing up after
3:18:50 AM. My *suspicion* is that the weewx WLL driver missed (or didn't
get) one of the UDP packets, and so didn't wake up to tickle the WLL with
another HTTP request, and so went off to sleep forever.
I only posted it here on the off chance that 1) someone else saw weewx go
to sleep who may or may not be running WLL or 2) someone else running the
WLL driver noticed the same thing.
On Tuesday, June 8, 2021 at 9:01:08 AM UTC-5 [email protected] wrote:
> First thing, it's unwise to post your password for the world to see, so go
> change that now. :^)
> Next, if weewx is stopped, try that scp command from the command line.
> It's way easier to debug that way.
> As for your firewall entries, it looks like something is talking directly
> to your gateway or LAN broadcast via UDP
> port 22222. Can't say what, but that isn't weewx trying to get to your
> web hosting service.
> Searching "udp port 22222" did mention Davis Weatherlink among other
> things. Have you messed with anthing
> related to that?
>
> Chris
>
> On Monday, June 7, 2021 at 1:03:58 PM UTC-6 [email protected] wrote:
>
>> Over the weekend moved from weewx 3.9.2 to weewx 4.5.1. It was
>> essentially a reinstall, as I also moved from a Davis wmII (community
>> driver) to a VantageVue with WeatherLinkLive (also a community driver),
>> editing the config file from scratch.
>>
>> System is Ubuntu Linux LTS 20.04, python 3.8, mySQL 5.7 The last start
>> of weewx was on 5-Jun-2021. It stopped reporting after 3:15 CDT on
>> 7-Jun-2021, for no apparent reason that I can see.
>>
>> (The exact time seems to have been around 3:18 AM on 7-Jun-2021 - that is
>> when I no longer saw broadcasts from WeatherLinkLive.)
>>
>> Now, it is certainly possible that this is an issue in the
>> WeatherLinkLive driver - and I will raise it as an issue with them, but
>> also decided to check here just in case.
>>
>> The last things in /var/log/syslog were:
>>
>> Jun 7 03:15:17 mythtv2 weewx[119044] INFO weewx.manager: Added record
>> 2021-06-07 03:15:00 CDT (1623053700) to database 'weewx'
>> Jun 7 03:15:17 mythtv2 weewx[119044] INFO weewx.manager: Added record
>> 2021-06-07 03:15:00 CDT (1623053700) to daily summary in 'weewx'
>> Jun 7 03:15:18 mythtv2 weewx[119044] INFO weewx.restx: Wunderground-PWS:
>> Published record 2021-06-07 03:15:00 CDT (1623053700)
>> Jun 7 03:15:18 mythtv2 weewx[119044] INFO weewx.cheetahgenerator:
>> Generated 8 files for report SeasonsReport in 0.62 seconds
>> Jun 7 03:15:18 mythtv2 weewx[119044] INFO weewx.imagegenerator:
>> Generated 14 images for report SeasonsReport in 0.29 seconds
>> Jun 7 03:15:18 mythtv2 weewx[119044] INFO weewx.reportengine: Copied 0
>> files to /opt/weewx/public_html
>> Jun 7 03:30:01 mythtv2 CRON[154439]: (root) CMD (/usr/bin/sshpass -p
>> 'CM12RVdx' /usr/bin/scp -r /opt/weewx/public_html/*
>> [email protected]:/var/www/html/
>> computercollection.net/public_html/weewx)
>>
>> The last things in my firewall log which is currently logging the
>> broadcasts:
>>
>> Jun 7 03:18:45 cirith kernel: [23782696.289934] IN=eth1 OUT=
>> MAC=ff:ff:ff:ff:ff:ff:ec:fa:bc:ce:49:b7:08:00 SRC=192.168.42.75
>> DST=192.168.42.255 LEN=426 TOS=0x00 PREC=0x00 TTL=128 ID=64354 PROTO=UDP
>> SPT=25447 DPT=22222 LEN=406
>>
>> Jun 7 03:18:47 cirith kernel: [23782698.792825] IN=eth1 OUT=
>> MAC=ff:ff:ff:ff:ff:ff:ec:fa:bc:ce:49:b7:08:00 SRC=192.168.42.75
>> DST=192.168.42.255 LEN=426 TOS=0x00 PREC=0x00 TTL=128 ID=64355 PROTO=UDP
>> SPT=25447 DPT=22222 LEN=406
>>
>> Jun 7 03:18:50 cirith kernel: [23782701.291975] IN=eth1 OUT=
>> MAC=ff:ff:ff:ff:ff:ff:ec:fa:bc:ce:49:b7:08:00 SRC=192.168.42.75
>> DST=192.168.42.255 LEN=426 TOS=0x00 PREC=0x00 TTL=128 ID=64356 PROTO=UDP
>> SPT=25447 DPT=22222 LEN=406
>>
>> All times CDT.
>>
>> JRJ
>>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/f7b6e5ba-73ef-49d9-8340-ad85a8167446n%40googlegroups.com.