Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post 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.
User avatar
mhpaulson
Posts: 2
Joined: Sat Jan 07, 2012 10:03 pm
Weather Station: Ambient WS-1080
Operating System: Win7
Location: Kalispell, Montana, USA

Alphanumeric Password Format

Postby mhpaulson » Wed Oct 18, 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: 26250
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Alphanumeric Password Format

Postby steve » Wed Oct 18, 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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

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

Re: Alphanumeric Password Format

Postby mhpaulson » Wed Oct 18, 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: 345
Joined: Fri Jul 27, 2012 11:29 am
Weather Station: off-line Fine Offset plus others
Operating System: off-line Vista and W10 PCs
Location: UK

Re: Alphanumeric Password Format

Postby sfws » Thu Oct 19, 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: 26250
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Alphanumeric Password Format

Postby steve » Thu Oct 19, 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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

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

Re: Alphanumeric Password Format

Postby mcrossley » Fri Oct 20, 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?


Return to “Cumulus 1”

Who is online

Users browsing this forum: Bing [Bot] and 10 guests