Latest version (3.5.5) appears to fail rendering data
-
@mattfox Yes, the proxy configuration is exactly what I needed. The CORS configuration didn't seem to help.
-
Well at least that's sorted i'm happy. Forgive the irritated post Jared, it's been a difficult few weeks surrounding Mango data handling related issues.
Edit: The above virtual host config I have there works with l;etsEncrypt so you can just set and forget. Just make sure you add the
ProxyPass /.well-known !
in the SSL version of your config if you have forced redirect to SSL in order for letsencrypt to update
-
I take it back, @MattFox ; apparently the
CORS
configuration IS necessary. Suddenly found it failing again, and sure enough enablingCORS
did the trick.I really do go through these tests in a methodical manner, but somehow I'm losing the sequence today.
Thanks to all who helped me get through this.
-
I might try and setup a Apache reverse proxy and figure out what is going on here. I still don't think that CORS should be necessary, I believe you that it fixes the problem however I don't think its the correct solution. In fact allowing any origin with allow credentials poses a security risk so I'd like to get it sorted out for you guys.
-
Have you been setting the HTTP origin header in your proxy?
We have sites running behind an Apache proxy, and the live-chart on 3.5.5 doesn't seem to have an issue. CORS is not enabled. Here is an example of the Apache config with a wildcard SSL certificate being used,
ServerName servername.host.extension ProxyPass / http://172.16.3.4/ ProxyPassReverse / http://172.16.3.4/ RewriteEngine On RewriteCond %{HTTP:Upgrade} =websocket RewriteRule /(.*) ws://172.16.3.4/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket RewriteRule /(.*) http://172.16.3.4/$1 [P,L] ProxyPreserveHost off RequestHeader set Origin "http://servername.host.extension" Header edit Location ^http://servername.host.extension https://servername.host.extension SSLProxyEngine On SSLEngine on SSLCertificateFile /path/to/host.extension.crt SSLCertificateKeyFile /path/to/host.extension.key SSLCertificateChainFile /path/to/host.extension.ca-bundle ProxyRequests on
-
What version of apache is that? I don't think my version allows some of those settings
-
2.4.x
What settings would it not allow?
-
RequestHeader
-
Loading mod_headers in your apache config? https://httpd.apache.org/docs/current/mod/mod_headers.html
Or maybe you just need to symlink it into mods-enabled and reload ?
-
That will likely be it, thanks Phil!