The FOSSBilling Forum Support Support - Setup & Configuration DirectAdmin - Activate Hosting

DirectAdmin - Activate Hosting

DirectAdmin - Activate Hosting

 
  • 0 Vote(s) - 0 Average
 
Turkdale
Junior Member

4
08-05-2025, 05:33 PM #1
Hello people,
I am testing FossBilling out as I liked the interface and the usability of the software a lot.
Until now everything is clear but I have a small problem: When I order and I try to activate the order/hosting, I have the following error:
Order could not be activated due to error: HttpClientException: Idle timeout reached for "https://XXX:2222/CMD_API_ACCOUNT_USER?action=create&add=Submit&username=XXX&email=XXX&passwd=XXX&passwd2=XXX&domain=test.com&ip=XXX&notify=no&package=Hosting-3GB".

This had something to do with the IP restrictions of my Login Keys as I tought, so I removed the IPv6 restriction and now the next problem did pop up:
Failed to API_ACCOUNT_USER on the DirectAdmin server, check the error logs for further details

In DirectAdmin I see the following things if I go to the logs of the login keys:
https://ibb.co/cSmMVQSV

Is there anything that I am missing?

PS. The login key does have ALL the permissions, later I will restrict the not needed permissions.
Edited 08-05-2025, 05:36 PM by Turkdale.
Turkdale
08-05-2025, 05:33 PM #1

Hello people,
I am testing FossBilling out as I liked the interface and the usability of the software a lot.
Until now everything is clear but I have a small problem: When I order and I try to activate the order/hosting, I have the following error:
Order could not be activated due to error: HttpClientException: Idle timeout reached for "https://XXX:2222/CMD_API_ACCOUNT_USER?action=create&add=Submit&username=XXX&email=XXX&passwd=XXX&passwd2=XXX&domain=test.com&ip=XXX&notify=no&package=Hosting-3GB".

This had something to do with the IP restrictions of my Login Keys as I tought, so I removed the IPv6 restriction and now the next problem did pop up:
Failed to API_ACCOUNT_USER on the DirectAdmin server, check the error logs for further details

In DirectAdmin I see the following things if I go to the logs of the login keys:
https://ibb.co/cSmMVQSV

Is there anything that I am missing?

PS. The login key does have ALL the permissions, later I will restrict the not needed permissions.

Turkdale
Junior Member

4
08-05-2025, 07:39 PM #2
UPDATE 05-08-2025 @ 22:38:
I just checked my DirectAdmin server and I see that it has created the user but it doesn't sees this in FossBilling.
Just wanted to add this here, maybe it can be intresting to use for debugging.
Edited 08-05-2025, 07:39 PM by Turkdale.
Turkdale
08-05-2025, 07:39 PM #2

UPDATE 05-08-2025 @ 22:38:
I just checked my DirectAdmin server and I see that it has created the user but it doesn't sees this in FossBilling.
Just wanted to add this here, maybe it can be intresting to use for debugging.

BelleNottelling
Administrator

83
08-05-2025, 09:13 PM #3
Can you please check the error log in FOSSBilling?

It can be found in this path: 
Code:

data/log/php_error.log

(btw, the other log you attached won't load, but you should be able to just attach it to the post here on the forum)
BelleNottelling
08-05-2025, 09:13 PM #3

Can you please check the error log in FOSSBilling?

It can be found in this path: 

Code:

data/log/php_error.log

(btw, the other log you attached won't load, but you should be able to just attach it to the post here on the forum)

Turkdale
Junior Member

4
08-05-2025, 11:53 PM #4
Error Log from PHP_Error.log:
Code:

[05-Aug-2025 19:31:40 UTC] Failed to API_ACCOUNT_USER on the DirectAdmin server, check the error logs for further details 0
[05-Aug-2025 19:36:55 UTC] PHP Warning:  Object of class Server_Exception could not be converted to int in /home/XXX/domains/XXX/public_html/vendor/gabordemooij/redbean/RedBeanPHP/QueryWriter/AQueryWriter.php on line 253
[05-Aug-2025 19:36:55 UTC] HttpClientException: Idle timeout reached for "https://XXX:2222/CMD_API_ACCOUNT_USER?action=create&add=Submit&username=XXX&email=XXX&passwd=XXX&passwd2=XXX&domain=deneme.com&ip=XXX&notify=no&package=Hosting-3GB". 0

Here is the image of DirectAdmin from the last post:
[Image: Screenshot-2025-08-05-203224.png]
Edited 08-05-2025, 11:55 PM by Turkdale.
Turkdale
08-05-2025, 11:53 PM #4

Error Log from PHP_Error.log:

Code:

[05-Aug-2025 19:31:40 UTC] Failed to API_ACCOUNT_USER on the DirectAdmin server, check the error logs for further details 0
[05-Aug-2025 19:36:55 UTC] PHP Warning:  Object of class Server_Exception could not be converted to int in /home/XXX/domains/XXX/public_html/vendor/gabordemooij/redbean/RedBeanPHP/QueryWriter/AQueryWriter.php on line 253
[05-Aug-2025 19:36:55 UTC] HttpClientException: Idle timeout reached for "https://XXX:2222/CMD_API_ACCOUNT_USER?action=create&add=Submit&username=XXX&email=XXX&passwd=XXX&passwd2=XXX&domain=deneme.com&ip=XXX&notify=no&package=Hosting-3GB". 0

Here is the image of DirectAdmin from the last post:
[Image: Screenshot-2025-08-05-203224.png]

BelleNottelling
Administrator

83
08-06-2025, 06:36 PM #5
Seems odd that you're still seeing an idle timeout even though DirectAdmin is creating the user and it appears to be working correctly.
I seem to recall DirectAdmin being quite locked down by default in it's firewall, I wonder if there's a possibility of it blocking the outgoing response back to FOSSBilling?
BelleNottelling
08-06-2025, 06:36 PM #5

Seems odd that you're still seeing an idle timeout even though DirectAdmin is creating the user and it appears to be working correctly.
I seem to recall DirectAdmin being quite locked down by default in it's firewall, I wonder if there's a possibility of it blocking the outgoing response back to FOSSBilling?

 
  • 0 Vote(s) - 0 Average
Recently Browsing
 2 Guest(s)
Recently Browsing
 2 Guest(s)