Dashboards Fail to Load When Accessing SPM through Proxy URL (ex. Apache httpd)
Potential Errors
WebSocket Connection to ‘wss.//urlexmaple’ failed error in console
90417~X~Report server failed to get system file(s) as requested file(s) doesn't exist
To Resolve
Add the following proxy settings to the proxy configuration:
|
Update the port number to reflect the Intellicus port number. If Apache httpd is running on a different server than Intellicus, update localhost to the hostname of the Intellicus server. For example, Apache24\conf\extra\httpd-vhosts.conf
|
When Intellicus is running through a proxy with http, add the following lines
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule ^/?(.*) "ws://localhost:9000/$1" [P,L]
ProxyPass /intellicus https://localhost:9000/intellicus
ProxyPassReverse /intellicus https://localhost:9000/intellicus
When Intellicus is running through a proxy with https, add the following lines:
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule ^/?(.*) "wss://localhost:9000/$1" [P,L]
ProxyPass /intellicus https://localhost:9000/intellicus
ProxyPassReverse /intellicus https://localhost:9000/intellicus