Site logo

[Resolved] WordPress 5.9.2 not accepting GP license key

Home Forums Support [Resolved] WordPress 5.9.2 not accepting GP license key

Home Forums Support WordPress 5.9.2 not accepting GP license key

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2151489
    Patricia

    I’ve just created a new WordPress installation using WP v 5.9.2. I have installed GeneratePress theme and GP premium plugin (v 2.1.2). The Appearance > GeneratePress area will not accept my license key. I get this error: cURL error 7:

    Although the Activate/Deactivate options are available, the only thing that displays in Customize is Widgets. I cannot control layout, etc.

    The only plugin I’ve installed is Classic Editor. This is a clean / new WordPress installation, with nothing imported. My GP license is active.

    I’ve gone through the steps from here: https://docs.generatepress.com/article/403-forbidden-when-activating-license-key/ I’ve also updated PHP to 7.4.

    I’ve put the debug.log info below

    Thanks!!

    12-Mar-2022 00:28:56 UTC] —— Start GeneratePress license key debugging ——
    [12-Mar-2022 00:28:56 UTC] — HTTP response or WP_Error object. —
    [12-Mar-2022 00:28:56 UTC] WP_Error Object
    (
    [errors] => Array
    (
    [http_request_failed] => Array
    (
    [0] => cURL error 7:
    )

    )

    [error_data] => Array
    (
    )

    [additional_data:protected] => Array
    (
    )

    )

    [12-Mar-2022 00:28:56 UTC] — HTTP transport used. —
    [12-Mar-2022 00:28:56 UTC] Requests
    [12-Mar-2022 00:28:56 UTC] — HTTP request arguments. —
    [12-Mar-2022 00:28:56 UTC] Array
    (
    [method] => POST
    [timeout] => 30
    [redirection] => 5
    [httpversion] => 1.0
    [user-agent] => WordPress/5.9.2; http://closertoearth.org
    [reject_unsafe_urls] =>
    [blocking] => 1
    [headers] => Array
    (
    )

    [cookies] => Array
    (
    )

    [body] => Array
    (
    [edd_action] => activate_license
    [license] => **
    [item_name] => GP%20Premium
    [url] => http://closertoearth.org
    )

    [compress] =>
    [decompress] => 1
    [sslverify] =>
    [sslcertificates] => /home/www/closertoearth.org/wp-includes/certificates/ca-bundle.crt
    [stream] =>
    [filename] =>
    [limit_response_size] =>
    [_redirection] => 5
    )

    #2151492
    Leo
    Staff
    Customer Support

    Hi there,

    Can you give Tom’s suggestion here a shot?
    https://generatepress.com/forums/topic/curl-error-7-couldnt-connect-to-host-error/#post-723427

    Let me know 🙂

    #2152179
    Patricia

    From the hosting company: In order to solve the issue you need to allow their IP from the control panel

    IP number to allow?

    Thanks!

    #2152536
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Just to confirm – are you using the Secondary API?: https://docs.generatepress.com/article/403-forbidden-when-activating-license-key/#secondary-api

    That method bypasses our server IP completely, so it shouldn’t be an issue.

    Let me know 🙂

    #2153154
    Patricia

    Yes, I have the Secondary API installed as a Code Snippet. I have two other GP sites working correctly in this same hosting account and I’m baffled as to what might be causing this problem. The only difference is this one is WP 5.9.2.

    #2153253
    Patricia

    Trying to troubleshoot this issue, I installed another fresh WP 5.9.2 installation under the same hosting account but associated with another domain name. GP and GP premium work perfectly. The domain name is making the difference? Does this mean your hosting service is blocking the closertoearth.org domain? The IP for this hosting account is 198.23.48.130 in case that is helpful.

    #2153257
    Tom
    Lead Developer
    Lead Developer

    All blocks are IP-based, so it wouldn’t be the domain name.

    What’s the exact error you’re getting? And when exactly does it occur?

    Let me know 🙂

    #2153260
    Patricia

    I see cURL 7 error: when I enter the license key on the Appearance / GeneratePress modules page. Would you like a login?

    #2153261
    Patricia

    I’ve included an admin login…

    #2153433
    Tom
    Lead Developer
    Lead Developer

    OK, so I would:

    1. Remove that “premium” snippet, as the issue isn’t with our server.
    2. Tell your hosting you’re receiving that error, and that you’re trying to connect with generatepress.com.

    The fact the secondary API didn’t work tells me they have a firewall preventing all outgoing requests, as generatepress.com and api.generatepress.com (the secondary API) are two separate servers with different IP addresses. If your website is rejecting both, I doubt it’s specific to an IP.

    Hopefully they’re able to resolve it for you. Who are you hosted with?

    #2155688
    Patricia

    After all the troubleshooting, I changed to a different theme and had the same problem. So I reinstalled WordPress core files and now it works the way it should. Apparently Speedy Mice application installed was buggy. Thanks for the great support!

    #2156981
    Tom
    Lead Developer
    Lead Developer

    Glad it’s working now 🙂

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