Symptoms
Domain in OA Plesk VPS shown in Hosted Domains
has In Sync
status value - No.
Corresponding failed task in OA:
Task ID 20862614
Task name Plesk in VPS 6903 : configure zones for 'domain.tld'
Task description Plesk in VPS 6903 : configure zones for 'domain.tld'
Subscription ID 1013096
Queue name vps_operations_6903
Method name configureDomainZone
Execution status Failed
Start not earlier than May-24-2015 14:42
Finished May-24-2015 14:42
Output https://10.10.10.10:8443/enterprise/control/agent.php : protocol misconfiguration
After enabling Plesk DEBUG log level, there are the following API request and response
[2015-05-24 14:42:43] DEBUG [api-rpc] Incoming API-RPC request [3002bae7467e83c9f4654ebbaca8dec5]:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<packet version="1.4.0.0">
<dns>
<get_rec>
<filter>
<domain_id>14</domain_id>
</filter>
</get_rec>
</dns>
</packet>
...
[2015-05-24 14:42:43] DEBUG [api-rpc] API-RPC response [3002bae7467e83c9f4654ebbaca8dec5]:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.4.0.0">
<dns>
<get_rec/>
</dns>
</packet>
After enabling TRACE debug log level in OA, the following lines are displayed:
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: [task:20948341 PleskBridge::ServiceGateway::passControl] logPleskPacketRequest
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <packet version="1.4.0.0">
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <dns>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <get_rec>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <filter>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <domain_id>56</domain_id>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: </filter>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: </get_rec>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: </dns>
Nov 18 08:30:55 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: </packet>
Nov 18 08:31:05 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: [task:20948341 PleskBridge::ServiceGateway::passControl] logPleskPacketResponse
Nov 18 08:31:05 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <?xml version="1.0" encoding="UTF-8"?>
Nov 18 08:31:05 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: <packet version="1.4.0.0"><dns><get_rec></get_rec></dns></packet>
Nov 18 08:31:05 osscore : TRC [task:20948341:677152 1:21456:b2b91b90 PleskBridge]: [task:20948341 traverseTree] key = /packet@version, value = 1.4.0.0
Nov 18 08:31:05 osscore : DBG [task:20948341:677152 1:21456:b2b91b90 lib]: [task:20948341 PleskBridge::PacketParser::returnNodeValue] {module_id="PleskBridge"; code="4"} https://46.41.129.251:8443/enterprise/control/agent.php : protocol misconfiguration
Cause
The task fails due to missing DNS-records in Plesk for the affected domain.
Resolution
Restore the DNS-zone for the domain using Plesk GUI at
Home > Subscriptions > domain.tld > Websites & Domains > domain.tld > DNS Settings > Restore Defaults