Page 1 of 1
Twitter Broken?
Posted: Sat 03 May 2014 4:27 am
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
Re: Twitter Broken?
Posted: Sat 03 May 2014 7:12 am
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.
Re: Twitter Broken?
Posted: Sat 03 May 2014 2:44 pm
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
Re: Twitter Broken?
Posted: Sat 03 May 2014 3:34 pm
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.
Re: Twitter Broken?
Posted: Sat 03 May 2014 7:12 pm
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.
Re: Twitter Broken?
Posted: Sat 03 May 2014 7:27 pm
by steve
That's odd. I'll do some experimenting tomorrow. Perhaps the problem is with the new DLLs and fetching the tokens.
Re: Twitter Broken?
Posted: Sat 03 May 2014 7:47 pm
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?
Re: Twitter Broken?
Posted: Sat 03 May 2014 9:53 pm
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.