Support » Plugin: Easy Forms for Mailchimp » cURL error 7

  • Resolved sashunator

    (@sashunator)


    Hello! Subscribe form stopped working. When someone try to subscribe for our news, this error appears.

    cURL error 7: Failed to connect to us20.api.mailchimp.com port 443: Connection timed out

    Earlier everething was OK.

    Alex

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • sashunator

    (@sashunator)

    Answer of our hosting:

    When checking we see the following:

    url -vvv us20.api.mailchimp.com
    * About to connect() to us20.api.mailchimp.com port 80 (#0)
    * Trying 23.32.89.173… Connection timed out
    * couldn’t connect to host
    * Closing connection #0
    curl: (7) couldn’t connect to host

    IP 23.32.89.173 is blocked by https://blocklist.rkn.gov.ru/#anchor

    What should we do?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Alex,

    Apologies I missed your original post. Thanks for checking the cURL call directly.

    This doesn’t look good. You’re being blocked but not by Mailchimp’s service (they use Akamai).

    This was working in the past? Did your IP address change? Are you on a shared hosted environment? Do you know if you can request a new IP address from your hosting company? Do you have any support with your hosting company where you could ask them why you’re no longer able to access Mailchimp’s API?

    Also, do you have any other websites on different hosts/IPs? Have you tried connecting your Mailchimp API key there just to see what happens?

    Let me know.

    Thank you,
    Kevin.

    sashunator

    (@sashunator)

    Can you change this IP because of blocking?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Alex,

    I’m sorry. I have no control over your server or your IP address. These are things you need to ask your hosting company.

    Something seems off to me though. Do you have access to any other WordPress sites (or even a local installation) where you could test your API key/connectivity to Mailchimp?

    sashunator

    (@sashunator)

    IP 23.32.89.173 is blocked on territory of Russia by Roskomnadzor (THE FEDERAL SERVICE FOR SUPERVISION OF COMMUNICATIONS, INFORMATION TECHNOLOGY, AND MASS MEDIA)
    http://eng.rkn.gov.ru/

    You can check it here https://blocklist.rkn.gov.ru/

    So why I was asking can you change this IP because of blocking?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    That’s your IP address, right? Do you know why you’re being blocked?

    sashunator

    (@sashunator)

    No, it’s not our IP. I thought this IP is using by your plugin. Or it is using by Mailchimp?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Oh, my apologies, I misunderstood the cURL log.

    Our plugin doesn’t have an IP – everything related to our plugin is on your IP.

    I don’t think that’s Mailchimp’s IP either – when I ping Mailchimp’s domain, I am getting the following:

    ping us20.api.mailchimp.com
    Pinging e230.x.akamaiedge.net [23.48.44.31] with 32 bytes of data:
    Reply from 23.48.44.31: bytes=32 time=31ms TTL=55
    Yui

    (@fierevere)

    ru.wordpress.org team, ru_RU support & translation

    @sashunator, try asking your hosting provider to

    1. check their /etc/hosts if they have us20.api.mailchimp.com entry
    if they have – they should delete it or change

    2. 23.32.89.173 is blocked
    But this host can resolve to:
    2.17.175.78
    104.111.228.170
    which are not blocked.
    Probably you can ask your hoster to add those IPs for their /etc/hosts on server
    (Yes, this is bad solution, but it will efficiently disable RoundRobin DNS and use static same and not locked IP)
    104.111.228.170 us20.api.mailchimp.com
    GoodLuck

    sashunator

    (@sashunator)

    @yikesitskevin we’ve recieved Mailchimp answer:

    It looks like that IP may be associated with an intermediary server that the form is interacting with before the API requests get sent to us, so that may be causing the problem.

    I’ve checked this IP:

    IP: 23.32.89.173
    Decimal: 387996077
    Hostname: a23-32-89-173.deploy.static.akamaitechnologies.com
    ASN: 16625
    ISP: Akamai Technologies
    Organization: Akamai Technologies

    It’s CDN service Akamai.

    @fierevere our hosting answer:

    As part of the virtual hosting, unfortunately, this is not possible (В рамках виртуального хостинга, к сожалению, сделать это невозможно)

    • This reply was modified 4 months ago by  sashunator.
    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Akamai is a service that Mailchimp uses to detect/block spam. It makes sense that API requests would hit this intermediate service before going to Mailchimp.

    However, it doesn’t make sense that Akamai would be blocked. Akamai is a big company that a lot of API services depend on for detection/blocking.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hello @sashunator,

    Just checking in.

    Please let us know if you still need help with this issue.

    Thank you!
    -Tracy

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hello @sashunator,

    We haven’t heard back from you in awhile so I am going to close out this ticket.

    If you need more help, please reopen it and we will be happy to help you.

    Thank you!
    -Tracy

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.