Re: [weewx-user] Re: One month later another serious Weewx upload failure

2021-04-24 Thread Tom Keffer
Looking through your raw feed
, you certainly have a lot
of missing packets. I'm not sure why your site has problems connecting with
the APRS servers. Most likely, they are having temporary network or server
problems, but I can't say for sure. The CWOP servers seem more reliable.

One suggestion: try running with debug=1 for a while. This will show much
more debugging information about the connection attempts.

But, the problems have nothing to do with weewx, and certainly not with
your logger --- there was no reason to clear it.





On Fri, Apr 23, 2021 at 8:31 PM Peter Dougherty 
wrote:

> Sorry, I hit send before completing the post
>
> After stopping the service again, and invoking the wee_device --dump and
> wee_device --clear-memory commands, and then restarting weewx, it started
> working again. Both CWOP And WU are getting data. And while that's great,
> it's hinting at a reliability problem that had never existed until last
> month. Is there anything I can do to solve this permanently and get it back
> to the way it always was?
>
> Conversely, is there any sort of black-box device or  that I
> can use to just send this info out without needing to play with Linux? I
> don't want to replace the weather station; the hardware outside is fine,
> but the the convoluted way it reports to WU and CWOP are a headache I don't
> want, especially if it's turning into a monthly circus.
>
> On Friday, April 23, 2021 at 11:24:24 PM UTC-4 Peter Dougherty wrote:
>
>> Last month (Mar. 22) I was experiencing upload problems to CWOP. Today a
>> similar (worse) problem. Nothing was done to the Pi since the end of last
>> month's troubles. It just stopped uploading to both CWOP and WU about an
>> hour ago.
>>
>> I've tried unplugging the console, restarting the process, restarting the
>> pi and nothing is working. Again. This ran for years without corruption and
>> now twice in a month. What can I do to get it working again, and how on
>> Earth can I get this back to be the reliable device it was for almost four
>> years in a row? Linux is massively out of my comfort zone.
>>
>> The relevant part of my config file and the last few lines of my log
>> follow:
>>
>> # WEEWX CONFIGURATION FILE
>> #
>> # Copyright (c) 2009-2015 Tom Keffer 
>> # See the file LICENSE.txt for your rights.
>>
>>
>> ##
>>
>> # This section is for general configuration information.
>>
>> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>> debug = 1
>>
>> # Root directory of the weewx data file hierarchy for this station
>> WEEWX_ROOT = /
>>
>> # How long to wait before timing out a socket (FTP, HTTP) connection
>> socket_timeout = 20
>>
>> # Do not modify this. It is used when installing and updating weewx.
>> version = 3.6.2
>>
>>
>> ##
>>
>> #   This section is for information about the station.
>>
>> [Station]
>>
>> # Description of the station location
>> location = "West Caldwell, NJ"
>>
>> # Latitude and longitude in decimal degrees
>> latitude = 40.8615
>> longitude = -74.2775
>>
>> # Altitude of the station, with unit it is in. This is downloaded from
>> # from the station if the hardware supports it.
>> altitude = 261, foot
>>
>> # Set to type of station hardware. There must be a corresponding
>> stanza
>> # in this file with a 'driver' parameter indicating the driver to be
>> used.
>> station_type = Vantage
>>
>> # If you have a website, you may specify an URL
>> #station_url = http://www.example.com
>>
>> # The start of the rain year (1=January; 10=October, etc.). This is
>> # downloaded from the station if the hardware supports it.
>> rain_year_start = 1
>>
>> # Start of week (0=Monday, 6=Sunday)
>> week_start = 6
>>
>>
>> ##
>>
>> [Vantage]
>> type = serial
>> port = /dev/ttyUSB0
>> driver = weewx.drivers.vantage
>>
>>
>> # The time (in seconds) between LOOP packets.
>> loop_interval = 2.5
>>
>>
>>
>> ##
>>
>> #   This section is for uploading data to Internet sites
>>
>> [StdRESTful]
>>
>> [[StationRegistry]]
>> # To register this weather station with weewx, set this to true
>> register_this_station = true
>>
>> [[AWEKAS]]
>> # This section is for configuring posts to AWEKAS.
>>
>> # If you wish to do this, set the option 'enable' to true,
>> # and specify a username and password.
>> enable = false
>> username = replace_me
>> password = replace_me
>>
>>
>> [[CWOP]]
>> # This section is for configuring posts to CWOP.
>>
>> # If you wish to do this, set the option 'enable' to 

[weewx-user] Re: One month later another serious Weewx upload failure

2021-04-23 Thread Peter Dougherty
Sorry, I hit send before completing the post

After stopping the service again, and invoking the wee_device --dump and  
wee_device --clear-memory commands, and then restarting weewx, it started 
working again. Both CWOP And WU are getting data. And while that's great, 
it's hinting at a reliability problem that had never existed until last 
month. Is there anything I can do to solve this permanently and get it back 
to the way it always was?

Conversely, is there any sort of black-box device or  that I can 
use to just send this info out without needing to play with Linux? I don't 
want to replace the weather station; the hardware outside is fine, but the 
the convoluted way it reports to WU and CWOP are a headache I don't want, 
especially if it's turning into a monthly circus.

On Friday, April 23, 2021 at 11:24:24 PM UTC-4 Peter Dougherty wrote:

> Last month (Mar. 22) I was experiencing upload problems to CWOP. Today a 
> similar (worse) problem. Nothing was done to the Pi since the end of last 
> month's troubles. It just stopped uploading to both CWOP and WU about an 
> hour ago.
>
> I've tried unplugging the console, restarting the process, restarting the 
> pi and nothing is working. Again. This ran for years without corruption and 
> now twice in a month. What can I do to get it working again, and how on 
> Earth can I get this back to be the reliable device it was for almost four 
> years in a row? Linux is massively out of my comfort zone.
>
> The relevant part of my config file and the last few lines of my log 
> follow:
>
> # WEEWX CONFIGURATION FILE
> #
> # Copyright (c) 2009-2015 Tom Keffer 
> # See the file LICENSE.txt for your rights.
>
>
> ##
>
> # This section is for general configuration information.
>
> # Set to 1 for extra debug info, otherwise comment it out or set to zero
> debug = 1
>
> # Root directory of the weewx data file hierarchy for this station
> WEEWX_ROOT = /
>
> # How long to wait before timing out a socket (FTP, HTTP) connection
> socket_timeout = 20
>
> # Do not modify this. It is used when installing and updating weewx.
> version = 3.6.2
>
>
> ##
>
> #   This section is for information about the station.
>
> [Station]
> 
> # Description of the station location
> location = "West Caldwell, NJ"
> 
> # Latitude and longitude in decimal degrees
> latitude = 40.8615
> longitude = -74.2775
> 
> # Altitude of the station, with unit it is in. This is downloaded from
> # from the station if the hardware supports it.
> altitude = 261, foot
> 
> # Set to type of station hardware. There must be a corresponding stanza
> # in this file with a 'driver' parameter indicating the driver to be 
> used.
> station_type = Vantage
> 
> # If you have a website, you may specify an URL
> #station_url = http://www.example.com
> 
> # The start of the rain year (1=January; 10=October, etc.). This is
> # downloaded from the station if the hardware supports it.
> rain_year_start = 1
> 
> # Start of week (0=Monday, 6=Sunday)
> week_start = 6
>
>
> ##
>
> [Vantage]
> type = serial
> port = /dev/ttyUSB0
> driver = weewx.drivers.vantage
> 
> 
> # The time (in seconds) between LOOP packets.
> loop_interval = 2.5
>
>
>
> ##
>
> #   This section is for uploading data to Internet sites
>
> [StdRESTful]
> 
> [[StationRegistry]]
> # To register this weather station with weewx, set this to true
> register_this_station = true
> 
> [[AWEKAS]]
> # This section is for configuring posts to AWEKAS.
> 
> # If you wish to do this, set the option 'enable' to true,
> # and specify a username and password.
> enable = false
> username = replace_me
> password = replace_me
> 
> 
> [[CWOP]]
> # This section is for configuring posts to CWOP.
> 
> # If you wish to do this, set the option 'enable' to true,
> # and specify the station ID (e.g., CW1234).
> enable = true
> station = W2IRT
> post_interval = 300
> log_success = True
> log_failure = True
> server_list = rotate.aprs.net:14580, rotate.aprs2.net:14580, 
> cwop.aprs.net:14580, swop.aprs.net:23
> 
> # If this is an APRS (radio amateur) station, uncomment
> # the following and replace with a passcode (e.g., 12345).
> passcode = [removed by me]
> 
> 
> [[PWSweather]]
> # This section is for configuring posts to PWSweather.com.
> 
> # If you wish to do this, set the option 'enable' to true,
>