-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Blank page when accessing Locust Web UI via reverse proxy with subpath #2614
Comments
I'm trying to push my branch but I'm not allowed, do you guys need to add me before I can?
|
Hi! Thanks for wanting to contribute! You should make a fork (push the fork button in github ui), push to that and then make a pull request from that to locustio project. |
Yes. I read that bit, just not well enough. Sorry, will do! |
You can use command below, to start locust, if your web-ui is blank
|
Legacy UI is deprecated and will be removed soon though. |
Ok, but how I can solve that problem with blank locust web-gui? |
If your GUI is just blank and you havent done anything out of the ordinary, then please file a separate ticket with all your details. This issue was specifically about when you run an nginx in front of Locust (and it is supposed to be fixed, so no workaround should be needed if you are on latest version) |
Prerequisites
Description
Similar to #149 - the webui code has changed since then and the same problem arises, this time with the /assets/ path, which is absolute instead of relative. The result is that an nginx location directive such as this one:
...results in a blank page because the webpage is trying to load
http://myserver/assets/blabla.js
instead ofhttp://myserver/locust/mybackend/assets/blabla.js
Command line
irrelevant
Locustfile contents
irrelevant
Python version
irrelevant (but 3.12)
Locust version
2.23.1
Operating system
irrelevant
The text was updated successfully, but these errors were encountered: