Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Twitter socket error?

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
User avatar
Jonsey
Posts: 112
Joined: Mon 05 Jan 2009 2:25 am
Weather Station: Fine Offset WH1081
Operating System: Shuttle Xpc SK41, XP Pro SP3
Location: Worsley, Manchester
Contact:

Re: Twitter socket error?

Post by Jonsey »

I donk know what it was but it has started working again.
Image
lloydp
Posts: 5
Joined: Thu 05 Mar 2009 3:31 pm

Re: Twitter socket error?

Post by lloydp »

When I discovered the Twitter option (on v1.9.0 955) the other day I switched it on for my default twitter a/c and it was working fine. I then created a new twitter a/c just for the wx and it didn't work. (no info, just didn't update. I reverted back to my normal a/c and it now doesn't work either. I tried your twitter test prog, and this comes up with a popup box 'HTTP/1.1 401 Unauthorized' error for both a/cs. My twitter client is working fine. Any suggestions please?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter socket error?

Post by steve »

lloydp wrote:When I discovered the Twitter option (on v1.9.0 955) the other day I switched it on for my default twitter a/c and it was working fine. I then created a new twitter a/c just for the wx and it didn't work. (no info, just didn't update. I reverted back to my normal a/c and it now doesn't work either.
There's an assumption that you will only use one Twitter account with Cumulus; it saves the authentication strings in cumulus.ini. To switch accounts, you have to delete the "OauthToken=" and "OauthTokenSecret=" lines before starting Cumulus, so it gets the new strings.

I don't know why it didn't work when you switched back, except I see that mine hasn't updated for the last 12 hours. I'll see if I can find out why that is; Twitter often seem to have problems.

The '401' problem while trying to authenticate has also been reported by someone else on the Twitter development forum.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter socket error?

Post by steve »

I turned logging on for mine and it's also getting 401. I guess we'll have to wait till Twitter fix the problem, it's already been reported.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter socket error?

Post by steve »

It appears that they fixed a bug in Twitter where they were accepting timestamps which were off by a long way (so now they don't). This exposed a bug in the library routine I use to calculate a Unix timestamp where it didn't take daylight savings into account. I've fixed this in build 956:

http://www.nybbles.co.uk/downloads/beta ... sSetup.exe
Steve
lloydp
Posts: 5
Joined: Thu 05 Mar 2009 3:31 pm

Re: Twitter socket error?

Post by lloydp »

[quote="steve"]It appears that they fixed a bug in Twitter where they were accepting timestamps which were off by a long way (so now they don't). This exposed a bug in the library routine I use to calculate a Unix timestamp where it didn't take daylight savings into account. I've fixed this in build 956:

Steve you're a star - works perfectly now, thanks!
Post Reply