Error synchronizing PBAS DNS with Plesk 12

Refers to:

  • Plesk 12.0 for Windows

Created:

2016-11-16 13:16:24 UTC

Modified:

2016-12-21 20:20:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error synchronizing PBAS DNS with Plesk 12

Symptoms

The following error appears upon an attempt to get DNS records via Plesk API:

Composer error: Response is invalid. Error in line 2: Element 'type': [facet 'enumeration'] The value 'ns' is not an element of the set {'A', 'CNAME', 'PTR', 'MX', 'NS', 'TXT', 'SOA', 'AXFR', 'SRV', 'AAAA'}.

The following error appears in PBAS when domain is synchronizing:

Plesk Transport; Failed to valide XML response from Plesk node: unknown-25a04f10:0: Schemas validity error : Element 'type': [facet 'enumeration'] The value 'ns' is not an element of the set {'A', 'CNAME', 'PTR', 'MX', 'NS', 'TXT', 'SOA', 'AXFR', 'SRV', 'AAAA'}.

Cause

Such behavior is considered to be a software issue.

Resolution

  1. Download the hot-fix file;

  2. Backup current version of the file C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\api-rpc\\AbstractAgentDNS.php ;

  3. Put the hot-fix file 'AbstractAgentDNS.php' in the folder C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\api-rpc\\ .

Have more questions? Submit a request
Please sign in to leave a comment.