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 Broken?

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.
Post Reply
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Twitter Broken?

Post by sperry russ »

Does anyone know if there is any problem with Cumulus and Twitter? I had my station offline for two days doing some repairs and also changing web hosts. When I got everything going again it would not upload to twitter. I am using the latest build (1095).

Thanks,
Sperry
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 Broken?

Post by steve »

There don't seem to be any problems at Twitter at the moment, but Twitter is a pain and can 'sulk' for unexplained reasons.

The first thing to check is that your PC clock is correct.

The next thing to try is to force Cumulus to re-authenticate. Stop Cumulus and edit cumulus.ini. Find the [Twitter] section, and delete the lines which start

OauthToken=
OauthTokenSecret=

Then start Cumulus again. If it still can't update, turn on the debug log and look at the diags file (cumulus.009) to see if Twitter is returning any error codes.

Some people have found that they need to go into their Twitter account and remove permission from Cumulus, and then add it again.

If you post any diagnostics here, be careful not to include the tokens.
Steve
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Twitter Broken?

Post by sperry russ »

The PC clock is correct.

I deleted the OauthToken= and OauthTokenSecret= that did not help. I then deleted all my Twitter info from the internet settings in Cumulus and restarted Cumulus. Then I re-entered all my Twitter info. Still did not work.

After re-entering my Twitter info I noticed that in the Cumulus.ini that the OauthTokenSecret had no key, it showed unknown as below.

OauthToken=unknown
OauthTokenSecret=unknown

But when I checked the diagnostic log it showed a key under the twitter info but also it shows--Could not load SSL library.

Here is the diagnostic info. I placed X's where the keys, password, and username were.



5/3/2014 10:15:00.500 : Writing today.ini, LastUpdateTime = 5/3/2014 10:15:00 AM raindaystart = 0.637795329093933 rain counter = 0.791338622570038
5/3/2014 10:15:00.500 : Latest reading: 383C: Data: 02 2F D1 00 64 DD 00 69 27 08 08 00 04 43 00 00
5/3/2014 10:15:02.671 : Starting Twitter thread
5/3/2014 10:15:02.671 : Starting Twitter thread
5/3/2014 10:15:02.687 : Requesting Twitter tokens
5/3/2014 10:15:02.687 : Param: x_auth_mode=client_auth&x_auth_password=XXXXX&x_auth_username=XXXXX
5/3/2014 10:15:02.687 : Base string: POST&https%3A%2F%2Fapi.twitter.com%2Foauth%2Faccess_token&oauth_consumer_key%XXXXXXXXX%26oauth_nonce%XXXXXXXXX%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%XXXXX%26oauth_token%3D%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3DXXXXX%26x_auth_username%3DXXXXX
5/3/2014 10:15:02.765 : Could not load SSL library.
5/3/2014 10:15:02.765 : Access token response:
5/3/2014 10:15:02.765 : HTTP response code: 0
5/3/2014 10:15:02.765 : Twitter thread exit
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 Broken?

Post by steve »

sperry russ wrote:5/3/2014 10:15:02.765 : Could not load SSL library.
I updated the OpenSSL libraries to the latest versions recently (even though the ones Cumulus was using previously didn't have the Heartbleed bug) so it's possible I broke something. But I've just checked the installer, and it does install the new DLLs, and I'm using the new DLLs myself.

If you look in the Cumulus installation folder, do you have the two DLLs, libeay32.dll and ssleay32.dll, and are they dated 8th April 2014? If not, reinstalling Cumulus should put them back again.
Steve
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Twitter Broken?

Post by sperry russ »

Yes, I have both of those DLLs and they are dated 8th April 2014. I re-installed Cumulus anyway but that did not fix it.
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 Broken?

Post by steve »

That's odd. I'll do some experimenting tomorrow. Perhaps the problem is with the new DLLs and fetching the tokens.
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 Broken?

Post by steve »

I just did a quick test with a new install of Cumulus 1.9.4 build 1095 on my Windows 8.1 system, and it successfully fetched the tokens and (on the next update) posted a message to Twitter. So I'm afraid I have no idea why it's not working on your system. What changes did you do to your PC between the point where it was working and when it stopped working? Are you launching Cumulus using the shortcut created by the installer?
Steve
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Twitter Broken?

Post by sperry russ »

Don't worry yourself with it. I think Twitter is more aggravation than it is worth anyhow :)

One thing I forgot to mention is when I made all these changes I installed Cumulus to a Netbook running Windows XP Pro. I am accessing it with Remote Desktop. I was running it on Windows 8.1 as in my specs but I need to change them. Could be something to do with that.

I will dig a little deeper just to see if I can find out what's up.

Thanks.
Post Reply