- This topic has 11 replies, 3 voices, and was last updated 3 years, 6 months ago by
Tom.
-
AuthorPosts
-
March 11, 2022 at 5:36 pm #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
)March 11, 2022 at 5:41 pm #2151492Leo
StaffCustomer SupportHi there,
Can you give Tom’s suggestion here a shot?
https://generatepress.com/forums/topic/curl-error-7-couldnt-connect-to-host-error/#post-723427Let me know 🙂
March 12, 2022 at 9:00 am #2152179Patricia
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!
March 12, 2022 at 8:20 pm #2152536Tom
Lead DeveloperLead DeveloperHi 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 🙂
March 13, 2022 at 10:24 am #2153154Patricia
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.
March 13, 2022 at 12:36 pm #2153253Patricia
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.
March 13, 2022 at 12:39 pm #2153257Tom
Lead DeveloperLead DeveloperAll 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 🙂
March 13, 2022 at 12:44 pm #2153260Patricia
I see cURL 7 error: when I enter the license key on the Appearance / GeneratePress modules page. Would you like a login?
March 13, 2022 at 12:48 pm #2153261Patricia
I’ve included an admin login…
March 13, 2022 at 7:36 pm #2153433Tom
Lead DeveloperLead DeveloperOK, 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 withgeneratepress.com
.The fact the secondary API didn’t work tells me they have a firewall preventing all outgoing requests, as
generatepress.com
andapi.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?
March 15, 2022 at 9:56 am #2155688Patricia
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!
March 16, 2022 at 9:58 am #2156981Tom
Lead DeveloperLead DeveloperGlad it’s working now 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.