This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CWP API / 503 Service Unavailable on Creating Account With Api
« on: December 13, 2019, 06:41:56 PM »
Hello, I have started a project to create an WHMCS like system with CWP Api, so I was testing the system with my main domain and tried Account > Add function.
Simply, I sent the necessary values as mentioned in
https://docs.control-webpanel.com/docs/developer-tools/api-manager/functions/function-api-account/add
When I curl_exec($ch);
The account is being created but the php file returns with "503 Service Unavailable" code.
I could'nt find what is wrong.
Web Server Conf:
Nginx & Varnish & Apache
Nginx: 80,443
Varnish: 82
Apache: 8181,8443
Domain Settings:
Php:php-fpm
Version Php:7.3
Apache:Yes
Apache Version:2.4
Nginx:Not
Version Nginx:s/n
max_execution_time=120
Simply, I sent the necessary values as mentioned in
https://docs.control-webpanel.com/docs/developer-tools/api-manager/functions/function-api-account/add
When I curl_exec($ch);
The account is being created but the php file returns with "503 Service Unavailable" code.
I could'nt find what is wrong.
Web Server Conf:
Nginx & Varnish & Apache
Nginx: 80,443
Varnish: 82
Apache: 8181,8443
Domain Settings:
Php:php-fpm
Version Php:7.3
Apache:Yes
Apache Version:2.4
Nginx:Not
Version Nginx:s/n
max_execution_time=120
Pages: [1]