Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

Alphanumeric Password Format

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
Post Reply
User avatar
mhpaulson
Posts: 2
Joined: Sat 07 Jan 2012 10:03 pm
Weather Station: Ambient WS-1080
Operating System: Win7
Location: Kalispell, Montana, USA

Alphanumeric Password Format

Post by mhpaulson » Wed 18 Oct 2017 4:13 pm

For the past month or so, my weather station has mysteriously not been reporting to Weather Underground. Off and on during that period, I've been trying to troubleshoot the issue and finally discovered and corrected the problem this AM. I didn't connect the two but now, after the fact, I see what happened. Back in September I changed my WU password and then went into my Cumulus Configuration and entered the new password there. For security reasons, my new password contained a plus symbol (+) and an equals symbol (=). After looking at the debug file this morning and noticing that Cumulus was reporting an incorrect password and/or ID, I went back into WU and changed the PW again, this time with all alphanumeric characters, removing the + and the = symbols. Sure enough, after changing the PW in Cumulus to the new alphanumeric one, my station started reporting to WU immediately. Apparently, Cumulus doesn't support non-alphanumeric characters in its Passwords. Just a word to the wise, I guess.

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Alphanumeric Password Format

Post by steve » Wed 18 Oct 2017 6:16 pm

Yes, I've seen this before, but it's not mentioned in the FAQ unfortunately. It's something to do with the way the WU update URL is encoded.
Steve

User avatar
mhpaulson
Posts: 2
Joined: Sat 07 Jan 2012 10:03 pm
Weather Station: Ambient WS-1080
Operating System: Win7
Location: Kalispell, Montana, USA

Re: Alphanumeric Password Format

Post by mhpaulson » Wed 18 Oct 2017 10:03 pm

Thanks for the reply, Steve.
So, it's not a Cumulus-specific issue, something on WU's end. Interesting. It would be nice if the password format info could be documented somehow so that others don't run into the same problem. Oh, well.

sfws
Posts: 462
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Customised mix of Fine Offset
Operating System: Tempermental Win. 10 PC
Location: UK

Re: Alphanumeric Password Format

Post by sfws » Thu 19 Oct 2017 6:45 am

If you look up the official URL specification both '+' and '=' each have a specific defined meaning as separators and are therefore not a permitted character elsewhere like in your password. Consequently, the problem is simply in the protocol for transport between Cumulus and WU, not either end's fault. Help fora on the internet reveal that others have met up with this issue, so you are not the first to say it should be documented somewhere - it is in the specification for a URL. FWIW this dates from the Berners-Lee original ideas.

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Alphanumeric Password Format

Post by steve » Thu 19 Oct 2017 10:47 am

I wasn’t clear - I’m not saying that the problem definitely isn’t with Cumulus, it could well be that Cumulus should be encoding the password such that the reserved characters work OK. I can’t remember exactly what the code does.
Steve

User avatar
mcrossley
Posts: 5232
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Alphanumeric Password Format

Post by mcrossley » Fri 20 Oct 2017 1:28 pm

From what I can see MX doesn't do a HttpUtility.UrlEncode() of the url string that is generated, so probably the same for C1?

Post Reply