On the Legacy api portal we are getting 502 Proxy error after logging in , this only occurs on the secondary portal server after configuring the failover .
The problem occurs after logging on to the secondary portal for the second time the first time seems to work or after doing some actions .
Also the catalina.out is filled with the following error when the error occurs
09/01 03:48:05.414 ERROR (ReplicationThread:) - Cannot get a connection, pool error Timeout waiting for idle object
09/01 03:48:05.414 ERROR (ReplicationThread:) - [general] -- Failed to persist change for replication
Release : 3.5
Component : API PORTAL
To resolve this please do the following on the secondary portal server.
open the jforum-custom.conf file and edit the following line
change it to
Restart the secondary portal