Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1502

Nginx work as load balancing Guacamole servers

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.4.0
    • None
    • Documentation, guacamole
    • None

    Description

      Hi, 

      I have a scenario following: 

      Nginx has 2 IPs, one IP public and one private. And all backend servers have only private IPs

      Nginx has configurations just simple like this (in the HTTP block) :

      server {
          listen              443 ssl;
          server_name         ${NGINX_HOST};

          location /guacamole {
      ??        proxy_pass      http://backend;??
          }
      }
      upstream backend {
          server 10.10.20.189:8081;
          #server 10.10.20.34:8081;
      }

      It works well when I drop(commented like above) one of the 2 backend servers (I can access my public IP and configure connections to connect RDP successfully)

      But when I use both servers I got an error on guacamole:

        • with web interface error "Error:* 
          An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs " and I cannot login properly.
        • with the guacamole log is still ok :* 2022-01-15T15:34:33.210506950Z 15:34:33.208 [http-nio-8080-exec-8] INFO  o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from [139.82.129.184, 10.10.20.253]

      Please let me know if anyone has experience with Nginx declaration as a Load balancer for Guacamole, please give me some advice?

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bapmichu Bap
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: