FAQ - Web Server behind a Proxy - License

Web Server behind a Proxy - License

26.10.2021 1663


We had a couple of customers with their web server behind a Proxy Server, therefore the call to our license server could not be established.

To fix this issue you will need to modify the license file.

Please open following file: class/class.jaklic.php and find:

curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 30); 
curl_setopt($curl, CURLOPT_TIMEOUT, 30);

replace with:

curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 30); 
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
curl_setopt($curl, CURLOPT_PROXY, "the_proxy_url");
curl_setopt($curl, CURLOPT_PROXYPORT, "the_proxy_port");

You will need to add the correct value for "the_proxy_url" and the "the_proxy_port". Upload the changed file to your server and try again.