Author Topic: Twitter: "Could not connect"  (Read 4638 times)

pbrain.de

  • Newbie
  • *
  • Posts: 6
    • View Profile
Twitter: "Could not connect"
« on: 23 June 2009, 21:29 »
Hi,

I would like to display my twitter-updates, but the module only shows "Could not connect" instead.

My twitter-id is "pbrainde", I have configured the following for the RSS: http://twitter.com/statuses/user_timeline/47905465.xml
I only want to show my own updates, so userid/pswd are probably not even needed, I have filled them in regardless.

Surely I am missing something very obvious, but it wasn't mentioned in the FAQ and even RTFM didn't help...

Thanks

Michael 

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Twitter: "Could not connect"
« Reply #1 on: 23 June 2009, 21:50 »
Make sure the cache is turned on with minimum cache time of 60 seconds. Otherwise Twitter might ban you because of too many connections.

If it's on then it's probably your server that doesn't allow external connections in which case I can't do anything.

pbrain.de

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Twitter: "Could not connect"
« Reply #2 on: 24 June 2009, 05:02 »
Thanks, yes, that seems to be the case, even RSS-Feeds produce that msg. Now, is there anything I can do to enable external connections? (modified after discovering that I needed to change mode from "twitter" to RSS)
Hmm, but RSS works, so it looks like my server can connect...?
« Last Edit: 24 June 2009, 05:49 by pbrain.de »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Twitter: "Could not connect"
« Reply #3 on: 24 June 2009, 13:58 »
So it gets feeds from Twitter in RSS mode but not in XML mode?
Which version of Joomla is that?

pbrain.de

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Twitter: "Could not connect"
« Reply #4 on: 24 June 2009, 14:54 »
Well, I tried the RSS-feed from your site - Twitter-RSS doesn't work either..

I am using "Joomla! 1.5.10 Production/Stable [ Wohmamni ] 27-March-2009 23:00 GMT."

If you'd like to have a look, I could set up an account for you, just lemme know :)

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Twitter: "Could not connect"
« Reply #5 on: 24 June 2009, 15:03 »
OK, well then maybe it's a problem on connection between your server and Twitter. Try from some other server or localhost.

You said nothing about cache, I repeat: cache must be turned on and cache time minimum 60 seconds, otherwise Twitter will ban your server and maybe that's what happened.

pbrain.de

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Twitter: "Could not connect"
« Reply #6 on: 24 June 2009, 16:16 »
The 1st module-param (on the right-side) is caching, this dropdown has one selection only which is set to "Never". The twitter-section also has cache-params, it is enabled there and set to 300. I don't think my IP got banned, as the module was never publishd for everyone, so far it has only run for "Special", so we had limited use only, I assume. I'll check with Twitter-support to make sure and will also try on a Joomla 1.1 installation later...

pbrain.de

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Twitter: "Could not connect"
« Reply #7 on: 29 June 2009, 14:21 »
Today I finally got a reply from twitter-support, but that was not really helpful - just a general template that my case either is a known issue or had been fixed, but no specific about my query :(

So, as the testing-period was over, I went ahead and registred the scroller (I need it anyway, also to display articles).

Could it be that perhaps the module requires any specifics from the PHP-installation which I may not have?

(In my last msg I mentioned trying from another J-install, I only got to do that today, but I now have the choice of a registered scroller-module (for another site) or an outdated test, so I'm afraid I couldn't do that)

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Twitter: "Could not connect"
« Reply #8 on: 29 June 2009, 18:28 »
Please send a mail with your URL and access info (including admin password and FTP) and I will take a look and try to find out why you have problems connecting to Twitter.

pbrain.de

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Twitter: "Could not connect"
« Reply #9 on: 30 June 2009, 09:19 »
Thanks Emir, I've emailed the details - pls.let me know if the email shouldn't arrive....

wittyone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Twitter: "Could not connect"
« Reply #10 on: 19 July 2009, 17:52 »
I am also experiencing this same issue, "Could not connect". Oddly enough, if I choose friends timeline it will actually pull in results. If I change twitter to RSS, it will also pull in the feed, it just doesnt look quite as good as the twitter option...

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Twitter: "Could not connect"
« Reply #11 on: 19 July 2009, 21:36 »
It's up to connection between your server and Twitter. Can't do anything about it.

wittyone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Twitter: "Could not connect"
« Reply #12 on: 20 July 2009, 05:31 »
Hows is it able to retrieve the tweets from friends, and also the rss feed?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Twitter: "Could not connect"
« Reply #13 on: 20 July 2009, 17:45 »
Because it looks like those are on different servers and services, Twitter is huge. I tested it with previous customer and that's the only conclusion I came up with. On my server everything works great.