• Hi, I downloaded the Wordfence plugin, but my website can’t connect to get an API key, I get this error message:

    Your options have been saved, but we encountered a problem. You left your API key blank, so we tried to get you a free API key from the Wordfence servers. However we encountered a problem fetching the free key: We received an error response when trying to contact the Wordfence scanning servers. The HTTP status code was [0]

    I’ve tried uninstalling and re-installing, going into the options and hitting save changes, and I’ve contacted my host too.

    I ran a connectivity test:

    STARTING CURL http CONNECTION TEST….
    Curl connectivity test passed.

    STARTING CURL https CONNECTION TEST….
    Curl connectivity test passed.

    Starting wp_remote_post() test
    wp_remote_post() test to noc1.wordfence.com passed!

    Starting wp_remote_post() test
    wp_remote_post() test to noc1.wordfence.com passed!

    I’d be grateful if someone can help me, I am not very technical with web stuff, so please be kind ??

    https://www.ads-software.com/plugins/wordfence/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Email me at tim [at] wordfence.com and reference this post url. Also mention your forum username.

    tim

    As near as I can figure something is blocking the curl call out for the key. Please contact your hosting provider and ask that they check and see if cUrl is installed and enabled, if calls outbound on port 80 are blocked, if some sort of firewall is in place, that sort of thing.

    tim

    Thread Starter kumatzu

    (@kumatzu)

    Ok, I will try that, thank you for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to get API key’ is closed to new replies.