• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Plesk Migration stopped working API issue

Alaa Mansour

Basic Pleskian
Hello,

I was doing the migration, then suddenly I receive this:

Failed to connect to target Plesk server by Plesk API: Plesk error [1006]: Access to API is disabled for xx.xx.xx.xx

I have added the IP through plesk db:
mysql> insert into cp_access (type, netaddr, netmask) values ('deny' , 'xx.xx.xx.xx', '255.255.255.255');

I have added it also to fail2ban trusted IPs

I have added it also to Panel.ini under [api]
[api]
enabled = on
allowedIPs = xx.xx.xx.xx

what else?

PS: today I have configured ssl ciphers and TLS, but I issue plesk repair installation
 
I have managed to resolve the issue by putting the IP of the both servers inside [api] in both Panel.ini
and both server's IP inside IP Access Restriction Management.
I don't know why do I need to place the IP of itself. but now its working
 
Back
Top