We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
All API calls return empty page
All API calls return empty page
Hello,
I am trying to write script to manage ny VestaCP pannels but all API return blank page? How to troubleshoot this? DO i need to enable specialy API calls?
thanks
Petr
I am trying to write script to manage ny VestaCP pannels but all API return blank page? How to troubleshoot this? DO i need to enable specialy API calls?
thanks
Petr
Re: All API calls return empty page
Can you show examples may be?
Re: All API calls return empty page
Do you have curl_exec enabled in your PHP config?
Re: All API calls return empty page
This happens to me as well on a brand new install on CentOS 6.6. I have a valid SSL.
WHMCS module fails with error: Order Accept Encountered Problems
Log shows: Module Create Failed - Service ID: 1 - Error:
Module log shows request : https://cp.xceedit.com:8083/api/user=ad ... n&arg6=Doe
When I try that url directly, I get a "not found" error. I then try this url and get a blank page:
https://cp.xceedit.com:8083/api/?user=a ... n&arg6=Doe
No matter what I try, I get a blank page.
Any idea what I can do to debug?
WHMCS module fails with error: Order Accept Encountered Problems
Log shows: Module Create Failed - Service ID: 1 - Error:
Module log shows request : https://cp.xceedit.com:8083/api/user=ad ... n&arg6=Doe
When I try that url directly, I get a "not found" error. I then try this url and get a blank page:
https://cp.xceedit.com:8083/api/?user=a ... n&arg6=Doe
No matter what I try, I get a blank page.
Any idea what I can do to debug?
Re: All API calls return empty page
I am experiencing this same issue. I have the control panel installed and every time I make a request to it my curl request just hangs. I have gone through and tried to debug it but have come up short. I am using WHMCS and the recommended plugins. Any thoughts?
Edit
So for anyone else that has this issue there is nothing wrong with the API. Most likely your servers firewall is blocking the request from going through. Once I allowed all of my servers to communicate with each other with no blocking, then it started to work just fine.
Edit
So for anyone else that has this issue there is nothing wrong with the API. Most likely your servers firewall is blocking the request from going through. Once I allowed all of my servers to communicate with each other with no blocking, then it started to work just fine.
Re: All API calls return empty page
First steps to make good docs for all of us, guys! ;-)
API documentation and examples:
http://vestacp.com/docs/API.pdf
CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt
API documentation and examples:
http://vestacp.com/docs/API.pdf
CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt