• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Plesk API Apache Restart

Status
Not open for further replies.

Rob123

New Pleskian
I'm using PHP cURL with the Plesk API to dynamically create Subscriptions. The problem I'm having is that the Apache server tends to reset before the response is returned, ultimately interrupting the connection.

I found a Plesk setting to define the Apache restart interval. I set it to 120 seconds, which I thought solved the issue, but I'm still having unreliable connection issues.

The request to create/remove a subscription always completes, but it's the response that I'm struggling to have returned.

Might there be another cause for this problem? Any advice is appreciated. Thanks!
 
Status
Not open for further replies.
Back
Top