You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Bap (Jira)" <ji...@apache.org> on 2022/01/16 16:21:00 UTC

[jira] [Updated] (GUACAMOLE-1502) Nginx work as load balancing Guacamole servers

     [ https://issues.apache.org/jira/browse/GUACAMOLE-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bap updated GUACAMOLE-1502:
---------------------------
    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]

*{color:#FF0000}Please let me know if anyone has experience with Nginx declaration as a Load balancer for Guacamole, please give me some advice?{color}*

 

 

> Nginx work as load balancing Guacamole servers
> ----------------------------------------------
>
>                 Key: GUACAMOLE-1502
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1502
>             Project: Guacamole
>          Issue Type: Wish
>          Components: Documentation, guacamole
>    Affects Versions: 1.4.0
>            Reporter: Bap
>            Priority: Major
>
> 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]
> *{color:#FF0000}Please let me know if anyone has experience with Nginx declaration as a Load balancer for Guacamole, please give me some advice?{color}*
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)