We have 2 management servers and 2 Edge UI in our Edge PCF setup. This is the default configuration of Edge for PCF. Basically it installs 2 management server jobs. Each job has open ldap, management server, and edge UI running on them.
As per the doc http://docs.apigee.com/private-cloud/v4.17.05/installing-edge-using-ops-manager we tried to setup stickiness with a 60 second expiration for the AWS ELB. However, we notice that while working in Edge-UI the browser will hang for 30 to 60 seconds and also we get logged out. Need some insight on this setting and/or how we should be configuring it for AWS ELB.
Solved! Go to Solution.
After some investigation we found the following solution for this issue:
application.secret
in /opt/apigee/edge-ui/conf/application.conf
mail.smtp.credential
and apigee.mgmt.credential
in /opt/apigee/edge-ui/conf/apigee.conf
conf_application_application.secret=<value> conf_apigee_mail.smtp.credential=<value> conf_apigee_apigee.mgmt.credential=<value>
Note: Use the corresponding values for each of the properties from the other machine.
chown apigee:apigee /opt/apigee/customer/application/ui.properties
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
With these steps, we no longer observed the hangs or the logouts in UI.
After some investigation we found the following solution for this issue:
application.secret
in /opt/apigee/edge-ui/conf/application.conf
mail.smtp.credential
and apigee.mgmt.credential
in /opt/apigee/edge-ui/conf/apigee.conf
conf_application_application.secret=<value> conf_apigee_mail.smtp.credential=<value> conf_apigee_apigee.mgmt.credential=<value>
Note: Use the corresponding values for each of the properties from the other machine.
chown apigee:apigee /opt/apigee/customer/application/ui.properties
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
With these steps, we no longer observed the hangs or the logouts in UI.
Hi @AMAR DEVEGOWDA,
We are also facing the same issue. Do you also have expireSessionCookiesInternally and trackSessionCookies set to true? Do we need to disable this as well if we are not using session stickiness?
As per the documentation, Apigee suggests using these properties for storing session in memory which also adds a security feature.
Thanks.
If you don't have the sticky sessions, then you should set expireSessionCookiesInternally and trackSessionCookies back to false (default values).
If you have trackSessionCookies set to true, then you need to have the sticky sessions enabled.
@AMAR DEVEGOWDA, Thanks a lot. This solved the problem of intermittent logouts.