Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    i-doit behind a load balancer

    Scheduled Pinned Locked Moved General
    2 Posts 1 Posters 407 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Marc-Andre BelangerM Offline
      Marc-Andre Belanger
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Marc-Andre BelangerM Offline
        Marc-Andre Belanger
        last edited by

        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

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post