Symptoms

When accessing webmail.domain.tld:2096 to access webmail using a service subdomains it will return 502 error.

Cause

Possible causes are the recent updates of our apache and ea-nginx packages.

easyapache-4-change-log-25

We have opened an internal case with ID: CPANEL-53948  and our developers are looking into it as we speak.

Make sure to follow this article for any updates on the resolution.

Resolution

The issue is resolved in the following versions:

  • 11.136.0.24 and higher
  • 11.134.0.41 and higher
  • 11.126.0.74 and higher
  • 11.110.0.131 and higher

Apply the workaround below if updates cannot be performed:

  1. Log in to WHM as root
  2. Navigate to Home / Service Configuration / Apache Configuration / Include Editor.
  3. Under Pre VirtualHost Include, select the All Apache versions.
  4. Add the below code

    SetEnvIf Host "^(webmail|cpanel|whm|webdisk)\." proxy-nokeepalive=1 
    SetEnvIf Host "^(webmail|cpanel|whm|webdisk)\." proxy-initial-not-pooled=1

  5. Click Update.
  6. Click Restart Apache.