Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

More bulletproof licensing system for addons

Grzegorz W. shared this idea 5 years ago
Declined

Hello,

today I had issue with WHMCS loading very slow. I've checked for denial of service attach, MySQL database queries report and then I realised that this looks like a timeout. I had to use Wireshark to find out what is going on. Issue was with accessing license server to one of WHMCS addons which I have installed. Can WHMCS licensing system can be upgraded to have some failsafe time where license can not access addon license server but not cause timeouts for whole WHMCS installation?

Regards

EDIT: There is one more thing. IMHO next to each addon there should be some icon telling that it has accessed licensing server correctly. It took me some time to find which addon is causing timeouts. If there would be some icons for that then it would be a lot easier to react on similar situations in future.

Best Answer
photo

The issue you describe here is being caused because of how third party developers are implementing licensing restrictions into the add-ons they create. Unfortunately aside from more education, there is nothing we can do to change it from our side.

Comments (3)

photo
2

I believe this should be added, although users who use this addon could do this themselves by modifying the license checking code.

I had a problem with this when I was running an addon I created on my own licensing installation. Every page load took forever because it wasn't able to contact the server correctly (I had an issue with the DNS for a long time but didn't know). I thought at first that it was an infinite loop, the license was checking with the server, which in turn would cause it to check, and so on, but it turns out after I fixed my DNS that it was able to work normally.

Either way, this doesn't need to be added by WHMCS directly, as you can easily modify the code to do this with a given time, just Google around for it and look through the source code of the function.

*Edit*

I know I just contradicted myself from the first and third paragraph, but it would be nice for WHMCS to do this themselves so that everyone else doesn't have to do it when they need to.

photo
1

So after one year I've encountered this issue again but this time I couldn't find which addon was timing out my whole WHMCS. Probably no one from WHMCS dev team will ever read this but I just wanted to let anyone knows that this problem could be very annoying in certain situations (I'm using WHMCS from client management and as my whole company website so this problem made my whole website unusable).

photo
1

The issue you describe here is being caused because of how third party developers are implementing licensing restrictions into the add-ons they create. Unfortunately aside from more education, there is nothing we can do to change it from our side.