Station registry error (weewx 4.8.0)

125 views
Skip to first unread message

Devonian

unread,
Sep 20, 2022, 1:21:55 PM9/20/22
to weewx-user
I've just made a fresh install on Ubuntu jammy and copied my sqlite db across to the 'clean' weewx 4.8.0 install (setup.py).
I have set the register_this_station to true in weewx.conf.
I now see this on every 5 minute record update in the log...

ERROR weewx.restx: StationRegistry: Failed to publish record 2022-09-20 ... BST (1663693800): Failed upload after 3 tries

The date/time is obviously different for each new record.

If I set register-this-station to false, the error goes away..

Why is weewx attempting to publish a record to the station registry website?
Possible bug?

Nigel

Tom Keffer

unread,
Sep 20, 2022, 3:15:06 PM9/20/22
to weewx...@googlegroups.com
What did you use as a key for your station? That is, what is option "station_url"? I'll check if everything is OK on my end.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6b9c7a1a-3c65-4db0-a556-2412b03f9c94n%40googlegroups.com.

Devonian

unread,
Sep 21, 2022, 5:37:18 AM9/21/22
to weewx-user
Hi Tom,

I have in weewx.conf...

Bizarely, checking the logs again this morning, I don't see the error, the last error was around 01:20 UK local time.
I hadn't touched anything as was out all last night and sound asleep when the last error was logged.
It is a completely 'vanilla' install of weewx and only a couple of lines tweaked in weewx.conf to suit my reporting.

I have just restarted the weewx service and the error is occuring again (10:30hrs UK local time) - what goes on here?

Nigel

Glenn McKechnie

unread,
Sep 21, 2022, 6:09:24 AM9/21/22
to weewx...@googlegroups.com
You are missing the http:// from the start of your url.
It should be ...
station_url = http://www.nthead.co.uk/weewx

I just tried dropping the http:// on mine and sure enough, same error...

ERROR weewx.restx: StationRegistry: Failed to publish record
2022-09-21 20:03:00 AEST (1663754580): Failed upload after 3 tries
>>> <https://groups.google.com/d/msgid/weewx-user/6b9c7a1a-3c65-4db0-a556-2412b03f9c94n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>
> --
> 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 weewx-user+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/2cad3095-0fd8-48f5-9e19-a9d422c7d5afn%40googlegroups.com.
>


--


Cheers
Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

Devonian

unread,
Sep 21, 2022, 7:07:09 AM9/21/22
to weewx-user
Good catch Glenn, changed mine and fine now.
I should have figured that for myself and checked my old weewx.conf but so often nowadays the http:// or https:// is dropped in favour of the simpler www.... 

Nigel.

Reply all
Reply to author
Forward
0 new messages