Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu May 23, 2013 11:52 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Twitter socket error?
PostPosted: Wed Aug 11, 2010 7:38 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17586
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
nzben wrote:
Could it be that the socket timeout is too short? The poor little bits and bytes have to travel a long way from New Zealand :)
The connect timeout in the component used by the test app (and Cumulus) is 2 minutes by default, I believe. That message is coming from Winsock, so Windows is timing out before the application.

It looks very much like something is blocking the connect attempt.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Aug 11, 2010 8:02 am 
Offline

Joined: Tue Aug 10, 2010 10:48 am
Posts: 8
Weather Station: Digitech FineOffset clone
Operating System: Windows 7 64bit
Ok wow that's freaky. When I use my 3G datacard from my laptop it works fine.
Time to go debug my router. Thanks for the time, and apologies for any wasted.


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Aug 11, 2010 8:26 am 
Offline

Joined: Tue Aug 10, 2010 10:48 am
Posts: 8
Weather Station: Digitech FineOffset clone
Operating System: Windows 7 64bit
After manually copying the oAuth strings I got when using the data card, Twitter updates work from the main PC.
Very, very weird. Other https sites work fine.


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Fri Aug 20, 2010 7:22 pm 
Offline
User avatar

Joined: Mon Jan 05, 2009 2:25 am
Posts: 112
Location: Worsley, Manchester
Weather Station: Fine Offset WH1081
Operating System: Shuttle Xpc SK41, XP Pro SP3
I have the same problem, just will not tweet anything, I have tried redoing the tokens as stated in a prev post, have re booted router, pc. But it just will not tweet. Mine stopped working on the 27/07 the day before I went on holiday I am on v1.9.0.

Anyone got any ideas??

_________________
Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Fri Aug 20, 2010 7:40 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17586
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Are you getting exactly the same error as in the first post in this thread?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Fri Aug 20, 2010 8:23 pm 
Offline
User avatar

Joined: Mon Jan 05, 2009 2:25 am
Posts: 112
Location: Worsley, Manchester
Weather Station: Fine Offset WH1081
Operating System: Shuttle Xpc SK41, XP Pro SP3
I donk know what it was but it has started working again.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Sep 01, 2010 3:05 pm 
Offline

Joined: Thu Mar 05, 2009 3:31 pm
Posts: 5
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?


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Sep 01, 2010 3:59 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17586
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
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
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Sep 01, 2010 4:12 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17586
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
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
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Sep 01, 2010 5:50 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17586
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
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/beta190/CumulusSetup.exe

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Twitter socket error?
PostPosted: Wed Sep 01, 2010 6:31 pm 
Offline

Joined: Thu Mar 05, 2009 3:31 pm
Posts: 5
[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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group