Article ID: 129485, created on Sep 22, 2016, last review on Sep 22, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

  1. I am getting An unforeseen error occurred message when trying to access any tab from Plesk Automation Control Panel.

  2. The following errors appear in /var/log/poa.debug.log:

    Connection problem: The requested URL returned error: 502
    
  3. In /usr/local/psa/admin/logs/panel.log (on PA Management node) with DEBUG enabled:

    ERR (3)  [panel]: The unexpected HTTP code '502' was received on the HTTP request to the agent at 'https://192.0.2.2:8443/agent.cgi'.
    

Cause

502 Bad Gateway error indicates that the issue is caused by a connectivity issue between Management Node and the Service Node with IP 192.0.2.2

Resolution

Restart the pem service on the Service Node (192.0.2.2):

# service pem restart

Search Words

The unexpected HTTP code '502'

delete dns zone fails

The unexpected HTTP code '502' was received on the HTTP request to the agent at 'https://10.11.12.41:8443/agent.cgi'.

An unforeseen error occurred

execution failed. Connection problem: The requested URL returned error: 502

502 Bad Gateway

Unforeseen error occured

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF