Hestia API Troubles

Hello,

First time posting here up until now I have been able to troubleshoot things pretty much on my own. I have run into some difficulty lately though when trying to connecting billing software such as Blesta or FOSSBilling to API it says connection refused.

I have white listed the IP, I am using API keys as well. When I try to go to the api through a browser I get this message: Error: data received is null or invalid, check REST API | Hestia Control Panel

When I curl -I the API I receieve this message:

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Mon, 22 May 2023 21:35:16 GMT
Content-Type: text/html
Content-Length: 162
Location: https://server.example.com:8083/api/
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block

I have no idea how this would even happen. One note is I was using the cp template to remove the 8083 from the subdomain, I did try to change the template but receive the same results. I am at a loss here with this one.

Any help or more troubleshooting tips will be greatly appreciated. Thank You.

Hello,

I changed the port it was trying to use from 8083 to 443 and now it works. No idea why but it does so for anyone that might run into this try changing the port number.

This is now solved and thank you for a wonderful panel.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.