Viewing 8 replies - 1 through 8 (of 8 total)
  • Are you receiving an error when installing?

    This is from one of our FAQ documents.

    “We no longer have the concept of “free” API keys. To use the free version of Wordfence, simply install it and use it. No API key installation required.”

    Thread Starter SkInformatica

    (@skinformatica)

    We’re getting the following message on our site since we installed Wordfence:

    “Wordfence could not get an API key from the Wordfence scanning servers when it activated. You can try to fix this by going to the Wordfence “options” page and hitting “Save Changes”. This will cause Wordfence to retry fetching an API key for you. If you keep seeing this error it usually means your WordPress server can’t connect to our scanning servers. You can try asking your WordPress host to allow your WordPress server to connect to noc1.wordfence.com.”

    This is a shared hosting issue by php restrictions in cURL functions, so Wordfence can’t ask for the key to your servers…

    OK. Sounds like you are not able to connect to our server from yours. Try the connectivity test at the bottom of the Options page in Wordfence. Let me know what it says.

    https://docs.wordfence.com/en/Wordfence_options#Click_to_test_connectivity_to_the_Wordfence_API_servers

    Also, you could try “Start all scans remotely” under Options.

    Thanks,
    Brian

    Thread Starter SkInformatica

    (@skinformatica)

    Thank you WFBrian. This is the result of connectivity test:

    Wordfence connectivity tester

    DNS lookup for noc1.wordfence.com returns: 69.46.36.8

    STARTING CURL http CONNECTION TEST….
    Curl connectivity test failed with response:

    Curl HTTP status: 0
    Curl error code: 0
    Curl Error:

    STARTING CURL https CONNECTION TEST….
    Curl connectivity test failed with response:

    Curl HTTP status: 0
    Curl error code: 0
    Curl Error:

    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!

    Your site is unable to connect to our servers to scan. You’ll need to check with your hosting company and tell them your site needs to be able to communicate with our server called noc1.wordfence.com on ports 80 and 443.

    I have the same problem and have the same connectivity log. Isn’t there another solution then contacting the host?

    The issue is that your server isn’t allowing the connection out to our server so really the only person that can help you is the person who administers your server. They would need to allow the outbound connection to happen.

    Thanks!
    Brian

    But i have my own server with multiple site running on it. Wordfence is working fine on the other.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can't get API activation key due to hosting restrictions’ is closed to new replies.