WHMCS 6 DA API module module returns timeout even it create account

wdc

Verified User
Joined
Dec 8, 2013
Messages
79
Hello,
in default WHMCS 6.x DirectAdmin API PHP module, i am seeing

Request:

Response:
Array
(
[error] => 1
[details] => 28 - Operation timed out after 60001 milliseconds with 427 bytes received
)

already for some time. The account is created in DA, but still this error is returned and in WHMCS service appears as not created (Pending) and e-mail with DA account details is thus not sent to the WHMCS user. The /modules/servers/directadmin/directadmin.php file is from December 29, 2016 and is encrypted, though i have found decrypted version. Part of the code near "timeout" is here (passw0rd: da)

Can you please share the newer version of the module or let me know any workaround or can i PM someone with details? Thank You in advance for help.

UPDATE: this issue no longer happen to me, i am unsure if helped to go to General Settings / Security / setting:
Required Password Strength 100
 
Last edited:
WHMCS 6.x is end-of-life for some years now....
Use a supported version
 
i'm having this same issue, but with WHMCS 8... WHMCS support blames DA Creatie account API to be too slow:unsure:

on WHMCS i can test connection to server, login to DA, suspend-terminate an account fas. but the creation part is giving timeout (while it does create the account in the server).

Any ideas?
 
Did you test with a different DA server?
Also if you have the possibility try with another whmcs version,
 
Did you test with a different DA server?
Also if you have the possibility try with another whmcs version,
tied with WHMCS 7.something, and upgraded to latest WHMCS to try current module etc, but problem remains.

Sadly i don't have a second DA Server to try.

oddly enough, test connection works. Login to directadmin works, suspend-terminate account works. its just the create function that takes forever.. 90+seconds.
 
we found the issue (a friend of mine) after one DA Managment company and 2 "da-whmcs experts" couldn't and gave up.

The DA Module of WHMCS have issues when using certain characters on the password lol. was reported to whmcs, but i doubt they will do anything, was the worst support request i have seen (dealing with them).
 
Thanks for letting us know the solution. That's an interesting case and for sure hard to find out!
 
I have the same issue with reseller accounts. Normal user accounts seem fine. But Reseller suspensions timeout as they have multiple accounts. Its strange. cPanel resellers seem fine and DA users are fine. Just DA resellers take forever to suspend and unsuspend.
 
We talking about reseller accounts only? Do you sell reseller hosting? Normal hosting works 100% on our side too. But resellers - not working very well.
Did you have any luck fixing the timeout issue in WHMCS when suspending resellers? I have the same problem too.
 
I think you should increase max excute time in whmcs server. And add your whmcs server ip to whitelist DA server.
I just test supend a reseller with 40 user. it cost 17 seconds to supend all. And 23s to unsupend
 
Back
Top