• Resolved Zeljko Jagust

    (@zjagust)


    Hello,

    I have the following option active in my wp-config.php:
    define( ‘WP_HTTP_BLOCK_EXTERNAL’, true );
    followed by the list of allowed domain names for defined in:
    define( ‘WP_ACCESSIBLE_HOSTS’ … );

    I have entered mailgun.com, *.mailgun.com, mailgun.org, *.mailgun.org, mailgun.net,api.mailgun.net,*.api.mailgun.net and none of those seem to work. I’m keep getting the same error message:
    Mailgun HTTP API Test Failure; status “User has blocked requests through HTTP.”

    When I set WP_HTTP_BLOCK_EXTERNAL to false and comment WP_ACCESSIBLE_HOSTS, then test is working. Can you please tell me which domains should I allow to make this work. Thank you in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter Zeljko Jagust

    (@zjagust)

    I figured the issue. I’ve set up my custom domain in US region, while I configured my Mailgun plugin to use EU region. As soon as I set the correct region in WP plugin, it started to work. I apologize for raising this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Mailgun API Test Failure’ is closed to new replies.