[UI] Nomad behind a loadbalancer break the UI
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### Nomad version
Nomad v1.9.4
BuildDate 2024-12-18T15:16:22Z
Revision 5e49fcdb7be26941b6c7ad3ed6661bd37e70a9d8+CHANGES
### Operating system and Environment details
Ubuntu
### Issue
The issue seems to be that when having multiple servers behind a load balancer that can respond to UI requests if the assets are not requested from the same server they are returned as 404 pages.
So if the main page is loaded from Server A , and some of CSS and JS are loaded from Server B or Server C they return the 404 page for some reason. This did not happen prior of 1.9.3 version.
### Reproduction steps
Having a domain dashboard.nomad.com and a load balancer that will forward every request to a different server(round‑robin).
#### Expected Result
The assets request from diffeent pages to not return 404 page
#### Actual Result
Some CSS or JS file contain the not found page
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with Nomad v1.9.4 on Ubuntu, using multiple servers behind a round-robin load balancer for the described dashboard domain. Trace requests for CSS and JavaScript assets when the main page and assets come from different servers, then verify that all assets load successfully instead of returning 404 pages.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100