i-doit behind a load balancer
-
good day, i'm trying to get i-doit working in our kubernetes cluster. it it working great on a local docker install.
The issue is that session information don't get written to database. First it raise a csrf error, and if disabling the csrf code in login i get a "cannot write session to database".
Tested connection to database from host, and it is working. I went through the code a bit, and i found the session query (that is using client ip - that owuld be a issue as ip will be a random load balancer), but was unable to identify where the exception is thrown.
I would appreciate is anyone can share there's experience with wunning this service behind aws load balancers
Thanks
-
Finally got it to work. Had to change some references to modified headers in the session components and modify the base url getter to force HTTPS .
Thanks for the help
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login