Hi
We are struggling to front end two GAS servers with a load balancer and I am hoping that someone else here has managed to get this working.
All three servers are running Ubuntu 22.04 LTS and using Apache. At the moment, we have been trying to get session bound connections working.
The GAS servers work as expected when accessed directly either via http or https.
When being accessed via the load balancer, the Genero Browser Client is being loaded, it pauses and then we get a "The Application Ended" message with a reason of "Server unreachable".
Here is the SSL virtual host configuration file we are using in the proxy server:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerName jean.alsico.co.uk
ServerAdmin webadmin@alsico.co.uk
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLProtocol all -SSLv3 -SSLv2 -TLSv1 -TLSv1.1
SSLCertificateFile /etc/ssl/certs/alsico.crt
SSLCertificateKeyFile /etc/ssl/private/alsico.key
ProxyPreserveHost Off
RequestHeader set X-Forwarded-Proto https
RequestHeader set X-Forwarded-Port 443
SSLProxyEngine on
Header add Set-Cookie "routeid=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
<Proxy balancer://gasfarm>
BalancerMember https://annie.alsico.co.uk/gas/ route=1
BalancerMember https://hilda.alsico.co.uk/gas/ route=2
ProxySet stickysession=routeid
</Proxy>
<Location "/gas">
ProxyPass "balancer://gasfarm/"
ProxyPassReverse "balancer://gasfarm/"
</Location>
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
</IfModule>
I'd be most grateful if any other user could share a working config file.
I have also set the GAS log to a category of ALL on both GAS servers and attached the output of one who handled a request.
Thanks
Gary