WXforum.net
Weather Related Organizations => WeatherUnderground => Topic started by: John Canfield on November 23, 2018, 09:41:36 AM
-
I administer two Linux servers remotely (weewx) as a volunteer and my personal one (weather.janeandjohn.org), all running weewx under Linux. Just had a report from one of the sites that WU is not showing their data - they have been off-line for several days.
So I started looking into the issue. The syslog reported weewx is indeed attempting to upload to WU but I get this log entry:
Nov 22 15:15:38 fisher-river-wx weewx[1232]: restx: Wunderground-RF: Failed upload attempt 1: Exception HTTP Error 401: Unauthorized
Nov 22 15:16:57 fisher-river-whttps://www.wxforum.net/index.php?board=90.0x weewx[1232]: message repeated 15 times: [ restx: Wunderground-RF: Failed upload attempt 1: Exception HTTP Error
401: Unauthorized]
I have verified the station name (KNCDOBS03) and password - I can log into WU using the user's login name and password so that's not the problem. weewx is operating normally - it's uploading to their website (FTP.) The station owner rebooted the server so that wasn't a fix. I reentered the station name and password in the weewx config file just in case that somehow got corrupted - no joy.
At this point I'm out of ideas and recommended that we delete KNCDOBS03 and create a new station. Hate to lose the archived data though :sad:
-
Try https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBSO3
Enjoy,
Paul
-
Someone else had similar issue so they deleted station then added new station back got new keycode and in business.
I also deleted 2 stations for different reason, when I started them back up some 5 months later was assigned same station just different keycode and old data was still stored and available.
Here is one of my stations deleted you can see old data wasn't lost.
[ You are not allowed to view attachments ]
-
KNDCOBSO3 does exist https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBSO3 (https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBSO3) with no data but a Gold Star #-o
KNCDOBS03 does not https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBS03 (https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBS03)
I presume in John's issue that if he changed the upload from KNDCOBS03 to KNDCOBSO3 it would work.
Enjoy,
Paul
-
KNDCOBSO3 does exist https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBSO3 (https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBSO3) with no data but a Gold Star #-o
KNCDOBS03 does not https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBS03 (https://www.wunderground.com/personal-weather-station/dashboard?ID=KNCDOBS03)
I presume in John's issue that if he changed the upload from KNDCOBS03 to KNDCOBSO3 it would work.
Enjoy,
Paul
#-o Okay, now I'm confused - good catch Paul. I did substitute a zero for an alpha O when I reentered the station ID in the config file as one last thing to try. I fixed my error in weewx.conf and WU is happy now (me too.)
Bottom line is I have no idea why the station got dropped in the first place and then I shot myself in the foot while troubleshooting. Interestingly weewx with verbose logging doesn't report successful WU uploads like it does for FTP sessions. Tom might have fixed that in later versions - Fisher Park is several versions behind.
Thanks fellows, especially Paul. It always helps to have a fresh pair of eyes on the problem.
John
-
You're very welcome John. I've done similar... and easier to spot someone else's rather than your own.
Glad you've got that is working.
Enjoy,
Paul