We have built a server that retrieves a JSESSIONID via websignon. This JSESSIONID cookie is passed into a subsequent service call (e.g. currentUser) as a header, for authentication purposes. The flow works on TRIRIGA beta (https://beta.tririga-dev.com/)
However, when the server is run on a customer network pointing to a customer instance of TRIRIGA, different behaviour is observed: websignon is successful and a JSESSIONID is returned (so network connectivity must be fine). BUT the subsequence service call fails with a 401 unauthorized error.
Why is the customer TRIRIGA instance rejecting this call? Is it a specific config of their TRIRIGA instance?
------------------------------
Adrian Hill
------------------------------
SOLUTION: Chris hit the nail head - it appears we are hitting two Tririga instances behind a load balancer. The load balancer is doing 'round robin' which is why the second request fails (hitting a different tririga instance). A third request is successful as it hits the original tririga instance.
#AssetandFacilitiesManagement#TRIRIGA