PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Mailchimp connection problem

  1. Hola,
    I recently installed Gravity Forms, added the MailChimp add-on, but when I tried to add any feeds, this came up: http://i.imgur.com/xoGfrdF.jpg
    Could not connect (ERR 110: Connection timed out)
    What could cause this?
    Thanks

    Posted 11 years ago on Friday March 22, 2013 | Permalink
  2. There is some sort of communication problem between your web server and the Mailchimp server. If the issue continues, you should look for error logs on the server to see what sort of communication error there might be which could be causing this.

    If you're not able to find any errors logged in that way, I can send you a logging add-on which may help pinpoint the issue. If you're like the logging add-on, please send an email to chris@rocketgenius.com and reference this topic.

    Posted 11 years ago on Saturday March 23, 2013 | Permalink
  3. I've installed the logger, but the message didn't became clearer. Could you guess why our server can't connect? Is there a setting or configuration that could hinder the connection?

    Or... is it simply that the API key is somehow wrong? I've created multiple keys and got the same response.

    2013-03-25 14:37:33 - DEBUG --> Validating login for API Info for key <KEY>
    2013-03-25 14:38:03 - ERROR --> Login valid: false. Error -99 - Could not connect (ERR 110: Connection timed out)
    Posted 11 years ago on Monday March 25, 2013 | Permalink
  4. There is no setting in the plugin which can affect this. It does not look like there was an answer indicating that the API key was wrong. I still believe there is something on your server preventing communication with the Mailchimp server.

    I would check with your host to see if there is anything logged. The Mailchimp API requires the PHP function fsockopen. Can you see if the host has that enabled in your installation?

    You can do a quick test to see if the function is available. Insert this code into a file called "fso.php" and install it on your server at http://example.com/fso.php (use your URL instead of example.com). Pull that up in a browser and see if fsockopen is available for your use or not.

    [php]
    <?php
    if(function_exists('fsockopen'))
        echo "fsockopen function is enabled";
    else
        echo "fsockopen is not enabled";
    ?>
    Posted 11 years ago on Monday March 25, 2013 | Permalink
  5. The function is enabled. I'll check with the host, and post if I get some results. Thanks!

    Posted 11 years ago on Tuesday March 26, 2013 | Permalink
  6. Please let us know if you need more help.

    Posted 11 years ago on Tuesday March 26, 2013 | Permalink