Title: Error Code:
Last modified: August 21, 2016

---

# Error Code:

 *  Resolved [erica_pro](https://wordpress.org/support/users/erica_pro/)
 * (@erica_pro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-code-19/)
 * I just installed and created my twitter app today. I triple checked all my codes
   and they are correct.
 * I am getting this error code when Verify SSL connection to Twitter is set on 
   YES:
 * “error message received from Twitter: “**couldn’t connect to host**. Please check
   your API key, secret, token and secret token on the Twitter website.”
 * I am getting this error code when Verify SSL connection to Twitter is set on 
   NO:
 * “Error message received from Twitter: **connect() timed out!**. Please check 
   your API key, secret, token and secret token on the Twitter website.”
 * What can I do to remedy this?
 * Thanks for your help.
 * [http://wordpress.org/extend/plugins/rotatingtweets/](http://wordpress.org/extend/plugins/rotatingtweets/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855658)
 * This message means that WordPress isn’t able to connect to Twitter.
 * Is your server connected to the internet?
 * If so, try installing the [Core Control plug-i](http://wordpress.org/extend/plugins/core-control/)
   n and disabling cURL. You can read more about the problem via [this support page](http://wordpress.org/support/topic/wp-351-wordpress-error-code-http_request_failed-name-lookup-timed-out).
 *  Thread Starter [erica_pro](https://wordpress.org/support/users/erica_pro/)
 * (@erica_pro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855857)
 * Hello Martin,
 * Yes, my server is connected to the internet.
 * I just updated to wordpress 3.5.2 and the Rotating Tweets plugin has been updated.
 * I installed the Core Control plugin and disabled the cURL, and the plugin still
   does not work. I get the same error messages in the setup page, and on the widget
   the following message is showing: Problem retrieving data from Twitter
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855859)
 * The problem here is that your server is not connecting to the internet in a way
   that WordPress can use to pick up information from other sites. (That’s any bit
   of WordPress, not just Rotating Tweets).
 * One option might be to give it more time by increasing the timeout in `lib/wp_twitteroauth.
   php` on line 28, for example, by changing:
 *     ```
       public $timeout = 3;
       ```
   
 * to
 *     ```
       public $timeout = 10;
       ```
   
 * to see if that solves anything – but I suspect the problem is some kind of server
   setting.
 * If you’re technically minded, [this post](http://wordpress.org/support/topic/wp-351-wordpress-error-code-http_request_failed-name-lookup-timed-out?replies=9#post-4340988)
   might be helpful.
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855933)
 * The [latest development version of the script](http://downloads.wordpress.org/plugin/rotatingtweets.zip)
   enables you to change the timeout. If you go to the rotating tweets settings 
   page and increase the timeout to 7 seconds, does that solve the problem?
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855943)
 * I’ve added some extra functions to the settings page that should help you fix
   this.
 * If you need further diagnostics, I suggest setting changing the `WP_DEBUG` line
   in your `wp-config.php` file to:
 *     ```
       define('WP_DEBUG', true);
       ```
   
 * and you will get the diagnostics you need as comments in the HTML of the page.
 *  [adch](https://wordpress.org/support/users/adch/)
 * (@adch)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855944)
 * Hi there, does the plugin function on localhost?
    I have installed it local and
   i am getting this error at “Rotating Tweets: Twitter API settings” page:
 * **“Error message received from WordPress: SSL certificate problem, verify that
   the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:
   certificate verify failed. Please check your connection settings.”**
 * I also installed the Dev Version but still the same error!
    I am facing the same
   problem with erica_pro?
 * Thanks is advance

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error Code:’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rotatingtweets.svg)
 * [Rotating Tweets (Twitter widget and shortcode)](https://wordpress.org/plugins/rotatingtweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rotatingtweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rotatingtweets/)
 * [Active Topics](https://wordpress.org/support/plugin/rotatingtweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rotatingtweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rotatingtweets/reviews/)

## Tags

 * [couldn't connect to host](https://wordpress.org/support/topic-tag/couldnt-connect-to-host/)
 * [twitter](https://wordpress.org/support/topic-tag/twitter/)

 * 6 replies
 * 3 participants
 * Last reply from: [adch](https://wordpress.org/support/users/adch/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/error-code-19/#post-3855944)
 * Status: resolved