Hi All,
I just updated to 3.8.0 and have run into an issue with randomly failing WU
rapid fire uploads. Something like 80 to 90% of the rapid fire uploads
fail. There are 8 attempts in the syslog fragment below. Of those 8
attempts, 7 failed. Some attempts show timed out and others show ' '.
These were around 1219 UTC. No uploads to other sites fail. I've attached
a debug report just in case.
Per a tip from another thread, I'm able to get a 'success' response 100% of
the time using a browser but - it consistently takes between 15 and 20
seconds for each response. The RTU server (at 54.187.172.130) is somewhere
beyond 170 ms and 26 hops from my location, but that alone doesn't explain
15+ second response times. For what it's worth, I've been experiencing
consistently slow response times and generally poor performance on the
Wunderground site which seems to have started about 3 or 4 months back.
My questions are, where can I change the the rapid fire upload frequency
(or period) which seems to be around 5 seconds, and do I want to change the
response failure timeout value?
Thanks!!
Craig
>>>>>>>>>>>>
Jan 8 13:19:22 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A23&rtfreq=2.5&dailyrainin=0.00&winddir=069&tempf=37.0&windspeedmph=4.0&windgustmph=7.0&rainin=0.00
Jan 8 13:19:23 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload
attempt 1: ''
Jan 8 13:19:28 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A27&rtfreq=2.5&dailyrainin=0.00&winddir=063&tempf=37.0&windspeedmph=7.0&windgustmph=7.0&rainin=0.00
Jan 8 13:19:38 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload
attempt 1: timed out
Jan 8 13:19:43 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A43&rtfreq=2.5&dailyrainin=0.00&winddir=061&tempf=37.0&windspeedmph=7.0&windgustmph=8.0&rainin=0.00
Jan 8 13:19:43 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload
attempt 1: ''
Jan 8 13:19:48 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A49&rtfreq=2.5&dailyrainin=0.00&winddir=078&tempf=37.0&windspeedmph=9.0&windgustmph=10.0&rainin=0.00
Jan 8 13:19:49 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload
attempt 1: ''
Jan 8 13:19:54 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A53&rtfreq=2.5&dailyrainin=0.00&winddir=135&tempf=37.0&windspeedmph=6.0&windgustmph=10.0&rainin=0.00
Jan 8 13:20:03 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A20%3A03&rtfreq=2.5&dailyrainin=0.00&winddir=057&tempf=37.0&windspeedmph=7.0&windgustmph=7.0&rainin=0.00
Jan 8 13:20:10 Weewx weewx[1684]: vantage: Getting archive packets since
2018-01-08 13:19:00 CET (1515413940)
Jan 8 13:20:10 Weewx weewx[1684]: vantage: Gentle wake up of console
successful
Jan 8 13:20:10 Weewx weewx[1684]: vantage: Retrieving 1 page(s); starting
index= 3
Jan 8 13:20:11 Weewx weewx[1684]: manager: Added record 2018-01-08
13:20:11 CET (1515414011) to database 'cmon.sdb'
Jan 8 13:20:11 Weewx weewx[1684]: manager: Added record 2018-01-08
13:20:11 CET (1515414011) to daily summary in 'cmon.sdb'
Jan 8 13:20:13 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload
attempt 1: timed out
Jan 8 13:20:18 Weewx weewx[1684]: restx: Ambient: url:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A20%3A11&rtfreq=2.5&dailyrainin=0.00&winddir=076&tempf=37.0&windspeedmph=7.0&windgustmph=7.0&rainin=0.00
Jan 8 13:20:19 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload
attempt 1: ''
Jan 8 13:20:21 Weewx weewx[1684]: manager: Added record 2018-01-08
13:20:00 CET (1515414000) to database 'weewx.sdb'
Jan 8 13:20:21 Weewx weewx[1684]: manager: Added record 2018-01-08
13:20:00 CET (1515414000) to daily summary in 'weewx.sdb'
Jan 8 13:20:24 Weewx weewx[1684]: forecast: MainThread: Zambretti:
starting thread
Jan 8 13:20:24 Weewx weewx[1684]: forecast: ZambrettiThread: Zambretti:
forecast was already calculated for 2018-01-08 09:00:00 CET (1515398400)
Jan 8 13:20:24 Weewx weewx[1684]: forecast: MainThread: WU: not yet time
to do the forecast
Jan 8 13:20:24 Weewx weewx[1684]: forecast: ZambrettiThread: Zambretti:
terminating thread
<<<<<<<<<<<<<<<<<<<<<<<<<<
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
System info
Platform: Linux-4.9.59-v7+-armv7l-with-debian-9.1
Python Version: 2.7.13
Environment
LANG=en_GB.UTF-8
USERNAME=root
TERM=xterm-256color
SHELL=/bin/bash
SUDO_COMMAND=/usr/bin/wee_debug --info --verbosity 2 --output
/var/tmp/weewx_debug_080118.txt
SUDO_UID=1000
SUDO_GID=1000
LOGNAME=root
USER=root
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SUDO_USER=pi
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
HOME=/root
Load Information
1 minute load average: 0.66
5 minute load average: 0.69
15 minute load average: 0.65
General Weewx info
Weewx version 3.8.0 detected.
Station info
Station type: Vantage
Driver: weewx.drivers.vantage
Driver info
[Vantage]
type = serial
port = /dev/ttyUSB0
host = 1.2.3.4
baudrate = 19200
tcp_port = 22222
tcp_send_delay = 0.5
iss_id = 1
timeout = 4
wait_before_retry = 1.2
max_tries = 4
driver = weewx.drivers.vantage
Currently installed extensions
Extension Name Version Description
cmon 0.16 Collect and display computer health indicators.
Archive info
Database name: weewx.sdb
Table name: archive
Unit system: 1 (US)
First good timestamp: 2013-07-15 14:55:00 CEST (1373892900)
Last good timestamp: 2018-01-08 13:45:00 CET (1515415500)
Number of records: 837304
weewx (weewx.conf) is set to use an archive interval of 60 seconds.
The station hardware was not interrogated in determining archive interval.
Databases configured in weewx.conf
Database name: weewx.sdb
Database driver: weedb.sqlite
Database name: forecast.sdb
Database driver: weedb.sqlite
Database name: weewx
Database driver: weedb.mysql
Database host: localhost
Database name: cmon.sdb
Database driver: weedb.sqlite
Supported SQL keys
dateTime usUnits interval
barometer pressure altimeter
inTemp outTemp inHumidity
outHumidity windSpeed windDir
windGust windGustDir rainRate
rain dewpoint windchill
heatindex ET radiation
UV extraTemp1 extraTemp2
extraTemp3 soilTemp1 soilTemp2
soilTemp3 soilTemp4 leafTemp1
leafTemp2 extraHumid1 extraHumid2
soilMoist1 soilMoist2 soilMoist3
soilMoist4 leafWet1 leafWet2
rxCheckPercent txBatteryStatus consBatteryVoltage
hail hailRate heatingTemp
heatingVoltage supplyVoltage referenceVoltage
windBatteryStatus rainBatteryStatus outTempBatteryStatus
inTempBatteryStatus
Supported observation keys
barometer pressure altimeter
inTemp outTemp inHumidity
outHumidity windSpeed windDir
windGust windGustDir rainRate
rain dewpoint windchill
heatindex ET radiation
UV extraTemp1 extraTemp2
extraTemp3 soilTemp1 soilTemp2
soilTemp3 soilTemp4 leafTemp1
leafTemp2 extraHumid1 extraHumid2
soilMoist1 soilMoist2 soilMoist3
soilMoist4 leafWet1 leafWet2
rxCheckPercent txBatteryStatus consBatteryVoltage
hail hailRate heatingTemp
heatingVoltage supplyVoltage referenceVoltage
windBatteryStatus rainBatteryStatus outTempBatteryStatus
inTempBatteryStatus
Parsed and obfuscated weewx.conf
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2015 Tom Keffer <[email protected]>
# See the file LICENSE.txt for your rights.
#
#
# 6/12/16 enabled FTP for sofa
# 8/12/16 added user extension for all_time roll ups
# 9/12/16 removed extranaous stanzas, comments
# 10/12/16 replaced forecast 3.0.8 w/ 3.2.4
# 23/12/16 added cmon service
# 4/01/17 changed aechive interval to 60 sec, changed FTP timing to 10
minutes
# 08/01/18 updated to 3.8.0
#
##############################################################################
debug = 2
WEEWX_ROOT = /
socket_timeout = 20
version = 3.8.0
##############################################################################
[Station]
location = "Achel, Belgium"
latitude = 51.25637
longitude = 5.402772
altitude = 35, meter
station_type = Vantage
station_url = XXX obfuscated by wee_debug XXX
rain_year_start = 7
week_start = 6
##############################################################################
[Vantage]
type = serial
port = /dev/ttyUSB0
host = 1.2.3.4
baudrate = 19200
tcp_port = 22222
tcp_send_delay = 0.5
iss_id = 1
timeout = 4
wait_before_retry = 1.2
max_tries = 4
driver = weewx.drivers.vantage
##############################################################################
[StdRESTful]
[[StationRegistry]]
register_this_station = true
[[AWEKAS]]
post_interval = 600
log_success = True
log_failure = True
enable = true
username = XXX obfuscated by wee_debug XXX
password = XXX obfuscated by wee_debug XXX
[[PWSweather]]
post_interval = 600
log_success = True
log_failure = True
enable = true
station = XXX obfuscated by wee_debug XXX
password = XXX obfuscated by wee_debug XXX
[[WOW]]
post_interval = 600
log_success = True
log_failure = True
enable = true
station = XXX obfuscated by wee_debug XXX
password = XXX obfuscated by wee_debug XXX
[[Wunderground]]
enable = true
station = XXX obfuscated by wee_debug XXX
password = XXX obfuscated by wee_debug XXX
rapidfire = true
[[CWOP]]
post_interval = 600
log_success = True
log_failure = True
enable = true
station = XXX obfuscated by wee_debug XXX
server_list = cwop.aprs.net:14580, cwop.aprs.net:23
##############################################################################
[StdReport]
SKIN_ROOT = /etc/weewx/skins/
HTML_ROOT = /var/www/html/sofa
data_binding = wx_binding
report_timing = */10 * * * *
# [[forecast]]
# HTML_ROOT = /var/www/html/sofa/forecast
# skin = forecast
# skin = forecast_nl
[[sofaskin]] # DUTCH
skin = sofaskin
[[[CheetahGenerator]]]
search_list_extensions = user.xstats.ExtendedStatistics
[[sofaskin_EN]] # ENGLISH
skin = sofaskin_EN
[[[CheetahGenerator]]]
search_list_extensions = user.xstats.ExtendedStatistics
[[cmon]]
HTML_ROOT = /var/www/html/sofa/cmon
skin = cmon
[[FTP]]
skin = Ftp
user = XXX obfuscated by wee_debug XXX
password = XXX obfuscated by wee_debug XXX
server = limburgweer.com
path = /www
secure_ftp = False
HTML_ROOT = /var/www/html/sofa
port = 21
passive = 1
# [[RSYNC]]
# server = replace with the rsync server name,
e.g, www.threefools.org
# path = replace with the rsync destination
directory (e.g., /weather)
# user = replace with the rsync username
# delete = 0
##############################################################################
[StdConvert]
# DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
target_unit = US # Options are 'US', 'METRICWX', or 'METRIC'
##############################################################################
[StdCalibrate]
[[Corrections]]
foo = foo + 0.2
##############################################################################
[StdQC]
[[MinMax]]
barometer = 26, 32.5, inHg
outTemp = -40, 120, degree_F
inTemp = 10, 120, degree_F
outHumidity = 0, 100
inHumidity = 0, 100
windSpeed = 0, 120, mile_per_hour
pressure = 24, 34.5, inHg
##############################################################################
[StdWXCalculate]
[[Calculations]]
pressure = prefer_hardware
barometer = prefer_hardware
altimeter = prefer_hardware
windchill = prefer_hardware
heatindex = prefer_hardware
dewpoint = prefer_hardware
inDewpoint = prefer_hardware
rainRate = prefer_hardware
##############################################################################
[StdTimeSynch]
clock_check = 14400
max_drift = 5
##############################################################################
[StdArchive]
archive_interval = 60
archive_delay = 10
record_generation = hardware
loop_hilo = True
data_binding = wx_binding
##############################################################################
[DataBindings]
[[wx_binding]]
database = archive_sqlite
table_name = archive
manager = weewx.wxmanager.WXDaySummaryManager
schema = schemas.wview.schema
[[forecast_binding]]
database = forecast_sqlite
[[cmon_binding]]
manager = weewx.manager.DaySummaryManager
schema = user.cmon.schema
table_name = archive
database = cmon_sqlite
##############################################################################
[Databases]
# A SQLite database is simply a single file
[[archive_sqlite]]
database_type = SQLite
database_name = weewx.sdb
[[forecast_sqlite]]
database_type = SQLite
database_name = forecast.sdb
# MySQL
[[archive_mysql]]
database_type = MySQL
database_name = weewx
[[cmon_sqlite]]
database_name = cmon.sdb
database_type = SQLite
##############################################################################
[DatabaseTypes]
# Defaults for SQLite databases
[[SQLite]]
driver = weedb.sqlite
SQLITE_ROOT = /var/lib/weewx
# Defaults for MySQL databases
[[MySQL]]
driver = weedb.mysql
host = localhost
user = XXX obfuscated by wee_debug XXX
password = XXX obfuscated by wee_debug XXX
##############################################################################
[Engine]
[[Services]]
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate,
weewx.engine.StdQC, weewx.wxservices.StdWXCalculate, user.cmon.ComputerMonitor
archive_services = weewx.engine.StdArchive,
user.forecast.ZambrettiForecast, user.forecast.WUForecast
restful_services = weewx.restx.StdStationRegistry,
weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP,
weewx.restx.StdWOW, weewx.restx.StdAWEKAS
report_services = weewx.engine.StdPrint, weewx.engine.StdReport
##############################################################################
# Options for extension 'forecast'
[Forecast]
data_binding = forecast_binding
[[Zambretti]]
hemisphere = NORTH
[[WU]]
api_key = XXX obfuscated by wee_debug XXX
##############################################################################
# Options for extension 'cmon'
[ComputerMonitor]
data_binding = cmon_binding
##############################################################################