Settings to change after IP address of Vantage changes

212 views
Skip to first unread message

david_h

unread,
Jul 7, 2021, 8:06:52 AM7/7/21
to weewx-user
Hi - I recently changed my home network set up, which meant the IP address of my Davis Vantage Pro 2 changed.  I am using an IPlogger. I changed the setting of "host" in weewx.conf to the new IP address, but my system doesn't seem to be working.  Have I missed some other setting that I need to change.  I use the Belchertown skin (with a MQTT broker on a remote server), but can't see anything in the skin configuration file that references the IP address. Am I missing something.  The log file is shown below.  Any help in solving this would be much appreciated.

Jul  7 11:03:26 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Driver vers                                                                                                                                                                                                                                             ion is 3.2.2

Jul  7 11:03:26 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Option loop                                                                                                                                                                                                                                             _request=1

Jul  7 11:03:26 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Opened up e                                                                                                                                                                                                                                             thernet host 192.168.0.28 on port 22222. timeout=4.0, tcp_send_delay=0.5

Jul  7 11:03:26 raspberrypi kernel: [ 1818.633379] [UFW BLOCK] IN=eth0 OUT= MAC=                                                                                                                                                                                                                                             01:00:5e:00:00:fb:90:21:06:46:88:f9:08:00:46:c0:00:20:00:00:40:00 SRC=10.0.1.200                                                                                                                                                                                                                                              DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  7 11:03:26 raspberrypi weewx[1128] ERROR weewx.drivers.vantage: ip-read err                                                                                                                                                                                                                                             or: timed out

Jul  7 11:03:26 raspberrypi weewx[1128] ERROR weewx.drivers.vantage: LOOP try #4                                                                                                                                                                                                                                             ; error: timed out

Jul  7 11:03:26 raspberrypi weewx[1128] ERROR weewx.drivers.vantage: LOOP max tr                                                                                                                                                                                                                                             ies (4) exceeded.

Jul  7 11:03:26 raspberrypi weewx[1128] INFO weewx.engine: Main loop exiting. Sh                                                                                                                                                                                                                                             utting engine down.

Jul  7 11:03:27 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Rude wake u                                                                                                                                                                                                                                             p of console successful

Jul  7 11:03:28 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Hardware ty                                                                                                                                                                                                                                             pe is 16

Jul  7 11:03:29 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: ip-read err                                                                                                                                                                                                                                             or: timed out

Jul  7 11:03:29 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: LOOP try #1                                                                                                                                                                                                                                             ; error: timed out

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: ISS ID is 1

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdConvert

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.engine: StdConvert target unit is 0x1

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdQC

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.manager: Daily summary version is 4.0

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdArchive

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.engine: Archive will use data binding wx_binding

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.engine: Record generation will be attempted in 'hardware'

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.restx: StationRegistry: Station will be registered.

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.restx: WU essentials: {}

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.restx: Wunderground-RF: Data for station IASHTEAD8 will be posted

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.restx: PWSWeather: Data for station DHASHTEAD will be posted

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.restx: CWOP: Posting not enabled.

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.restx.StdWOW

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.restx: WOW: Data for station 2ac56765-3645-e811-a822-0003ff596ea9 will be posted

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS

Jul  7 11:03:31 raspberrypi weewx[1716] INFO weewx.restx: AWEKAS: Posting not enabled.

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service user.mqtt.MQTT

Jul  7 11:03:31 raspberrypi weewx[1716] DEBUG weewx.manager: Daily summary version is 4.0

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: service version is 0.18

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: binding to [u'archive', u'loop']

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: TLS parameters: {u'ca_certs': u'/etc/ssl/certs/ca-certificates.crt', u'tls_version': 3}

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.manager: Daily summary version is 4.0

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.manager: Daily summary version is 4.0

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: topic is weather

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: desired unit system is METRICWX

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: data will be uploaded to mqtt://xxx:x...@mqttdh.uk:8883/

Jul  7 11:03:32 raspberrypi weewxd: restx: MQTT: network encryption/authentication will be attempted

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service user.mqtt.MQTT

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdPrint

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.engine: Loading service weewx.engine.StdReport

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport

Jul  7 11:03:32 raspberrypi weewx[1716] INFO __main__: Starting up weewx version 4.5.1

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.manager: Daily summary version is 4.0

Jul  7 11:03:32 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  7 11:03:33 raspberrypi weewx[1716] INFO weewx.engine: Clock error is -0.12 seconds (positive is fast)

Jul  7 11:03:33 raspberrypi weewx[1716] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Jul  7 11:03:33 raspberrypi weewx[1716] INFO weewx.manager: Starting backfill of daily summaries

Jul  7 11:03:33 raspberrypi weewx[1716] INFO weewx.manager: Daily summaries up to date

Jul  7 11:03:33 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-07-07 11:15:00 BST (1625652900)

Jul  7 11:03:33 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  7 11:03:33 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: LOOP try #2; error: timed out

Jul  7 11:03:33 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  7 11:03:35 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Retrieving 3 page(s); starting index= 1

Jul  7 11:03:35 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 8.0, 'barometer': 29.849, 'lowOutTemp': 61.3, 'outHumidity': 89.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625653200, 'windDir': 112.5, 'outTemp': 61.8, 'windSpeed': 2.0, 'inHumidity': 49.0, 'inTemp': 74.1, 'wind_samples': 124.0, 'rxCheckPercent': 100.0, 'ET': 0.0, 'highOutTemp': 61.8, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 202.5}

Jul  7 11:03:35 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 5.0, 'barometer': 29.848, 'lowOutTemp': 61.8, 'outHumidity': 88.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625653500, 'windDir': 135.0, 'outTemp': 62.3, 'windSpeed': 2.0, 'inHumidity': 49.0, 'inTemp': 74.1, 'wind_samples': 113.0, 'rxCheckPercent': 96.52083333333333, 'ET': 0.0, 'highOutTemp': 62.3, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 180.0}

Jul  7 11:03:35 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 6.0, 'barometer': 29.849, 'lowOutTemp': 62.3, 'outHumidity': 88.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625653800, 'windDir': 180.0, 'outTemp': 63.3, 'windSpeed': 2.0, 'inHumidity': 49.0, 'inTemp': 75.3, 'wind_samples': 117.0, 'rxCheckPercent': 99.9375, 'ET': 0.0, 'highOutTemp': 63.3, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 180.0}

Jul  7 11:03:35 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 10.0, 'barometer': 29.85, 'lowOutTemp': 63.4, 'outHumidity': 84.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625654100, 'windDir': 225.0, 'outTemp': 64.0, 'windSpeed': 3.0, 'inHumidity': 47.0, 'inTemp': 76.3, 'wind_samples': 117.0, 'rxCheckPercent': 99.9375, 'ET': 0.0, 'highOutTemp': 64.0, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 180.0}

Jul  7 11:03:36 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 8.0, 'barometer': 29.852, 'lowOutTemp': 63.9, 'outHumidity': 83.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625654400, 'windDir': 202.5, 'outTemp': 63.9, 'windSpeed': 2.0, 'inHumidity': 47.0, 'inTemp': 76.1, 'wind_samples': 116.0, 'rxCheckPercent': 99.08333333333333, 'ET': 0.0, 'highOutTemp': 64.0, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 157.5}

Jul  7 11:03:36 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 9.0, 'barometer': 29.854, 'lowOutTemp': 63.6, 'outHumidity': 83.0, 'interval': 5, 'rain': 0.0078740157, 'dateTime': 1625654700, 'windDir': 180.0, 'outTemp': 63.6, 'windSpeed': 3.0, 'inHumidity': 47.0, 'inTemp': 75.7, 'wind_samples': 117.0, 'rxCheckPercent': 99.9375, 'ET': 0.0, 'highOutTemp': 63.9, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 135.0}

Jul  7 11:03:36 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 6.0, 'barometer': 29.855, 'lowOutTemp': 63.4, 'outHumidity': 85.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625655000, 'windDir': 157.5, 'outTemp': 63.4, 'windSpeed': 2.0, 'inHumidity': 48.0, 'inTemp': 75.3, 'wind_samples': 117.0, 'rxCheckPercent': 99.9375, 'ET': 0.0, 'highOutTemp': 63.6, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 112.5}

Jul  7 11:03:36 raspberrypi weewx[1716] WARNING weewx.engine: Ignore historical record: {'windGust': 3.0, 'barometer': 29.855, 'lowOutTemp': 63.3, 'outHumidity': 85.0, 'interval': 5, 'rain': 0.0, 'dateTime': 1625655300, 'windDir': 157.5, 'outTemp': 63.3, 'windSpeed': 1.0, 'inHumidity': 48.0, 'inTemp': 75.0, 'wind_samples': 117.0, 'rxCheckPercent': 99.9375, 'ET': 0.0, 'highOutTemp': 63.4, 'rainRate': 0.0, 'usUnits': 1, 'windGustDir': 135.0}

Jul  7 11:03:36 raspberrypi weewx[1716] ERROR weewx.manager: Unable to add record 2021-07-07 10:40:00 BST (1625650800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

Jul  7 11:03:37 raspberrypi weewx[1128] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:03:37 raspberrypi weewx[1128] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-07 11:02:41 BST (1625652161): Failed upload after 1 tries

Jul  7 11:03:37 raspberrypi weewx[1716] ERROR weewx.manager: Unable to add record 2021-07-07 10:45:00 BST (1625651100) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

Jul  7 11:03:37 raspberrypi weewx[1716] ERROR weewx.manager: Unable to add record 2021-07-07 10:50:00 BST (1625651400) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

Jul  7 11:03:37 raspberrypi weewx[1716] ERROR weewx.manager: Unable to add record 2021-07-07 10:55:00 BST (1625651700) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

Jul  7 11:03:37 raspberrypi weewx[1716] ERROR weewx.manager: Unable to add record 2021-07-07 11:00:00 BST (1625652000) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

Jul  7 11:03:37 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-06-28 14:50:00 BST (1624888200) less than final timestamp 2021-07-07 11:00:00 BST (1625652000)

Jul  7 11:03:37 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  7 11:03:37 raspberrypi weewx[1716] INFO weewx.engine: Starting main packet loop.

Jul  7 11:03:37 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  7 11:03:37 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: LOOP try #3; error: timed out

Jul  7 11:03:37 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  7 11:03:38 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  7 11:03:38 raspberrypi weewx[1716] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  7 11:03:41 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  7 11:03:41 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: LOOP try #4; error: timed out

Jul  7 11:03:41 raspberrypi weewx[1509] ERROR weewx.drivers.vantage: LOOP max tries (4) exceeded.

Jul  7 11:03:41 raspberrypi weewx[1509] INFO weewx.engine: Main loop exiting. Shutting engine down.

Jul  7 11:03:42 raspberrypi weewx[1509] INFO weewx.cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 21.62 seconds

Jul  7 11:03:42 raspberrypi weewx[1509] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/belchertown

Jul  7 11:03:42 raspberrypi weewx[1509] DEBUG weewx.reportengine: Running report 'Belchertown'

Jul  7 11:03:43 raspberrypi weewx[1509] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'

Jul  7 11:03:43 raspberrypi weewx[1509] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belchertown.getData']

Jul  7 11:03:43 raspberrypi weewx[1509] DEBUG weewx.manager: Daily summary version is 4.0

Jul  7 11:03:44 raspberrypi weewx[1128] DEBUG weewx.restx: StationRegistry: Failed upload attempt 3: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:03:44 raspberrypi weewx[1128] ERROR weewx.restx: StationRegistry: Failed to publish record 2021-07-07 10:40:00 BST (1625650800): Failed upload after 3 tries

Jul  7 11:03:44 raspberrypi weewx[1128] DEBUG weewx.restx: StationRegistry: wait interval (1200 < 604800) has not passed for record 2021-07-07 11:00:00 BST (1625652000)

Jul  7 11:03:44 raspberrypi weewx[1128] DEBUG weewx.restx: PWSWeather: Failed upload attempt 3: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:03:44 raspberrypi weewx[1128] ERROR weewx.restx: PWSWeather: Failed to publish record 2021-07-07 10:40:00 BST (1625650800): Failed upload after 3 tries

Jul  7 11:03:44 raspberrypi weewx[1128] DEBUG weewx.restx: WOW: Failed upload attempt 3: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:03:44 raspberrypi weewx[1128] ERROR weewx.restx: WOW: Failed to publish record 2021-07-07 10:40:00 BST (1625650800): Failed upload after 3 tries

Jul  7 11:03:44 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  7 11:03:46 raspberrypi weewx[1128] ERROR weewx.restx: Unable to shut down MQTT thread

Jul  7 11:03:47 raspberrypi weewx[1509] INFO weewx.cheetahgenerator: Generated 12 files for report Belchertown in 4.56 seconds

Jul  7 11:03:47 raspberrypi weewx[1509] INFO weewx.reportengine: Copied 22 files to /var/www/html/weewx/belchertown

Jul  7 11:03:47 raspberrypi weewx[1509] DEBUG weewx.reportengine: Running report 'FTP'

Jul  7 11:03:47 raspberrypi weewx[1509] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'

Jul  7 11:03:47 raspberrypi weewx[1509] DEBUG weewx.reportengine: ftpgenerator: FTP upload not requested. Skipped.

Jul  7 11:03:47 raspberrypi weewx[1509] DEBUG weewx.reportengine: Running report 'RSYNC'

Jul  7 11:03:47 raspberrypi weewx[1509] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC'

Jul  7 11:03:47 raspberrypi weewx[1509] DEBUG weewx.reportengine: rsyncgenerator: Rsync upload not requested. Skipped.

Jul  7 11:03:49 raspberrypi kernel: [ 1841.372238] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=15349 PROTO=2

Jul  7 11:03:49 raspberrypi weewx[1128] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-07 10:40:00 BST (1625650800): Failed upload after 3 tries

Jul  7 11:03:56 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  7 11:04:01 raspberrypi weewx[1509] ERROR weewx.restx: Unable to shut down MQTT thread

Jul  7 11:04:01 raspberrypi weewx[1128] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-07 10:36:45 BST (1625650605): Failed upload after 3 tries

Jul  7 11:04:03 raspberrypi weewx[1128] DEBUG weewx.restx: WOW: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:03 raspberrypi weewx[1128] DEBUG weewx.restx: PWSWeather: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:05 raspberrypi weewx[1509] DEBUG weewx.restx: PWSWeather: Failed upload attempt 3: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:05 raspberrypi weewx[1509] ERROR weewx.restx: PWSWeather: Failed to publish record 2021-07-07 10:45:00 BST (1625651100): Failed upload after 3 tries

Jul  7 11:04:05 raspberrypi weewx[1509] DEBUG weewx.restx: WOW: Failed upload attempt 3: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:05 raspberrypi weewx[1509] ERROR weewx.restx: WOW: Failed to publish record 2021-07-07 10:45:00 BST (1625651100): Failed upload after 3 tries

Jul  7 11:04:06 raspberrypi weewx[1128] ERROR weewx.restx: Unable to shut down WOW thread

Jul  7 11:04:11 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  7 11:04:16 raspberrypi weewx[1509] DEBUG weewx.restx: StationRegistry: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:16 raspberrypi weewx[1509] DEBUG weewx.restx: PWSWeather: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:16 raspberrypi weewx[1509] DEBUG weewx.restx: WOW: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:16 raspberrypi weewx[1509] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-07 10:45:00 BST (1625651100): Failed upload after 3 tries

Jul  7 11:04:16 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  7 11:04:19 raspberrypi weewx[1509] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  7 11:04:19 raspberrypi weewx[1509] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-07 11:03:23 BST (1625652203): Failed upload after 1 tries

Jul  7 11:04:21 raspberrypi weewx[1509] ERROR weewx.restx: Unable to shut down WOW thread

Doug Jenkins

unread,
Jul 7, 2021, 10:09:54 AM7/7/21
to weewx-user
Have you tried to put the the new IP address in the [MQTT] section of the weewx.conf file? I see this error which leads me to believe your DNS is still pointed to the old IP address of your former network


Jul  7 11:04:16 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

David Hindley

unread,
Jul 7, 2021, 11:18:31 AM7/7/21
to weewx...@googlegroups.com
The MQTT section of the conf file doesn’t have any IP assesses listed, so this doesn’t seem to be the problem. It has a server_url but I presume that wouldn’t change as a result of the new IP address?

Thanks

David.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/9gG34XNbgDk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/85b785ee-a0ec-4a75-86bf-9272da590e2cn%40googlegroups.com.

Les Niles

unread,
Jul 7, 2021, 12:19:16 PM7/7/21
to weewx-user
Do you have multiple instances of weewx running?  That number enclosed in ‘[]’ after ‘weewx’ in the log messages should be the process ID; there are 3 different PIDs intermixed in your log.  Run “ps uax | grep weewx” — there should be exactly one instance of python running weewxd.  A reboot will probably fix it.

  -Les



-- 
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.

David Hindley

unread,
Jul 8, 2021, 2:52:38 AM7/8/21
to weewx...@googlegroups.com
Thanks for the suggestion.  Tried that and still getting the same error - could it be something to do with my basic network setup, as getting a lot of UFW from local IP addresses, as per below (192.168.0.24 is the IP address I have reserved for my RPi in my router)?

Jul  7 10:41:09 raspberrypi kernel: [  481.832211] [UFW BLOCK] IN=wlan0 OUT= MAC=b8:27:eb:6b:80:28:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.21 DST=192.168.0.24 LEN=141 TOS=0x00 PREC=0x00 TTL=128 ID=40085 PROTO=UDP SPT=57285 DPT=161 LEN=121
Jul  7 10:41:30 raspberrypi kernel: [  503.033320] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=20070 PROTO=2
Jul  7 10:41:30 raspberrypi kernel: [  503.100239] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:00:05:cd:7f:92:10:08:00 SRC=192.168.0.51 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
Jul  7 10:41:39 raspberrypi kernel: [  511.985208] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.21 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=37440 PROTO=2

Any help anyone can give would be much appreciated.

Thanks

You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/9gG34XNbgDk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1C5CD634-2022-45FB-A93F-4D6A44CD1BE3%402pi.org.

gjr80

unread,
Jul 8, 2021, 3:17:44 AM7/8/21
to weewx-user
If you have killed all of those extra WeeWX processes we really need to see another log extract. Suggest you restart WeeWX and post the log from WeeWX startup through until at least 10 minutes have passed. You may well think it is the same old error but there may well be clues in the log.

Gary

david_h

unread,
Jul 8, 2021, 4:46:01 AM7/8/21
to weewx-user
Hi - OK.  I did that and here is the log below as suggested.  I let it run until it kept repeating what appear to be the same errors - I can leave it go for longer if needed.  Many thanks in advance for any help you can give.

David.

xxxxxx~ $ showlog

Jul  8 08:37:20 raspberrypi weewx[1942] DEBUG __main__: Initializing engine

Jul  8 08:37:20 raspberrypi weewx[1942] INFO weewx.engine: Loading station type                                                                                                                                                                                                                                              Vantage (weewx.drivers.vantage)

Jul  8 08:37:20 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Driver vers                                                                                                                                                                                                                                             ion is 3.2.2

Jul  8 08:37:20 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Option loop                                                                                                                                                                                                                                             _request=1

Jul  8 08:37:20 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Opened up e                                                                                                                                                                                                                                             thernet host 192.168.0.28 on port 22222. timeout=4.0, tcp_send_delay=0.5

Jul  8 08:37:21 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake                                                                                                                                                                                                                                              up of console successful

Jul  8 08:37:21 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Hardware ty                                                                                                                                                                                                                                             pe is 16

Jul  8 08:37:22 raspberrypi kernel: [ 2018.387882] [UFW BLOCK] IN=wlan0 OUT= MAC                                                                                                                                                                                                                                             =01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32                                                                                                                                                                                                                                              TOS=0x00 PREC=0xC0 TTL=1 ID=20564 PROTO=2

Jul  8 08:37:23 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read err                                                                                                                                                                                                                                             or: timed out

Jul  8 08:37:23 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #1                                                                                                                                                                                                                                             ; error: timed out

Jul  8 08:37:24 raspberrypi kernel: [ 2020.435408] [UFW BLOCK] IN=wlan0 OUT= MAC                                                                                                                                                                                                                                             =01:00:5e:00:00:fb:78:3e:53:d8:49:4a:08:00 SRC=192.168.0.42 DST=224.0.0.251 LEN=                                                                                                                                                                                                                                             32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 08:37:24 raspberrypi kernel: [ 2020.435542] [UFW BLOCK] IN=wlan0 OUT= MAC                                                                                                                                                                                                                                             =01:00:5e:00:00:fb:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55 DST=224.0.0.251 LEN=                                                                                                                                                                                                                                             32 TOS=0x00 PREC=0x00 TTL=1 ID=38790 PROTO=2

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: ISS ID is 1

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Hardware na                                                                                                                                                                                                                                             me: Vantage Pro2

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdTimeSynch

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdTimeSynch

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdConvert

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.engine: StdConvert target uni                                                                                                                                                                                                                                             t is 0x1

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdConvert

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdCalibrate

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdCalibrate

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdQC

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdQC

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.wxservices.StdWXCalculate

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary versi                                                                                                                                                                                                                                             on is 4.0

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.wxservices.StdWXCalculate

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.wxxtypes.StdWXXTypes

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.wxxtypes.StdWXXTypes

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.wxxtypes.StdPressureCooker

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.wxxtypes.StdPressureCooker

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.wxxtypes.StdRainRater

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.wxxtypes.StdRainRater

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.wxxtypes.StdDelta

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.wxxtypes.StdDelta

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdArchive

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.engine: Archive will use data                                                                                                                                                                                                                                              binding wx_binding

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.engine: Record generation wil                                                                                                                                                                                                                                             l be attempted in 'hardware'

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.engine: Using archive interva                                                                                                                                                                                                                                             l of 300 seconds (specified by hardware)

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Use LOOP data in hi/                                                                                                                                                                                                                                             low calculations: 1

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdArchive

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.restx.StdStationRegistry

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.restx: StationRegistry: Stati                                                                                                                                                                                                                                             on will be registered.

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.restx.StdStationRegistry

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.restx.StdWunderground

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.restx: WU essentials: {}

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.restx: Wunderground-RF: Data                                                                                                                                                                                                                                              for station IASHTEAD8 will be posted

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.restx.StdWunderground

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.restx.StdPWSweather

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.restx: PWSWeather: Data for s                                                                                                                                                                                                                                             tation DHASHTEAD will be posted

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.restx.StdPWSweather

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.restx.StdCWOP

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.restx: CWOP: Posting not enab                                                                                                                                                                                                                                             led.

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.restx.StdCWOP

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.restx.StdWOW

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.restx: WOW: Data for station                                                                                                                                                                                                                                              2ac56765-3645-e811-a822-0003ff596ea9 will be posted

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.restx.StdWOW

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.restx.StdAWEKAS

Jul  8 08:37:25 raspberrypi weewx[1942] INFO weewx.restx: AWEKAS: Posting not en                                                                                                                                                                                                                                             abled.

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.restx.StdAWEKAS

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service user                                                                                                                                                                                                                                             .mqtt.MQTT

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary versi                                                                                                                                                                                                                                             on is 4.0

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary versi                                                                                                                                                                                                                                             on is 4.0

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: service version is 0.18

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: binding to [u'archive', u'loop'                                                                                                                                                                                                                                             ]

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: TLS parameters: {u'ca_certs': u                                                                                                                                                                                                                                             '/etc/ssl/certs/ca-certificates.crt', u'tls_version': 3}

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary versi                                                                                                                                                                                                                                             on is 4.0

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: topic is weather

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: desired unit system is METRICWX

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: data will be uploaded to mqtt:/                                                                                                                                                                                                                                             /###:###@mqttdh.uk:8883/

Jul  8 08:37:25 raspberrypi weewxd: restx: MQTT: network encryption/authenticati                                                                                                                                                                                                                                             on will be attempted

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice user.mqtt.MQTT

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdPrint

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdPrint

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weew                                                                                                                                                                                                                                             x.engine.StdReport

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading ser                                                                                                                                                                                                                                             vice weewx.engine.StdReport

Jul  8 08:37:25 raspberrypi weewx[1942] INFO __main__: Starting up weewx version                                                                                                                                                                                                                                              4.5.1

Jul  8 08:37:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary versi                                                                                                                                                                                                                                             on is 4.0

Jul  8 08:37:26 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake                                                                                                                                                                                                                                              up of console successful

Jul  8 08:37:26 raspberrypi weewx[1942] INFO weewx.engine: Clock error is -0.87                                                                                                                                                                                                                                              seconds (positive is fast)

Jul  8 08:37:26 raspberrypi weewx[1942] INFO weewx.engine: Using binding 'wx_bin                                                                                                                                                                                                                                             ding' to database 'weewx.sdb'

Jul  8 08:37:26 raspberrypi weewx[1942] INFO weewx.manager: Starting backfill of                                                                                                                                                                                                                                              daily summaries

Jul  8 08:37:26 raspberrypi weewx[1942] INFO weewx.manager: Daily summaries up t                                                                                                                                                                                                                                             o date

Jul  8 08:37:26 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Getting arc                                                                                                                                                                                                                                             hive packets since 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:37:27 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read err                                                                                                                                                                                                                                             or: timed out

Jul  8 08:37:27 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #2                                                                                                                                                                                                                                             ; error: timed out

Jul  8 08:37:27 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake                                                                                                                                                                                                                                              up of console successful

Jul  8 08:37:28 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Retrieving 5 page(s); starting index= 1

Jul  8 08:37:29 raspberrypi weewx[1400] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:37:29 raspberrypi weewx[1400] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:36:33 BST (1625729793): Failed upload after 1 tries

Jul  8 08:37:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:37:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 08:37:29 raspberrypi weewx[1942] INFO weewx.engine: Starting main packet loop.

Jul  8 08:37:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:37:30 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  8 08:37:31 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:37:31 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #3; error: timed out

Jul  8 08:37:31 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:37:35 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:37:35 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #4; error: timed out

Jul  8 08:37:35 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP max tries (4) exceeded.

Jul  8 08:37:35 raspberrypi weewx[1400] INFO weewx.engine: Main loop exiting. Shutting engine down.

Jul  8 08:37:35 raspberrypi weewx[1400] INFO weewx.engine: Shutting down StdReport thread

Jul  8 08:37:41 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 08:37:46 raspberrypi weewx[1400] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 08:25:39 BST (1625729139): Failed upload after 3 tries

Jul  8 08:37:49 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 08:37:53 raspberrypi kernel: [ 2049.517871] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=20569 PROTO=2

Jul  8 08:37:54 raspberrypi kernel: [ 2050.132238] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:78:3e:53:b8:e8:3a:08:00 SRC=192.168.0.46 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 08:37:55 raspberrypi weewx[1400] ERROR weewx.engine: Unable to shut down StdReport thread

Jul  8 08:38:05 raspberrypi kernel: [ 2061.499426] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:ce:ae:c5:22:57:5f:08:00 SRC=192.168.0.27 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=44794 PROTO=2

Jul  8 08:38:05 raspberrypi weewxd: sftp: connect 2 of 3 failed: (u'home756219443.###1-data.host', 22)

Jul  8 08:38:15 raspberrypi weewx[1400] ERROR weewx.restx: Unable to shut down MQTT thread

Jul  8 08:38:15 raspberrypi weewx[1400] DEBUG weewx.restx: Shut down WOW thread.

Jul  8 08:38:15 raspberrypi weewx[1400] DEBUG weewx.restx: Shut down PWSWeather thread.

Jul  8 08:38:25 raspberrypi weewx[1400] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:38:25 raspberrypi weewx[1400] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:37:19 BST (1625729839): Failed upload after 1 tries

Jul  8 08:38:25 raspberrypi weewx[1400] DEBUG weewx.restx: Shut down Wunderground-RF thread.

Jul  8 08:38:25 raspberrypi weewx[1400] DEBUG weewx.restx: Shut down StationRegistry thread.

Jul  8 08:38:25 raspberrypi weewx[1400] CRITICAL __main__: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.

Jul  8 08:38:25 raspberrypi weewx[1400] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Jul  8 08:38:28 raspberrypi weewx[1942] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:38:28 raspberrypi weewx[1942] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:37:32 BST (1625729852): Failed upload after 1 tries

Jul  8 08:38:28 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  8 08:38:42 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  8 08:38:50 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 08:38:55 raspberrypi weewx[1400] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 08:32:49 BST (1625729569): Failed upload after 3 tries

Jul  8 08:39:01 raspberrypi weewxd: sftp: connect 3 of 3 failed: (u'home756219443.###1-data.host', 22)

Jul  8 08:39:01 raspberrypi weewxd: sftp: failed 3 attempts for ###06325@home756219443.###1-data.host

Jul  8 08:39:01 raspberrypi weewxd: sftpgenerator: transferred 0 files in 168.19 seconds

Jul  8 08:39:01 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running report 'Highcharts_Belchertown'

Jul  8 08:39:02 raspberrypi weewx[1400] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Highcharts_Belchertown/skin.conf for report 'Highcharts_Belchertown'

Jul  8 08:39:02 raspberrypi weewx[1400] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belchertown_highchartsSearchX.highchartsDay', u'user.belchertown_highchartsSearchX.highchartsWeek', u'user.belchertown_highchartsSearchX.highchartsMonth', u'user.belchertown_highchartsSearchX.highchartsYear']

Jul  8 08:39:02 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:19 raspberrypi kernel: [ 2135.740072] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=14899 PROTO=2

Jul  8 08:39:22 raspberrypi weewx[1400] INFO weewx.cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 20.53 seconds

Jul  8 08:39:22 raspberrypi weewx[1400] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/belchertown

Jul  8 08:39:22 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running report 'Belchertown'

Jul  8 08:39:22 raspberrypi weewx[1400] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'

Jul  8 08:39:22 raspberrypi weewx[1400] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belchertown.getData']

Jul  8 08:39:22 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:23 raspberrypi kernel: [ 2139.836881] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:56:49:9b:03:b7:a1:08:00 SRC=192.168.0.35 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=48705 PROTO=2

Jul  8 08:39:24 raspberrypi weewx[1942] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:39:24 raspberrypi weewx[1942] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:38:27 BST (1625729907): Failed upload after 1 tries

Jul  8 08:39:24 raspberrypi kernel: [ 2140.297303] [UFW BLOCK] IN=wlan0 OUT= MAC=b8:27:eb:6b:80:28:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55 DST=192.168.0.24 LEN=141 TOS=0x00 PREC=0x00 TTL=128 ID=52257 PROTO=UDP SPT=57199 DPT=161 LEN=121

Jul  8 08:39:25 raspberrypi weewx[1400] INFO __main__: retrying...

Jul  8 08:39:25 raspberrypi weewx[1400] INFO __main__: Using configuration file /etc/weewx/weewx.conf

Jul  8 08:39:25 raspberrypi weewx[1400] INFO __main__: Debug is 1

Jul  8 08:39:25 raspberrypi weewx[1400] DEBUG __main__: Initializing engine

Jul  8 08:39:25 raspberrypi weewx[1400] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)

Jul  8 08:39:25 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Driver version is 3.2.2

Jul  8 08:39:25 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Option loop_request=1

Jul  8 08:39:25 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Opened up ethernet host 192.168.0.28 on port 22222. timeout=4.0, tcp_send_delay=0.5

Jul  8 08:39:26 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:39:27 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Hardware type is 16

Jul  8 08:39:28 raspberrypi kernel: [ 2144.751276] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:78:3e:53:d8:49:4a:08:00 SRC=192.168.0.42 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 08:39:28 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:39:28 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 08:39:29 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: ISS ID is 1

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdConvert

Jul  8 08:39:30 raspberrypi weewx[1400] INFO weewx.engine: StdConvert target unit is 0x1

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdQC

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC

Jul  8 08:39:30 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdArchive

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.engine: Archive will use data binding wx_binding

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.engine: Record generation will be attempted in 'hardware'

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.restx: StationRegistry: Station will be registered.

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.restx: WU essentials: {}

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.restx: Wunderground-RF: Data for station IASHTEAD8 will be posted

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.restx: PWSWeather: Data for station DHASHTEAD will be posted

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.restx: CWOP: Posting not enabled.

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.restx.StdWOW

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.restx: WOW: Data for station 2ac56765-3645-e811-a822-0003ff596ea9 will be posted

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS

Jul  8 08:39:31 raspberrypi weewx[1400] INFO weewx.restx: AWEKAS: Posting not enabled.

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service user.mqtt.MQTT

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: service version is 0.18

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: binding to [u'archive', u'loop']

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: TLS parameters: {u'ca_certs': u'/etc/ssl/certs/ca-certificates.crt', u'tls_version': 3}

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: topic is weather

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: desired unit system is METRICWX

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: data will be uploaded to mqtt://###:###@mqttdh.uk:8883/

Jul  8 08:39:31 raspberrypi weewxd: restx: MQTT: network encryption/authentication will be attempted

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service user.mqtt.MQTT

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdPrint

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Loading service weewx.engine.StdReport

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport

Jul  8 08:39:31 raspberrypi weewx[1400] INFO __main__: Starting up weewx version 4.5.1

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:39:31 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:39:32 raspberrypi weewx[1400] INFO weewx.engine: Clock error is -0.21 seconds (positive is fast)

Jul  8 08:39:32 raspberrypi weewx[1400] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Jul  8 08:39:32 raspberrypi weewx[1400] INFO weewx.manager: Starting backfill of daily summaries

Jul  8 08:39:32 raspberrypi weewx[1400] INFO weewx.manager: Daily summaries up to date

Jul  8 08:39:32 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:39:32 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:39:32 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:39:32 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: LOOP try #2; error: timed out

Jul  8 08:39:34 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Retrieving 5 page(s); starting index= 1

Jul  8 08:39:36 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:39:36 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 08:39:36 raspberrypi weewx[1400] INFO weewx.engine: Starting main packet loop.

Jul  8 08:39:36 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:39:36 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: LOOP try #3; error: timed out

Jul  8 08:39:37 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:39:37 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  8 08:39:38 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:39:40 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:39:40 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: LOOP try #4; error: timed out

Jul  8 08:39:40 raspberrypi weewx[1942] ERROR weewx.drivers.vantage: LOOP max tries (4) exceeded.

Jul  8 08:39:40 raspberrypi weewx[1942] INFO weewx.engine: Main loop exiting. Shutting engine down.

Jul  8 08:39:43 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 08:39:52 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  8 08:40:00 raspberrypi weewx[1942] ERROR weewx.restx: Unable to shut down MQTT thread

Jul  8 08:40:00 raspberrypi weewx[1942] DEBUG weewx.restx: Shut down WOW thread.

Jul  8 08:40:00 raspberrypi weewx[1942] DEBUG weewx.restx: Shut down PWSWeather thread.

Jul  8 08:40:13 raspberrypi kernel: [ 2189.809039] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:56:49:9b:03:b7:a1:08:00 SRC=192.168.0.35 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=22892 PROTO=2

Jul  8 08:40:14 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:40:15 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:40:16 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Retrieving 5 page(s); starting index= 1

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running reports for latest time in the database.

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running report 'StandardReport'

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'StandardReport'

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belchertown.getData']

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:40:17 raspberrypi weewx[1400] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Error downloading forecast data. Check the URL in your configuration and try again. You are trying to use URL: https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en, and the error is: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Traceback (most recent call last):

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      obj.start()

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      self.run()

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run

Jul  8 08:40:18 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in generate

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      default_binding)

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in _getSearchList

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      searchList += obj.get_extension_list(timespan, db_lookup)

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belchertown.py", line 406, in get_extension_list

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      raise Warning( "Error downloading forecast data. Check the URL in your configuration and try again. You are trying to use URL: %s, and the error is: %s" % ( forecast_url, error ) )

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Warning: Error downloading forecast data. Check the URL in your configuration and try again. You are trying to use URL: https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en, and the error is: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:40:19 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Generator terminated

Jul  8 08:40:19 raspberrypi weewx[1400] INFO weewx.reportengine: Copied 22 files to /var/www/html/weewx/belchertown

Jul  8 08:40:19 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running report 'FTP'

Jul  8 08:40:19 raspberrypi weewx[1400] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'

Jul  8 08:40:19 raspberrypi weewx[1400] DEBUG weewx.reportengine: ftpgenerator: FTP upload not requested. Skipped.

Jul  8 08:40:19 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running report 'RSYNC'

Jul  8 08:40:19 raspberrypi weewx[1400] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC'

Jul  8 08:40:19 raspberrypi weewx[1400] DEBUG weewx.reportengine: rsyncgenerator: Rsync upload not requested. Skipped.

Jul  8 08:40:20 raspberrypi weewx[1942] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:40:20 raspberrypi weewx[1942] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:39:23 BST (1625729963): Failed upload after 1 tries

Jul  8 08:40:20 raspberrypi weewx[1942] DEBUG weewx.restx: Shut down Wunderground-RF thread.

Jul  8 08:40:20 raspberrypi weewx[1942] DEBUG weewx.restx: Shut down StationRegistry thread.

Jul  8 08:40:20 raspberrypi weewx[1942] CRITICAL __main__: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.

Jul  8 08:40:20 raspberrypi weewx[1942] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Jul  8 08:40:30 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 08:40:35 raspberrypi weewx[1400] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:40:35 raspberrypi weewx[1400] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:39:39 BST (1625729979): Failed upload after 1 tries

Jul  8 08:40:35 raspberrypi weewx[1942] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 08:37:32 BST (1625729852): Failed upload after 3 tries

Jul  8 08:40:35 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

^[[A^[[AJul  8 08:40:40 raspberrypi kernel: [ 2216.739492] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:f0:db:f8:18:b6:c3:08:00 SRC=192.168.0.40 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=47961 PROTO=2

Jul  8 08:40:44 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 08:40:46 raspberrypi kernel: [ 2222.064575] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:56:49:9b:03:b7:a1:08:00 SRC=192.168.0.35 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=17640 PROTO=2

Jul  8 08:40:49 raspberrypi weewx[1400] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 08:25:41 BST (1625729141): Failed upload after 3 tries

Jul  8 08:40:53 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 08:41:01 raspberrypi CRON[1989]: (pi) CMD (sudo cp -f /var/www/html/weewx/belchertown/json/day.json /var/www/html/weewx/belchertown/json/week.json /var/www/html/weewx/belchertown/json/month.json /var/www/html/weewx/belchertown/json/year.json /var/www/html/weewx/json)

Jul  8 08:41:09 raspberrypi kernel: [ 2245.821862] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:ce:ae:c5:22:57:5f:08:00 SRC=192.168.0.27 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=39571 PROTO=2

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Error downloading forecast data. Check the URL in your configuration and try again. You are trying to use URL: https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en, and the error is: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Traceback (most recent call last):

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      obj.start()

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      self.run()

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in generate

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      default_binding)

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in _getSearchList

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      searchList += obj.get_extension_list(timespan, db_lookup)

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belchertown.py", line 406, in get_extension_list

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****      raise Warning( "Error downloading forecast data. Check the URL in your configuration and try again. You are trying to use URL: %s, and the error is: %s" % ( forecast_url, error ) )

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Warning: Error downloading forecast data. Check the URL in your configuration and try again. You are trying to use URL: https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en, and the error is: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:41:13 raspberrypi weewx[1400] ERROR weewx.reportengine:         ****  Generator terminated

Jul  8 08:41:13 raspberrypi weewx[1400] INFO weewx.reportengine: Copied 22 files to /var/www/html/weewx

Jul  8 08:41:13 raspberrypi weewx[1400] DEBUG weewx.reportengine: Running report 'sftp'

Jul  8 08:41:13 raspberrypi weewx[1400] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/sftp/skin.conf for report 'sftp'

Jul  8 08:41:13 raspberrypi weewxd: sftp: running SFTPGenerator 0.3

Jul  8 08:41:13 raspberrypi weewxd: sftp: local_root=/var/www/html/weewx

Jul  8 08:41:13 raspberrypi weewxd: sftp: remote_root=/

Jul  8 08:41:13 raspberrypi weewxd: sftp: server=home756219443.###1-data.host port=22 user=###06325

Jul  8 08:41:13 raspberrypi weewxd: sftp: connecting to ###06325@home756219443.###1-data.host

Jul  8 08:41:20 raspberrypi weewx[1942] INFO __main__: retrying...

Jul  8 08:41:20 raspberrypi weewx[1942] INFO __main__: Using configuration file /etc/weewx/weewx.conf

Jul  8 08:41:20 raspberrypi weewx[1942] INFO __main__: Debug is 1

Jul  8 08:41:20 raspberrypi weewx[1942] DEBUG __main__: Initializing engine

Jul  8 08:41:20 raspberrypi weewx[1942] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)

Jul  8 08:41:20 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Driver version is 3.2.2

Jul  8 08:41:20 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Option loop_request=1

Jul  8 08:41:20 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Opened up ethernet host 192.168.0.28 on port 22222. timeout=4.0, tcp_send_delay=0.5

Jul  8 08:41:21 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:41:21 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Hardware type is 16

Jul  8 08:41:24 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:41:24 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: ISS ID is 1

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdConvert

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.engine: StdConvert target unit is 0x1

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdQC

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdArchive

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.engine: Archive will use data binding wx_binding

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.engine: Record generation will be attempted in 'hardware'

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.restx: StationRegistry: Station will be registered.

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.restx: WU essentials: {}

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.restx: Wunderground-RF: Data for station IASHTEAD8 will be posted

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.restx: PWSWeather: Data for station DHASHTEAD will be posted

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.restx: CWOP: Posting not enabled.

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.restx.StdWOW

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.restx: WOW: Data for station 2ac56765-3645-e811-a822-0003ff596ea9 will be posted

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS

Jul  8 08:41:25 raspberrypi weewx[1942] INFO weewx.restx: AWEKAS: Posting not enabled.

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service user.mqtt.MQTT

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: service version is 0.18

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: binding to [u'archive', u'loop']

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: TLS parameters: {u'ca_certs': u'/etc/ssl/certs/ca-certificates.crt', u'tls_version': 3}

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: topic is weather

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: desired unit system is METRICWX

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: data will be uploaded to mqtt://###:###@mqttdh.uk:8883/

Jul  8 08:41:25 raspberrypi weewxd: restx: MQTT: network encryption/authentication will be attempted

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service user.mqtt.MQTT

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdPrint

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Loading service weewx.engine.StdReport

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport

Jul  8 08:41:25 raspberrypi weewx[1942] INFO __main__: Starting up weewx version 4.5.1

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:41:25 raspberrypi weewx[1942] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 08:41:26 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:41:26 raspberrypi weewx[1942] INFO weewx.engine: Clock error is -0.96 seconds (positive is fast)

Jul  8 08:41:26 raspberrypi weewx[1942] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Jul  8 08:41:26 raspberrypi weewx[1942] INFO weewx.manager: Starting backfill of daily summaries

Jul  8 08:41:26 raspberrypi weewx[1942] INFO weewx.manager: Daily summaries up to date

Jul  8 08:41:26 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:41:27 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:41:28 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:41:28 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #2; error: timed out

Jul  8 08:41:28 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Retrieving 5 page(s); starting index= 1

Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 08:41:29 raspberrypi weewx[1942] INFO weewx.engine: Starting main packet loop.

Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:41:31 raspberrypi weewx[1400] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 08:41:31 raspberrypi weewx[1400] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 08:40:35 BST (1625730035): Failed upload after 1 tries

Jul  8 08:41:31 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  8 08:41:32 raspberrypi kernel: [ 2268.452592] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=20583 PROTO=2

Jul  8 08:41:32 raspberrypi kernel: [ 2268.452890] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:40:cb:c0:b4:91:48:08:00 SRC=192.168.0.54 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=13147 PROTO=2

Jul  8 08:41:32 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:41:32 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #3; error: timed out

Jul  8 08:41:32 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  8 08:41:33 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:41:36 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 08:41:36 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 08:41:36 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP try #4; error: timed out

Jul  8 08:41:36 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: LOOP max tries (4) exceeded.

Jul  8 08:41:36 raspberrypi weewx[1400] INFO weewx.engine: Main loop exiting. Shutting engine down.

Jul  8 08:41:36 raspberrypi weewx[1400] INFO weewx.engine: Shutting down StdReport thread

Jul  8 08:41:46 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  8 08:41:54 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 08:41:56 raspberrypi weewx[1400] ERROR weewx.engine: Unable to shut down StdReport thread

Jul  8 08:41:59 raspberrypi weewx[1400] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 08:32:49 BST (1625729569): Failed upload after 3 tries

gjr80

unread,
Jul 8, 2021, 6:04:41 AM7/8/21
to weewx-user
Bit hard to read but it still appears that you have at least two WeeWX instances running:

Jul  8 08:41:33 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 08:41:36 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 08:41:36 raspberrypi weewx[1400] ERROR weewx.drivers.vantage: ip-read error: timed out

I also suspect you have some remnants of running WeeWX directly as well (the weewxd: entries)

The following lines seem to indicate that one WeeWX instance (1942) is communicating with the logger just fine:

Jul  8 08:41:28 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Retrieving 5 page(s); starting index= 1

Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 08:41:29 raspberrypi weewx[1942] INFO weewx.engine: Starting main packet loop.

Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Judging by that portion of the log I suspect you probably have corrupt station memory and will likely ultimately have to clear the logger memory. But first you need to kill the competing WeeWX instances or you will continue to chase your tail. I suggest you:

1. Attempt to stop the WeeWX daemon using 

$ sudo systemctl stop weewx 

or whatever command you are used to using.

2. Check for any remaining running WeeWX instances using:

$ ps -aux|grep weewx

This will give you a list of processes that include the text 'weewx' somewhere in them, the list of entries will look something like:

bill     12631  0.0  0.0   6488   392 pts/1    S+   17:01   0:00 tail -f -n 50 /var/log/weewx/weewx.log

root    12676 16.3  5.8 191520 55824 ?        Sl   17:01  26:13 /usr/bin/python3 /home/weewx/bin/weewxd --daemon --log-label weewx --pidfile=/var/run/weewx.pid /home/weewx/weewx.conf

The number in the second column is the process ID (PID) and the last column is the text after the last time column is the command being run. In the above case PID 12676 is a running WeeWX instance but PID 12631 is not (it's just tailing the WeeWX log)

3. Kill any running WeeWX instances by using the kill command as follows to kill the PID(s) concerned. In the above case you would use:

$ sudo kill -9 12676

Again, in your case, I suspect you may well have PIDs of 1400 and/or 1942. You will probably also see one for weewxd, kill that PID too.

4. Run the ps command at 2. above and check there are no WeeWX instances still running (other PIDs that include the text 'weewx', such as the tail [PID 12631] above, are fine). 

5. Restart WeeWX using

$ sudo systemctl start weewx

6. Monitor the log from startup, you will initially two difference PIDs being used for WeeWX but once the WeeWX daemon is up and running there should only be one PID appearing in the log. Take a copy of the log from startup through until 10 minutes have passed (from startup) and post the log back here.

Gary

David Hindley

unread,
Jul 8, 2021, 7:40:37 AM7/8/21
to weewx...@googlegroups.com
Gary

Many thanks for your reply.

The log of what happened when I did as you suggest is below.  I have included my attempts to kill the weewx PIDs at the start.  There is less than 10mins, as my network crashed half way through (this intermitten crashing is what caused me to change my router set up and hence the IP address of the Davis Vantage Pro2 and hence the issues described here).  At least this now appears to only show one weewx PID, as far as I can see.  Any further help you can give would be really appreciated.

pi@raspberrypi:~ $ sudo systemctl stop weewx

pi@raspberrypi:~ $ ps -aux|grep weewx

pi        6438  0.0  0.0   4368   552 pts/0    S+   11:23   0:00 grep --color=au                                                                                                                                                                                                                                             to weewx

pi@raspberrypi:~ $ kill -9 6438

-bash: kill: (6438) - No such process

pi@raspberrypi:~ $ kill -9 4368

-bash: kill: (4368) - No such process

pi@raspberrypi:~ $ ps -aux|grep weewx

pi        6457  0.0  0.0   4368   564 pts/0    S+   11:26   0:00 grep --color=auto weewx

pi@raspberrypi:~ $ kill -9 6457

-bash: kill: (6457) - No such process

pi@raspberrypi:~ $ sudo systemctl start weewx

pi@raspberrypi:~ $ ps -aux|grep weewx

root      6484  1.0  1.0  15452  9660 ?        S    11:27   0:00 python2 /usr/share/weewx/weewxd --daemon --pidf                                                                                                                                                                                                             ile=/var/run/weewx.pid /etc/weewx/weewx.conf

pi        6489  0.0  0.0   4368   544 pts/0    S+   11:28   0:00 grep --color=auto weewx

pi@raspberrypi:~ $ showlog

Jul  8 11:28:07 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-07-08 06                                                                                                                                                                                                             :20:00 BST (1625721600)

Jul  8 11:28:07 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 11:28:09 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Retrieving 12 page(s); starting index= 1

Jul  8 11:28:09 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07                                                                                                                                                                                                              10:50:00 BST (1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 11:28:09 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 11:28:09 raspberrypi weewx[6484] INFO weewx.engine: Starting main packet loop.

Jul  8 11:28:10 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 11:28:11 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  8 11:28:11 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 11:28:13 raspberrypi kernel: [12270.030958] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4                                                                                                                                                                                                             a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=20067 PROTO=2

Jul  8 11:28:20 raspberrypi kernel: [12276.686821] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d                                                                                                                                                                                                             3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=15562 PROTO=2

Jul  8 11:28:22 raspberrypi kernel: [12278.325287] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:78:3e:53:b8:e                                                                                                                                                                                                             8:3a:08:00 SRC=192.168.0.46 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:28:46 raspberrypi kernel: [12302.786362] [UFW BLOCK] IN=wlan0 OUT= MAC=b8:27:eb:6b:80:28:9c:b6:d0:92:2                                                                                                                                                                                                             9:4d:08:00 SRC=192.168.0.55 DST=192.168.0.24 LEN=141 TOS=0x00 PREC=0x00 TTL=128 ID=61860 PROTO=UDP SPT=57456 DPT                                                                                                                                                                                                             =161 LEN=121

Jul  8 11:28:56 raspberrypi kernel: [12312.939246] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4                                                                                                                                                                                                             a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=64763 PROTO=2

Jul  8 11:29:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:29:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:29:08 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen er                                                                                                                                                                                                             ror [Errno -3] Temporary failure in name resolution>

Jul  8 11:29:08 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08                                                                                                                                                                                                              11:28:12 BST (1625740092): Failed upload after 1 tries

Jul  8 11:29:08 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name r                                                                                                                                                                                                             esolution

Jul  8 11:29:27 raspberrypi kernel: [12343.247930] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PR                                                                                                                                                  EC=0xC0 TTL=1 ID=15565 PROTO=2

Jul  8 11:29:27 raspberrypi kernel: [12343.759989] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:00:90:a9:dd:b8:41:08:00 SRC=192.168.0.56 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:29:42 raspberrypi kernel: [12358.096314] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=60422 PROTO=2

Jul  8 11:29:42 raspberrypi kernel: [12358.096660] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.251 LEN=36 TOS=0x00                                                                                                                                                   PREC=0xC0 TTL=1 ID=19984 PROTO=2

Jul  8 11:29:42 raspberrypi kernel: [12358.096825] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:78:3e:53:b8:e8:3a:08:00 SRC=192.168.0.46 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:30:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:30:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:30:04 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 11:30:04 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 11:29:07 BST (1625740147): Failed upload after 1 tries

Jul  8 11:30:09 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 11:30:14 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-07-08 06:20:00 BST (1625721600)

Jul  8 11:30:15 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 11:30:16 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Retrieving 12 page(s); starting index= 1

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than final timestamp 2021-07                                                                                                                                                  -08 06:20:00 BST (1625721600)

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Catch up complete.

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running reports for latest time in the database.

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running report 'StandardReport'

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'StandardReport'

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetah                                                                                                                                                  generator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belche                                                                                                                                                  rtown.getData']

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 11:30:17 raspberrypi weewxd: Belchertown Extension: version 0.8rc2

Jul  8 11:30:18 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle wake up of console successful

Jul  8 11:30:57 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:30:57 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:31:00 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 11:31:00 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 11:30:04 BST (1625740204): Failed upload after 1 tries

Jul  8 11:31:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:31:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:31:01 raspberrypi CRON[6510]: (pi) CMD (sudo cp -f /var/www/html/weewx/belchertown/json/day.json /var/www/html/weewx/belchertown/json/week.json /var/www/html/wee                                                                                                                                                  wx/belchertown/json/month.json /var/www/html/weewx/belchertown/json/year.json /var/www/html/weewx/json)

Jul  8 11:31:11 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****  Error downloading forecast data. Check the URL in your configuration and try again. You are                                                                                                                                                   trying to use URL: https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en, and the error is: <urlopen error [Errno -3] Temporar                                                                                                                                                  y failure in name resolution>

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****  Traceback (most recent call last):

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      obj.start()

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      self.run()

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in generate

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      default_binding)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in _getSearchList

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      searchList += obj.get_extension_list(timespan, db_lookup)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belchertown.py", line 406, in get_extension_list

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****      raise Warning( "Error downloading forecast data. Check the URL in your configuration an                                                                                                                                                  d try again. You are trying to use URL: %s, and the error is: %s" % ( forecast_url, error ) )

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****  Warning: Error downloading forecast data. Check the URL in your configuration and try again                                                                                                                                                  . You are trying to use URL: https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en, and the error is: <urlopen error [Errno -3]                                                                                                                                                   Temporary failure in name resolution>

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:         ****  Generator terminated

Jul  8 11:31:14 raspberrypi weewx[6484] INFO weewx.reportengine: Copied 22 files to /var/www/html/weewx

Jul  8 11:31:14 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running report 'sftp'

Jul  8 11:31:14 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/sftp/skin.conf for report 'sftp'

Jul  8 11:31:14 raspberrypi weewxd: sftp: running SFTPGenerator 0.3

Jul  8 11:31:15 raspberrypi weewxd: sftp: local_root=/var/www/html/weewx

Jul  8 11:31:15 raspberrypi weewxd: sftp: remote_root=/

Jul  8 11:31:15 raspberrypi weewxd: sftp: server=home756219443.1and1-data.host port=22 user=u95106325

Jul  8 11:31:15 raspberrypi weewxd: sftp: connecting to u951...@home756219443.1and1-data.host

Jul  8 11:31:16 raspberrypi weewx[6484] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 11:28:12 BST (1625740092): Failed upload after 3 tries

Jul  8 11:31:19 raspberrypi kernel: [12455.787617] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=40612 PROTO=2

Jul  8 11:31:24 raspberrypi kernel: [12460.088337] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:56:49:9b:03:b7:a1:08:00 SRC=192.168.0.35 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=57898 PROTO=2

Jul  8 11:31:32 raspberrypi kernel: [12468.076715] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PR                                                                                                                                                  EC=0xC0 TTL=1 ID=15574 PROTO=2

Jul  8 11:31:32 raspberrypi kernel: [12468.690065] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:00:0e:58:23:16:66:08:00 SRC=192.168.0.38 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:31:53 raspberrypi kernel: [12489.272844] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:64:9a:be:19:4b:8e:08:00 SRC=192.168.0.44 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=21984 PROTO=2

Jul  8 11:31:56 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 11:31:56 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 11:30:57 BST (1625740257): Failed upload after 1 tries

Jul  8 11:31:56 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:31:56 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:32:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:32:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:32:11 raspberrypi weewxd: sftp: connect 1 of 3 failed: (u'home756219443.1and1-data.host', 22)

Jul  8 11:32:12 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1: [Errno -3] Temporary failure in name resolution

Jul  8 11:32:24 raspberrypi kernel: [12520.403006] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:ce:ae:c5:22:57:5f:08:00 SRC=192.168.0.27 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=52756 PROTO=2

Jul  8 11:32:37 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:32:37 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:32:52 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 11:32:52 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 11:31:53 BST (1625740313): Failed upload after 1 tries

Jul  8 11:33:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:33:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:33:07 raspberrypi weewxd: sftp: connect 2 of 3 failed: (u'home756219443.1and1-data.host', 22)

Jul  8 11:33:13 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2: [Errno -3] Temporary failure in name resolution

Jul  8 11:33:37 raspberrypi kernel: [12593.313029] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PR                                                                                                                                                  EC=0xC0 TTL=1 ID=15583 PROTO=2

Jul  8 11:33:38 raspberrypi kernel: [12594.951645] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:9c:32:ce:cc:4b:99:08:00 SRC=192.168.0.21 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=48726 PROTO=2

Jul  8 11:33:46 raspberrypi kernel: [12602.428483] [UFW BLOCK] IN=wlan0 OUT= MAC=b8:27:eb:6b:80:28:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55 DST=192.168.0.24 LEN=141 TOS=0x                                                                                                                                                  00 PREC=0x00 TTL=128 ID=61932 PROTO=UDP SPT=57357 DPT=161 LEN=121

Jul  8 11:33:48 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 11:33:48 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 11:32:51 BST (1625740371): Failed upload after 1 tries

Jul  8 11:34:02 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:34:02 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:34:03 raspberrypi weewxd: sftp: connect 3 of 3 failed: (u'home756219443.1and1-data.host', 22)

Jul  8 11:34:03 raspberrypi weewxd: sftp: failed 3 attempts for u951...@home756219443.1and1-data.host

Jul  8 11:34:03 raspberrypi weewxd: sftpgenerator: transferred 0 files in 169.40 seconds

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running report 'Highcharts_Belchertown'

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Highcharts_Belchertown/skin.conf for report 'Highcharts_Belcher                                                                                                                                                  town'

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetah                                                                                                                                                  generator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belche                                                                                                                                                  rtown_highchartsSearchX.highchartsDay', u'user.belchertown_highchartsSearchX.highchartsWeek', u'user.belchertown_highchartsSearchX.highchartsMonth', u'user.belchertown_hig                                                                                                                                                  hchartsSearchX.highchartsYear']

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 11:34:10 raspberrypi kernel: [12626.695937] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=27936 PROTO=2

Jul  8 11:34:14 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3: [Errno -3] Temporary failure in name resolution

Jul  8 11:34:19 raspberrypi weewx[6484] ERROR weewx.restx: MQTT: Failed to publish record 2021-07-08 11:28:12 BST (1625740092): Failed upload after 3 tries

Jul  8 11:34:21 raspberrypi kernel: [12637.755328] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PR                                                                                                                                                  EC=0xC0 TTL=1 ID=15590 PROTO=2

Jul  8 11:34:22 raspberrypi kernel: [12638.062701] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:90:21:06:46:88:f9:08:00 SRC=192.168.0.45 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:34:25 raspberrypi weewx[6484] INFO weewx.cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 21.38 seconds

Jul  8 11:34:25 raspberrypi weewx[6484] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/belchertown

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running report 'Belchertown'

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetah                                                                                                                                                  generator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', u'user.belche                                                                                                                                                  rtown.getData']

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.manager: Daily summary version is 4.0

Jul  8 11:34:45 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF: Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in name resolution>

Jul  8 11:34:45 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF: Failed to publish record 2021-07-08 11:33:49 BST (1625740429): Failed upload after 1 tries

Jul  8 11:34:53 raspberrypi kernel: [12670.012329] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=6208 PROTO=2

Jul  8 11:34:54 raspberrypi kernel: [12670.626473] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55 DST=224.0.0.251 LEN=32 TOS=0x00                                                                                                                                                   PREC=0x00 TTL=1 ID=6209 PROTO=2

Jul  8 11:35:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: ip-read error: timed out

Jul  8 11:35:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP try #1; error: timed out

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: carrier lost

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: deleting address fe80::aba8:bd8:21c8:842f

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Withdrawing address record for fe80::aba8:bd8:21c8:842f on eth0.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::aba8:bd8:21c8:842f.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Interface eth0.IPv6 no longer relevant for mDNS.

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: deleting default route via 10.0.1.1

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: deleting route to 10.0.1.0/24

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Withdrawing address record for 10.0.1.16 on eth0.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.1.16.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Interface eth0.IPv4 no longer relevant for mDNS.

 


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/9gG34XNbgDk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Les Niles

unread,
Jul 8, 2021, 11:03:20 AM7/8/21
to weewx-user
This time it looks like you only have one instance of weewx running.  That’s progress.

What do you mean by your “network crashed”?

I didn’t notice this before, but it looks like you’re using both the ethernet and wi-fi interfaces on the Pi.  How is the Davis connected to the Pi?  
Please run the commands “/sbin/ifconfig -a”, “sudo /sbin/route -n”, and “/usr/sbin/arp -n" and send the outputs.  

  -Les



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/CAKbmhJRKR2Eaqakp6-oYWyTPn2K5FgBD6%2BYOVoqMpgOA4y4ssg%40mail.gmail.com.

David Hindley

unread,
Jul 8, 2021, 11:30:39 AM7/8/21
to weewx...@googlegroups.com
My Virgin router keeps rebooting for no apparent reason so that my internet connection keeps dropping and eventually reconnecting - extremely annoying.  I changed my network setup to use the Virgin router rather than another router, to try to fix this issue and this change necessitated the change the IP address of the Davis Weather station in the weewx conf file.  

Just tried to do what you asked below and it crashed again before I had a chance to run the commands.  

My Pi is connected via an Ethernet cable to my router (directly) and my Davis Vantage Pro2 is also connected via an Ethernet WPlogger (via an Ethernet switch box to the Virgin router). 

Will try the commands you suggested as soon as I can. 

vince

unread,
Jul 8, 2021, 11:34:47 AM7/8/21
to weewx-user
I have a wired pi that shows both wifi and ethernet interfaces up so that part is typical.

A quick look at the logs show lots of DNS resolution errors (Temporary failure in name resolution) and a bouncy eth0 interface (carrier lost).
Also some really bizarre hostnames ('home756219443.1and1-data.host')

To me the network looks pretty confused at best.

vince

unread,
Jul 8, 2021, 11:39:53 AM7/8/21
to weewx-user
One thing I'd add just in case.....I recently had a hardware failure on my home LAN router and replaced it with other hardware.  Afterwards, while the home LAN worked, the network to Internet basically didn't work until I powered my Comcast Xfinitiy modem down and back up.  My belief is the cable modem ARP table was hanging onto the previous gateway box hardware's info or something.   Once I power reset the cable modem everything worked great.  You might try that.

Les Niles

unread,
Jul 8, 2021, 12:57:47 PM7/8/21
to weewx...@googlegroups.com
Having both interfaces active isn’t a problem itself, but it doesn’t open up the potential for various isconfigurations that can make networking flaky. I’ve discovered a number of them myself. :)  Just want to eliminate that as the source of the problem. 

David, it would also be useful to turn off the firewall while debugging this. I don’t see evidence that the firewall is the problem, but turning it off would eliminate any possibility. 
“sudo disable ufw” should do it. 

  -Les


On Jul 8, 2021, at 8:34 AM, vince <vince...@gmail.com> wrote:

I have a wired pi that shows both wifi and ethernet interfaces up so that part is typical.

A quick look at the logs show lots of DNS resolution errors (Temporary failure in name resolution) and a bouncy eth0 interface (carrier lost).
Also some really bizarre hostnames ('home756219443.1and1-data.host')

To me the network looks pretty confused at best.

--
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.

David Hindley

unread,
Jul 8, 2021, 1:23:02 PM7/8/21
to weewx...@googlegroups.com

Les

OK. Will turn the firewall off temporarily. 

How do I only use the Ethernet interface? (ie disable the Wi-Fi). 

David.  
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/9gG34XNbgDk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/E8D77E3A-74AE-47B1-B622-597153F67E45%402pi.org.

Les Niles

unread,
Jul 8, 2021, 1:30:47 PM7/8/21
to weewx-user
Don’t worry about the wifi interface, it’s probably not a problem, should be easy to confirm if you can run those commands.

  -Les



Reply all
Reply to author
Forward
0 new messages