Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookies in api request #127

Open
tombin opened this issue Aug 22, 2018 · 1 comment
Open

cookies in api request #127

tombin opened this issue Aug 22, 2018 · 1 comment

Comments

@tombin
Copy link

tombin commented Aug 22, 2018

We currently have a few salt masters behind a elastic load balancer with sticky sessions enabled. This configuration works fine for our clients the save and resent the cookies (resending the AWSELB cookie) to hit the same server for the duration of the cookie to get X-AUTH-TOKEN and handle multiple requests. Using this same configuration in Jenkins does not appear to handle this though. Requests coming from the plugin end up hitting multiple servers. Could you enhance the plugin to resend the cookies so sticky sessions on the load balancer can be used ?

@mchugh19
Copy link

This sounds like a bit of a change from where things are today. At the moment, each connection to the salt-api uses a fresh http connection. I'll have to investigate what it would entail to re-use connections in order to retain headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants