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

    i-doit behind a load balancer

    Scheduled Pinned Locked Moved General
    2 Posts 1 Posters 263 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
        • First post
          Last post