I just finished OTRS upgrade from 5 to 6. But I have my system behind a reverse proxy that also handles SSL.
I have always had a little issue about a page error that wanted to reload the page as you navigate tickets but since the upgrade it is worse.
It only seems to happen if I use https.
It throws a message that "OTRS has detected possible network issues" and says to reload the page or wait till the browser establishes connection on it's own. If I wait just a bit I get a new message that states "the connection has been re-established after a temporary connection loss. Due to this elements on this page could have stopped working correctly" it goes on to say that you need to reload the page. But it just keeps cycling through these message in a flapping error.
Is there a standard or suggested reverse proxy setup specified for OTRS? My setup almost works, I can login and navigate tickets but with a lot of interruption from connection error messages.
Here is what my current r-proxy vhost file looks like:
Code: Select all
<VirtualHost *:443>
ServerName help.mydomain.com
ServerAlias help.mydomain.net
ServerAdmin it@mydomain.com
ErrorLog /var/log/apache2/proxiedhosts-ssl_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel info
CustomLog /var/log/apache2/access-ssl.log combined
ProxyRequests off
<Location /otrs>
ProxyPass http://helpdesk.mydomain.local/otrs/
ProxyPassReverse http://helpdesk.mydomain.local/otrs/
</Location>
<Location /otrs-web>
ProxyPass http://helpdesk.mydomain.local/otrs-web/
ProxyPassReverse http://helpdesk.mydomain.local/otrs-web/
</Location>
# Use mod_proxy_html to rewrite URLs
SetOutputFilter proxy-html
# commented out
# ProxyHTMLURLMap http://helpdesk.mydomain.local/ https://help.mydomain.com/
# ProxyHTMLURLMap http://helpdesk.mydomain.local/otrs/ https://help.mydomain.com/otrs/
# ProxyHTMLURLMap http://helpdesk.mydomain.local/otrs-web/ https://help.mydomain.com/otrs-web/
# Disable compressed communication between Apache and target server
RequestHeader unset Accept-Encoding
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# Allows the proxying of an SSL connection
SSLProxyEngine On
# certificate
SSLCertificateFile /etc/ssl/certs/help.mydomain.com/help.mydomain.com.crt
SSLCertificateKeyFile /etc/ssl/private/SHA2_mydomain.key
</VirtualHost>