-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Incompatible Browser" when dashboard in reverse proxy #25
Comments
Hello, I just see that proxypassing the cyclotron root instead the dashboard "team-sprint-tasks" itself works right. So, since the FAQ just says that it can be served in a different host as a reverse proxy, I think there's no issue here... 😔 Thank you! |
Well, looks like it was too early to claiming victory... I see, when I go to a dashboard that there's a single request to the API with the backend hostname hardcoded in URL instead using the HOST request header one (even with "ProxyPreserveHost on" enabled). |
Hi @sergiopr89, thanks for bringing this to our attention. I think the FAQ is correct in that this functionality isn't available out-of-the-box, but the suggested workaround it gives seems to be wrong or too simplistic in this case. The issue is that Cyclotron is primarily an Angular web application, and the dashboard routing is done client-side in the browser. So the Due to this routing issue, I can't think of a way to achieve what you're doing without some additional changes. Potentially, Nginx could proxypass the Cyclotron root, but add a query parameter or header specifying which dashboard to load. Then when Cyclotron starts up it could check that and load the dashboard if set. This might make it seamless to load a single dashboard directly. I will look into this further to see if it's possible. Regarding the last comment—I think this is just a config issue. The website makes API requests using the |
Hello @baumandm, Thank you for your help, the API communication error was the config issue as you said, so I just set the API through the front server and it works! Thank you! |
Hello,
When the dashboard is behind a reverse proxy, a "Incompatible Browser" error message is shown.
Nginx example:
Apache example:
This should work as the FAQ (http://www.cyclotron.io/faq.html) says "Can I Host My Dashboard on a Separate Domain?" that a reverse nginx proxy can be configured.
Do you have any ideas how can I set the dashboard behind the front server?
Thank you!
The text was updated successfully, but these errors were encountered: