cURL error 56: Received HTTP code 403 from proxy after CONNECT

Hi,

i receive this message while attempting to validate my license.
Now i’m wor in free hosting env before install my site on internal web server…
can i contact hosting support but… What should I tell him?

Hi There,

Thanks for writing in! Could you please try adding the following code into your child theme’s functions.php file and validate your site again.

add_filter('http_request_args', 'bal_http_request_args', 100, 1);
function bal_http_request_args($r) //called on line 237
{
	$r['timeout'] = 15;
	return $r;
}
 
add_action('http_api_curl', 'bal_http_api_curl', 100, 1);
function bal_http_api_curl($handle) //called on line 1315
{
	curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 15 );
	curl_setopt( $handle, CURLOPT_TIMEOUT, 15 );
}

Let us know how it goes.
Thanks!

Hi,
i try this solution… Anything change. The same error appear but without validation i can’t start to configure fully functional theme…

Thanks

Hi There,

In that case, please try following our troubleshooting guide here (https://theme.co/apex/forum/t/troubleshooting-validation-connection-issues/201).

If that doesn’t help, please provide us with your WordPress credentials along with your FTP information to investigate this issue further. Make sure to use secure note option below your posts to submit those information.

Thanks!

I try this as soon as possible, thanks

Can i know trh url for the validation? Hosting cPanel let’s me edit a white-list of secure url…
Maybe this is the problem…?
Edit: Find it! [community.theme.co]

Thank you very much

Hi There,

The new validation URL will be as follows.
https://theme.co/apex/api-v2/validate/

Please make sure that you’re fully updated before validating your site. You can check the latest version numbers from here (https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195).

Thanks!

Hi, after adding in whitelist the url, a new message is displayed:
We’ve checked the code, but it doesn’t appear to be an Cornerstone purchase code or Themeco license. Please double check the code and try again.

I copy and paste The code license from “My licenses” in Apex portal.

Thanks

Hi There,

Did you make sure that you have the latest X theme (6.0.4) and Cornerstone (3.0.4) before validating your site? If you’re using incompatible older versions, our validation process will not be initiated correctly.

For further assistance, please provide us with your WordPress credentials along with your purchase key in a secure note.

Thanks!

hi,
after many attempts the acctivation go fine
thanks

Glad to hear that the problem is resolved now. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.