Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Solution 1: 

  1. Clear the browser cache and make sure no cookies or other storage items are saved for the app.
  2. Reload the page.
  3. If this doesn’t work, follow the solution 2.

Solution 2: 

In v4.2.x, as part of security tightening, some fixes were done in the area of cookie handling. Unfortunately, these security fixes have the potential to break existing proxy rules/settings. If this is the case, then users will notice there will be no app cookies stored in browser.

To resolve this issue please follow below steps

Step 1: Update the front end server (Apache) proxy setting as below. The example given below is for Apache web server. 

ProxyPass /<instance-name1>/ "ajp://<tomcat-ip-addr>:8009/<instance-name1>/"
ProxyPassReverse /<instance-name1>/ "ajp://<tomcat-ip-addr>:8009/<instance-name1>/"
ProxyPass /<instance-name2>/ "ajp://<tomcat-ip-addr>:8009/<instance-name2>/"
ProxyPassReverse /<instance-name2>/ "ajp://<tomcat-ip-addr>:8009/<instance-name2>/"

Example:

ProxyPass /openspecimen-test/ "ajp://127.0.0.1:8009/openspecimen-test/"
ProxyPassReverse /openspecimen-test/ "ajp://127.0.0.1:8009/openspecimen-test/"
ProxyPass /openspecimen-prod/ "ajp://127.0.0.1:8009/openspecimen-prod/"
ProxyPassReverse /openspecimen-prod/ "ajp://127.0.0.1:8009/openspecimen-prod/"

Step 2: Restart the web server (Apache).

Step 3: Change the "Application URL" in settings as below:

https://<domain-name>/ => https://<domain-name>/<instance-name>/

Ex: https://test.openspecimen.org/ => https://test.openspecimen.org/openspecimen-test


  • No labels