-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Stats not available in nomad ui deployment view #3527
Comments
Great find! That header is only used in prod, so it slipped through the cracks in local testing and ui acceptance tests. The header is indeed relevant and was borrowed from Vault, which appropriately locks down everything. The important part is The other half of CORS should still be a-okay: Lines 41 to 45 in 344d029
I'll have a PR once I test this end to end. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.7.0
Operating system and Environment details
Debian Jessie
Issue
On the page
http://nomad/ui/jobs/my-service/deployments
the stats are not available because of a Security Content policy violation.This header is responsible. We can't load a content from a different address than the nomad server itself :
nomad/command/agent/http.go
Line 253 in 52598bf
Is this header relevant?
Reproduction steps
Just open the url and open the browser console
Chrome 61 and Firefox 58
Browser JS console
The text was updated successfully, but these errors were encountered: