When accessing Webmail, you might get the following Proxy Error message.
502: Proxy Error
502 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /webmail/api/jsonrpc/.
Reason: Error reading from remote server
This article provides information on how to resolve this issue.
You should configure Apache Reverse Proxy Server in front of Kerio Connect.
- Log in to your Kerio Connect server and stop Kerio Connect service.
- Navigate to Kerio Connect installation folder.
Default folders are as follows:
- Open the
mailserver.cfgfile, and modify the
<table name="Webmail">, as shown below.
Note: The default value is 300.
- Save the changes.
- Start Kerio Connect.
Webmail can be accessed without receiving the Proxy Error message.
LongPollTimeout variable indicates the timeout period in seconds, which is used for requests utilizing the Long Polling technique. Webmail client needs to instantly get updates about emails, calendar actions, etc., without page reload. Thus, Long Polling technique is used to ensure that.