Jump to content

License check: error code: 1015


Recommended Posts

Hi! I'm having problems with license checking.

It looks like Cloudflare is rate limiting my requests to license servers, that's crazy!

Any similar experience ?

Testing Connection to 'https://a.licensing.whmcs.com/1.0/test'...
URL resolves to 172.67.4.33 ...
Response Code: 429
Connection Failed!

Raw Output:
error code: 1015
Testing Connection to 'https://b.licensing.whmcs.com/1.0/test'...
URL resolves to 104.22.2.53 ...
Response Code: 429
Connection Failed!

Raw Output:
error code: 1015

 

Link to comment
Share on other sites

$ wget https://f.licensing.whmcs.com:443/
--2024-12-18 12:47:09--  https://f.licensing.whmcs.com/
Resolving f.licensing.whmcs.com (f.licensing.whmcs.com)... 2606:4700:10::6816:335, 2606:4700:10::ac43:421, 2606:4700:10::6816:235, ...
Connecting to f.licensing.whmcs.com (f.licensing.whmcs.com)|2606:4700:10::6816:335|:443... connected.
HTTP request sent, awaiting response... 429 Too Many Requests
2024-12-18 12:47:09 ERROR 429: Too Many Requests.

They definitely changed something. We're seeing this as well. Same goes for all their license servers from a-f.licensing.whmcs.com.
This is a mess. We have some unusable WHMCS installations and they blame us, lol.

Link to comment
Share on other sites

Since I don't see it on older installations, I'd have to guess that they possibly (accidentally?) changed the license routine to check on more than a daily/weekly schedule, assuming it's run/triggered via the "every minute" cron. 

Link to comment
Share on other sites

I think we might've solved our issue.

WHMCS told us that many requests came from domains that weren't allowed (like mail.domain.com instead of domain.com) and requests directly to the WHMCS installation's IP address. Since these are invalid, the request to the WHMCS license server fails - and when enough of these requests has failed, requests from our IP are temporarily blocked. This causes slow load times and the license error.

In each of our WHMCS installations  .htaccess, we've just created a RewriteRule that redirects traffic to the domains that are allowed for WHMCS.

Link to comment
Share on other sites

It seems that some Cloudflare IPs are being blocked.

172.67.4.33 is a Cloudflare Ip

If you’re using Cloudflare, follow these steps:

  1. Disable Cloudflare Proxy:
    Go to your Cloudflare settings for your domain and turn off the proxy (set it to "DNS only" mode). This will allow your server’s real IP to make the request directly.

  2. Update Your WHMCS License:
    Access the following URL to refresh your license:
    https://yourdomain/admin/login.php?conntest=1

This should resolve the connection issue with the licensing server.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated