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

Multiple TPP Backend Servers Behind ALB is Failing #15

Open
mfortin opened this issue Jun 23, 2020 · 1 comment
Open

Multiple TPP Backend Servers Behind ALB is Failing #15

mfortin opened this issue Jun 23, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mfortin
Copy link

mfortin commented Jun 23, 2020

PROBLEM SUMMARY
When using the provider with a TPP endpoint that has multiple backends behind an AWS ALB fails as the stickiness is not observed.

STEPS TO REPRODUCE
Authorize yourself
Make multiple calls:

curl -X POST "https://venafi.endpoint/vedsdk/certificates/CheckPolicy" -H "accept: application/json" -H "X-Venafi-API-Key: <API Key>" -H "Content-Type: application/json" -d "{ \"PolicyDN\": \"\\\\VED\\\\Policy\\\\SecOps"}"

EXPECTED RESULTS
I am expecting the request to succeed every time.

ACTUAL RESULTS
Some requests will succeed, others will fail, depending on which backend you reach out.

ENVIRONMENT DETAILS

COMMENTS/WORKAROUNDS
Getting a cookie for the session would solve the issue.

@tr1ck3r
Copy link
Member

tr1ck3r commented Jun 23, 2020

@mfortin this is currently the expected behavior if the load balancer in front of your TPP WebSDK drivers is not configured to use source IP address affinity (or the load balancer is not able to ascertain unique source IP addresses for clients). In Q3 we are planning to transition the provider from using the now deprecated API key to using token-based authentication and that will eliminate the dependency on sticky sessions.

@tr1ck3r tr1ck3r added the enhancement New feature or request label Jun 23, 2020
@tr1ck3r tr1ck3r self-assigned this Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants