Presence goes on and off on mobile clients and then the mobile client stays offline

Symptoms

  • Mobile users see their own presence go offline and online and the client disconnects
AND
  • Bastion logs show many server error status codes 502
AND
  • There are no apparent traffic issues between Bastion and Front End or Authentication Extender

Solution

  1. Upgrade to Bastion version 1.8.12 or higher
  2. Add the following tag under the <advanced> tag in bastion.xml:
<advanced>
<serverErrorCode>
600
</serverErrorCode>
  </advanced>