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
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?
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Twitter socket error?
What a fantastic piece of software. Just gorgeous. Everything is working perfectly, and results are showing up at http://ben.geek.nz/weather
Thanks!
One niggle, I can't get Twitter updates to work (v1.9.0). Here's what ends up in my diags file:
10/08/2010 22:43:38.440 : Starting Twitter thread
10/08/2010 22:43:38.441 : Requesting Twitter tokens
10/08/2010 22:43:41.367 : Socket Error # 0
10/08/2010 22:43:41.367 : Access token response:
10/08/2010 22:43:41.367 : HTTP response code: 0
Any ideas?
Thanks!
One niggle, I can't get Twitter updates to work (v1.9.0). Here's what ends up in my diags file:
10/08/2010 22:43:38.440 : Starting Twitter thread
10/08/2010 22:43:38.441 : Requesting Twitter tokens
10/08/2010 22:43:41.367 : Socket Error # 0
10/08/2010 22:43:41.367 : Access token response:
10/08/2010 22:43:41.367 : HTTP response code: 0
Any ideas?
- 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?
I tried deleting my access tokens, so it would have to fetch them again (which is where yours is failing) and it worked fine, so it's not a problem at the Twitter end. For some reason your PC is unable to contact the server. The URL it uses is https://api.twitter.com/oauth/access_token - do you get an error if you try to access that in a browser? Perhaps the problem is because it is using SSL - do you go through a proxy or something which might be preventing access? Or perhaps a firewall?
Steve
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
If it can't contact Twitter then that is truly bizarre, because I use twitter many, many times per day.
Definitely not behind a proxy or anything. I am running 64bit Windows 7 if that makes any difference?
Definitely not behind a proxy or anything. I am running 64bit Windows 7 if that makes any difference?
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
What should I see if I try to access that oauth page in a browser? I get a blank page after several seconds of waiting. No 404s or anything.
- 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?
Just a blank page, I guess. That's what I get.nzben wrote:What should I see if I try to access that oauth page in a browser?
I don't know how many people are using the new Twitter authentication yet, but no-one else has reported a problem. Most internet-related problems that people report with Cumulus end up being the fault of misconfigured firewalls. Are you using a firewall?
When you say you are using Twitter many times a day, is that via the API using an SSL connection (as with Cumulus), or directly via the web site?
Have you tried restarting Cumulus since you first got the error?
Steve
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
Nothing more than standard Windows Firewall. I've tried turning that off, no change.steve wrote:I don't know how many people are using the new Twitter authentication yet, but no-one else has reported a problem. Most internet-related problems that people report with Cumulus end up being the fault of misconfigured firewalls. Are you using a firewall?
Yep via the API, using MetroTwit, TweetDeck, and via iPhone Wifi to the same network that Cumulus is running on.steve wrote:When you say you are using Twitter many times a day, is that via the API using an SSL connection (as with Cumulus), or directly via the web site?
Yep. Also tried dropping and increasing the twitter update rate, and leaving it at 60 mins overnight. Same errors in diag.steve wrote:Have you tried restarting Cumulus since you first got the error?
All very strange. I code .NET for a living, so I'm totally happy to try any and all debugs and backflips if it would be useful?
- 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?
Indeed. I had a quick look through the known Twitter users list in the Wiki (but I'm sure there are many more) and lots of them are using the new authentication method. As an aside, a worrying number are still using the old one.nzben wrote:All very strange.
I'll see if i can think of anything.
Steve
- 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?
Could you unzip the attached files into a folder somewhere, and run the Twittertest.exe. Put your user and password into the boxes, and click 'Go'.
In theory, it won't work, because it uses exactly the same code as Cumulus. If it gives a useful error message, post it here. Be careful what you post, though, as some of the stuff it may return is private to you - effectively a password.
If somehow it does happen to work and you get some long strings in the 'Tokens' boxes, then you may as well use those in Cumulus and see if it will then tweet OK. With Cumulus stopped, copy the two strings starting 'OauthToken=' and 'OauthTokenSecret=' into your cumulus.ini file (overwriting any existing lines that start with those strings) into the [Twitter] section. Then start Cumulus and see what happens.
In theory, it won't work, because it uses exactly the same code as Cumulus. If it gives a useful error message, post it here. Be careful what you post, though, as some of the stuff it may return is private to you - effectively a password.
If somehow it does happen to work and you get some long strings in the 'Tokens' boxes, then you may as well use those in Cumulus and see if it will then tweet OK. With Cumulus stopped, copy the two strings starting 'OauthToken=' and 'OauthTokenSecret=' into your cumulus.ini file (overwriting any existing lines that start with those strings) into the [Twitter] section. Then start Cumulus and see what happens.
You do not have the required permissions to view the files attached to this post.
Steve
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
Brilliant thanks. I'll give it a crack when I get home in a few hours.
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
OK running that app I get a messagebox after hitting "go". Tried two different accounts.
"---------------------------
Twittertest
---------------------------
Socket Error # 10060
Connection timed out.
---------------------------
OK
---------------------------
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
"---------------------------
Twittertest
---------------------------
Socket Error # 10060
Connection timed out.
---------------------------
OK
---------------------------
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
- 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?
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.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
It looks very much like something is blocking the connect attempt.
Steve
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
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.
Time to go debug my router. Thanks for the time, and apologies for any wasted.
-
nzben
- Posts: 8
- Joined: Tue 10 Aug 2010 10:48 am
- Weather Station: Digitech FineOffset clone
- Operating System: Windows 7 64bit
Re: Twitter socket error?
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.
Very, very weird. Other https sites work fine.
- 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?
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??
Anyone got any ideas??
- 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?
Are you getting exactly the same error as in the first post in this thread?
Steve