Cookies use for AJAX calls expire but not the main cookie.

When we have a browser window logged into teamcity UI and after performing various user operations on the UI,
we are faced with an error where when you go to a build overview page you get an empty list of builds.
According to the cookie dialog (F12 -> Storage -> Cookies) the cookie didn't expire, but the ajax call return unauthorized (Error 400).

Clearing cookies causes a re-auth and things work again.


We have an NGINX reverse proxy in front of teamcity which also does HTTPS termination.
Authentication for TeamCity is using AzureAD

On NGINX we have configured in the config:

large_client_header_buffers 4 32k;

but this doesn't seem to fix the issue. Any pointers would be appreciated.

1
1 comment

Hi,

Could you please share with us an HAR file together with the teamcity.log and teamcity-rest.log, captured while reproducing the problem? You can share them to our secure upload service and share the upload ID back with us, and we will take a look to see if we can help you further.

 

 

0

Please sign in to leave a comment.