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

Unable to obtain CAS proxy ticket in load balanced environment #112

Open
rrsingzon opened this issue Oct 5, 2020 · 4 comments
Open

Unable to obtain CAS proxy ticket in load balanced environment #112

rrsingzon opened this issue Oct 5, 2020 · 4 comments
Assignees
Labels

Comments

@rrsingzon
Copy link

Our web application is CAS enabled and works to get data from a CAS enabled backend. Everything works fine and we can get a proxy ticket to retrieve data from the backend. It is when it is launched in production where servers are load balanced that we get "Unable to obtain CAS proxy ticket" errors. We changed our sessionState mode to "StateServer" in web.config hoping that one source handing session will fix the issue. It doesn't seem to work so is there anything else we can change to get it working?

@phantomtypist
Copy link
Contributor

Did you stand up a Memcached or Redis server to manage the tickets in a distributed fashion? If you don't do this in a distributed load balanced environment then each server maintains its own tickets each other server isn't aware of. If you use a central data store for the tickets then all servers phone home to that data store to create/read/update the tickets. We have providers for Redis and Memcached You can find those on NuGet. There are also associated github projects under this organization for each of those packages. Go to those repos to read the pertinent documentation. @TheHokieCoder is working on an MSSQL data store provider. Let me know if you run into any problems.

@phantomtypist phantomtypist self-assigned this Oct 5, 2020
@rrsingzon
Copy link
Author

rrsingzon commented Oct 6, 2020 via email

@phantomtypist
Copy link
Contributor

@TheHokieCoder any update on the MSSQL distributed ticket store repo/nuget package? If you're short on time and you feel comfortable dumping the code into that one repo for it go ahead. Just give me some cliff notes and I'll take a look over it and see what I can do to get ready to ship it out.

@phantomtypist
Copy link
Contributor

@TheHokieCoder it's okay if the code looks like poop :)

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

No branches or pull requests

2 participants