Title: Error: connect() timed out!
Last modified: August 21, 2016

---

# Error: connect() timed out!

 *  Resolved [alfie](https://wordpress.org/support/users/drtanz/)
 * (@drtanz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-connect-timed-out/)
 * I keep getting this error when inserting the access key and secret key then hitting
   save.
 * Error: connect() timed out!
 * How can I fix this?
 * [https://wordpress.org/plugins/easyazon/](https://wordpress.org/plugins/easyazon/)

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

 *  [boostwpcom](https://wordpress.org/support/users/boostwpcom/)
 * (@boostwpcom)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-connect-timed-out/#post-5155773)
 * We’re looking into this for an EasyAzon Pro customer right now will update this
   thread when we have a resolution in place. Most likely issue is related to your
   hosting provider blocking remote sources (in this case being Amazon’s product
   advertise API which is required to make the plugin function).
 * Will update this thread when we have nailed down the cause
 *  [bestprobiotics](https://wordpress.org/support/users/bestprobiotics/)
 * (@bestprobiotics)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-connect-timed-out/#post-5155838)
 * Hi,
    I am having the same issue on my blog. How is investigation going on? If
   you need help to troubleshoot this issue please email to me. Thanks!
 *  [boostwpcom](https://wordpress.org/support/users/boostwpcom/)
 * (@boostwpcom)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-connect-timed-out/#post-5155842)
 * If you can put this code into a .php file (e.g. connecttimeout.php) and upload
   to `wp-content/mu-plugins/` that can help us investigate.
 *     ```
       <?php
   
       function easyazon_http_request_debug() {
           if(isset($_GET['easyazon-http-request-debug'])) {
               $response = wp_remote_get('http://example.com');
   
               echo '<pre>' . esc_html(print_r($response, true)) . '</pre>';
               exit;
           }
       }
       add_action('init', 'easyazon_http_request_debug');
       ```
   
 * Then navigate to [http://yourblogurl.com/?easyazon-http-request-debug](http://yourblogurl.com/?easyazon-http-request-debug)
   and share that here.
 * The most likely issue is that your server is blocking remote requests to Amazon’s
   Product Advertising API (which the plugin needs to function of course as that’s
   how we get pricing data etc from Amazon). It’s also likely then that your server
   would also block other requests as well.
 *  [bestprobiotics](https://wordpress.org/support/users/bestprobiotics/)
 * (@bestprobiotics)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-connect-timed-out/#post-5155843)
 * Hi!
    Thanks for debugging code. After i placed code and sent request no errors
   were showing, then i check EasyAzon plugin again and it works now. I don’t get
   this error anymore and plugin functioning without problem.
 * I think the problem with hosting or Amazon API. Both of website hosted on one
   hosting, but different IP addresses and both of them working with EasyAzon now.
 *  [boostwpcom](https://wordpress.org/support/users/boostwpcom/)
 * (@boostwpcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-connect-timed-out/#post-5155852)
 * Glad to hear so.

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

The topic ‘Error: connect() timed out!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easyazon_bababa.svg)
 * [EasyAzon - Amazon Associates Affiliate Plugin](https://wordpress.org/plugins/easyazon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easyazon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easyazon/)
 * [Active Topics](https://wordpress.org/support/plugin/easyazon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easyazon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easyazon/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [boostwpcom](https://wordpress.org/support/users/boostwpcom/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-connect-timed-out/#post-5155852)
 * Status: resolved