Skip to content

cookies in api request #127

Open
Open

Description

@tombin

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 ?

Activity

  1. mchugh19 commented on Aug 27, 2018

    @mchugh19

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions