Here's 3 attempts at uploading. Nov 11 15:10:17 weewx weewx[87598] DEBUG weewx.restx: WOW: url: https://wow.metoffice.gov.uk/automaticreading?action=updateraw&siteid=f7fb9445-dd06-e911-9462-0003ff598847&siteAuthenticationKey=XXX&softwaretype=weewx-4.5.1&dateutc=2021-11-11+21%3A10%3A00&baromin=29.457&tempf=38.7&humidity=75&windspeedmph=8&winddir=225&windgustmph=17&windgustdir=248&dewptf=31.5&rainin=0.00&dailyrainin=0.510 Nov 11 15:10:20 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 1: HTTP Error 400: Bad Request Nov 11 15:10:25 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 2: HTTP Error 400: Bad Request Nov 11 15:10:31 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 3: HTTP Error 400: Bad Request Nov 11 15:10:31 weewx weewx[87598] ERROR weewx.restx: WOW: Failed to publish record 2021-11-11 15:10:00 CST (1636665000): Failed upload after 3 tries Nov 11 15:15:17 weewx weewx[87598] DEBUG weewx.restx: WOW: url: https://wow.metoffice.gov.uk/automaticreading?action=updateraw&siteid=f7fb9445-dd06-e911-9462-0003ff598847&siteAuthenticationKey=XXX&softwaretype=weewx-4.5.1&dateutc=2021-11-11+21%3A15%3A00&baromin=29.461&tempf=38.5&humidity=75&windspeedmph=8&winddir=225&windgustmph=16&windgustdir=248&dewptf=31.3&rainin=0.00&dailyrainin=0.510 Nov 11 15:15:17 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 1: HTTP Error 400: Bad Request Nov 11 15:15:24 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 2: HTTP Error 400: Bad Request Nov 11 15:15:29 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 3: HTTP Error 400: Bad Request Nov 11 15:15:29 weewx weewx[87598] ERROR weewx.restx: WOW: Failed to publish record 2021-11-11 15:15:00 CST (1636665300): Failed upload after 3 tries Nov 11 15:20:17 weewx weewx[87598] DEBUG weewx.restx: WOW: url: https://wow.metoffice.gov.uk/automaticreading?action=updateraw&siteid=f7fb9445-dd06-e911-9462-0003ff598847&siteAuthenticationKey=XXX&softwaretype=weewx-4.5.1&dateutc=2021-11-11+21%3A20%3A00&baromin=29.463&tempf=38.4&humidity=75&windspeedmph=8&winddir=202&windgustmph=21&windgustdir=225&dewptf=31.2&rainin=0.00&dailyrainin=0.510 Nov 11 15:20:26 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 1: HTTP Error 400: Bad Request Nov 11 15:20:37 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 2: HTTP Error 400: Bad Request ov 11 15:20:47 weewx weewx[87598] DEBUG weewx.restx: WOW: Failed upload attempt 3: HTTP Error 400: Bad Request Nov 11 15:20:47 weewx weewx[87598] ERROR weewx.restx: WOW: Failed to publish record 2021-11-11 15:20:00 CST (1636665600): Failed upload after 3 tries
On Thursday, November 11, 2021 at 3:33:06 PM UTC-6 Tim Urberg wrote: > Here's the rest of the startup log: > > Nov 11 15:06:43 weewx weewx[87583]: * Starting weewx weather system weewx > Nov 11 15:06:43 weewx weewx[87595] INFO __main__: Initializing weewx > version 4.5.1 > Nov 11 15:06:43 weewx weewx[87595] INFO __main__: Using Python 3.8.10 > (default, Sep 28 2021, 16:10:42) #012[GCC 9.3.0] > Nov 11 15:06:43 weewx weewx[87595] INFO __main__: Platform > Linux-5.4.0-1045-raspi-aarch64-with-glibc2.29 > Nov 11 15:06:43 weewx weewx[87595] INFO __main__: Locale is 'C.UTF-8' > Nov 11 15:06:43 weewx weewx[87595] INFO __main__: PID file is > /var/run/weewx.pid > Nov 11 15:06:43 weewx weewx[87598] INFO __main__: Using configuration file > /etc/weewx/weewx.conf > Nov 11 15:06:43 weewx weewx[87598] INFO __main__: Debug is 2 > Nov 11 15:06:43 weewx weewx[87598] DEBUG __main__: Initializing engine > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.engine: Loading station type > Vantage (weewx.drivers.vantage) > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: Driver > version is 3.2.2 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: Option > loop_request=1 > Nov 11 15:06:43 weewx weewx[87583]: ...done. > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: Opened up > serial port /dev/ttyUSB0; baud 19200; timeout 4.00 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: Gentle > wake up of console successful > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: Hardware > type is 16 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: ISS ID is 1 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.drivers.vantage: Hardware > name: Vantage Pro2 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdTimeSynch > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdTimeSynch > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdConvert > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.engine: StdConvert target > unit is 0x1 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdConvert > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdCalibrate > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdCalibrate > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdQC > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdQC > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.wxservices.StdWXCalculate > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.wxservices: Calculations > for LOOP packets: {'pressure': 'prefer_hardware', 'barometer': > 'prefer_hardware', 'altimeter': 'prefer_hardware', 'windchill': > 'prefer_hardware', 'heatindex': 'prefer_hardware', 'dewpoint': > 'prefer_hardware', 'inDewpoint': 'prefer_hardware', 'rainRate': > 'prefer_hardware', 'cloudbase': 'prefer_hardware', 'maxSolarRad': > 'prefer_hardware', 'humidex': 'prefer_hardware', 'appTemp': > 'prefer_hardware', 'ET': 'prefer_hardware', 'windrun': 'prefer_hardware', > 'windDir': 'software', 'windGustDir': 'software'} > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.wxservices: Calculations > for archive records: {'pressure': 'prefer_hardware', 'barometer': > 'prefer_hardware', 'altimeter': 'prefer_hardware', 'windchill': > 'prefer_hardware', 'heatindex': 'prefer_hardware', 'dewpoint': > 'prefer_hardware', 'inDewpoint': 'prefer_hardware', 'rainRate': > 'prefer_hardware', 'cloudbase': 'prefer_hardware', 'maxSolarRad': > 'prefer_hardware', 'humidex': 'prefer_hardware', 'appTemp': > 'prefer_hardware', 'ET': 'prefer_hardware', 'windrun': 'prefer_hardware', > 'windDir': 'software', 'windGustDir': 'software'} > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.manager: Daily summary > version is 4.0 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.wxservices.StdWXCalculate > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdWXXTypes > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdWXXTypes > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdPressureCooker > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdPressureCooker > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdRainRater > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdRainRater > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdDelta > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdDelta > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdArchive > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.engine: Archive will use > data binding wx_binding > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.engine: Record generation > will be attempted in 'hardware' > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.engine: Using archive > interval of 300 seconds (specified by hardware) > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Use LOOP data in > hi/low calculations: 1 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdArchive > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.restx.StdStationRegistry > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.restx: StationRegistry: > Station will be registered. > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.restx.StdStationRegistry > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.restx.StdWunderground > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.restx: WU essentials: {} > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.restx: Wunderground-RF: Data > for station KMNBLAIN30 will be posted > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.restx.StdWunderground > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.restx.StdPWSweather > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.restx: PWSWeather: Data for > station BLAINEMN will be posted > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.restx.StdPWSweather > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.restx.StdCWOP > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.restx: CWOP: Data for > station FW3216 will be posted > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.restx.StdCWOP > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.restx.StdWOW > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.restx: WOW: Data for station > f7fb9445-dd06-e911-9462-0003ff598847 will be posted > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.restx.StdWOW > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.restx.StdAWEKAS > Nov 11 15:06:43 weewx weewx[87598] INFO weewx.restx: AWEKAS: Data will be > uploaded for user tim273 > Nov 11 15:06:43 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.restx.StdAWEKAS > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.engine: Loading service > user.mqtt.MQTT > Nov 11 15:06:44 weewx weewx[87598] INFO user.mqtt: service version is 0.23 > Nov 11 15:06:44 weewx weewx[87598] INFO user.mqtt: binding to ['archive', > 'loop'] > Nov 11 15:06:44 weewx weewx[87598] DEBUG user.mqtt: TLS parameters: > {'ca_certs': '/etc/ssl/certs/ca-certificates.crt'} > Nov 11 15:06:44 weewx weewx[87598] INFO user.mqtt: topic is weather > Nov 11 15:06:44 weewx weewx[87598] INFO user.mqtt: desired unit system is > US > Nov 11 15:06:44 weewx weewx[87598] INFO user.mqtt: data will be uploaded > to mqtt://tim:x...@weather.urberg.net:8883 > <http://tim:x...@weather.urberg.net:8883> > Nov 11 15:06:44 weewx weewx[87598] INFO user.mqtt: network > encryption/authentication will be attempted > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service user.mqtt.MQTT > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdPrint > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdPrint > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.engine: Loading service > weewx.engine.StdReport > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.engine: Finished loading > service weewx.engine.StdReport > Nov 11 15:06:44 weewx weewx[87598] INFO __main__: Starting up weewx > version 4.5.1 > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Gentle > wake up of console successful > Nov 11 15:06:44 weewx weewx[87598] INFO weewx.engine: Clock error is -1.11 > seconds (positive is fast) > Nov 11 15:06:44 weewx weewx[87598] INFO weewx.engine: Using binding > 'wx_binding' to database 'weewx.sdb' > Nov 11 15:06:44 weewx weewx[87598] INFO weewx.manager: Starting backfill > of daily summaries > Nov 11 15:06:44 weewx weewx[87598] INFO weewx.manager: Daily summaries up > to date > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Getting > archive packets since 2021-11-11 15:05:00 CST (1636664700) > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Gentle > wake up of console successful > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.manager: Daily summary > version is 4.0 > Nov 11 15:06:44 weewx weewx[87598] message repeated 2 times: [ DEBUG > weewx.manager: Daily summary version is 4.0] > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Retrieving > 0 page(s); starting index= 0 > Nov 11 15:06:44 weewx weewx[87598] INFO weewx.engine: Starting main packet > loop. > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.manager: Daily summary > version is 4.0 > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.manager: Daily summary > version is 4.0 > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Gentle > wake up of console successful > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.manager: Daily summary > version is 4.0 > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Requesting > 200 LOOP packets. > Nov 11 15:06:44 weewx weewx[87598] DEBUG weewx.drivers.vantage: Gentle > wake up of console successful > > > Here's the part of the log > On Thursday, November 11, 2021 at 3:18:27 PM UTC-6 Tim Urberg wrote: > >> >> https://wow.metoffice.gov.uk/automaticreading?action=updateraw&siteid=f7fb9445-dd06-e911-9462-0003ff598847&siteAuthenticationKey=XXX&softwaretype=weewx-4.5.1&dateutc=2021-11-11+21%3A10%3A00&baromin=29.457&tempf=38.7&humidity=75&windspeedmph=8&winddir=225&windgustmph=17&windgustdir=248&dewptf=31.5&rainin=0.00&dailyrainin=0.510 >> >> Here's the URL: >> >> On Wednesday, November 10, 2021 at 9:20:48 PM UTC-6 gjr80 wrote: >> >>> Hi, >>> >>> Edit weewx.conf and set debug = 2. Save weewx.conf and restart WeeWX. >>> You should now see the full URL used to upload to any of the restful >>> services in the log. If you want any further help post a log extract from >>> when you restarted WeeWX through until a couple of report cycles have >>> completed. It’s import to capture the full WeeWX startup as well as the >>> report cycles. >>> >>> Gary >>> On Thursday, 11 November 2021 at 11:13:45 UTC+10 tim.u...@gmail.com >>> wrote: >>> >>>> Hello everyone, I'm having trouble uploading to WOW. I created an >>>> account got my username and created a password, but this keeps happening: >>>> >>>> Nov 10 19:10:18 weewx weewx[3837] DEBUG weewx.restx: WOW: Failed upload >>>> attempt 1: HTTP Error 400: Bad Request >>>> Nov 10 19:10:24 weewx weewx[3837] DEBUG weewx.restx: WOW: Failed upload >>>> attempt 2: HTTP Error 400: Bad Request >>>> Nov 10 19:10:30 weewx weewx[3837] DEBUG weewx.restx: WOW: Failed upload >>>> attempt 3: HTTP Error 400: Bad Request >>>> Nov 10 19:10:30 weewx weewx[3837] ERROR weewx.restx: WOW: Failed to >>>> publish record 2021-11-10 19:10:00 CST (1636593000): Failed upload after 3 >>>> tries >>>> >>>> Not sure what would be causing a bad request, is there anyway to log >>>> the full response? >>>> >>>> Thanks! >>>> Tim >>>> >>> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6580c45b-ebe6-45a7-bf8f-e0e9f9ac6a7fn%40googlegroups.com.