-
Notifications
You must be signed in to change notification settings - Fork 21
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
Conbench UI breaks when deployed at non-root web path #1575
Comments
edit: I don't think this is a bug.. but still working on this. Sorry for the garbage. |
Hey! The HTML source contains e.g. You try to deploy under a non-root web path. Clarification:
We did not build (test, qualify) for deploying the Conbench web application at a non-root path yet. Supporting this use case is typical for web applications, but it's also complexity that needs to be built and tested properly. We have punted on that so far, and you find the outfall. Sorry for that (and also for the lack in docs making it clear what CONBENCH_INTENDED_BASE_URL is doing and not doing) ! :) I have adjusted the title of the issue to reflect the problem a little better. |
Thanks a lot @jgehrcke for your reply. I will be working on this, as the link to my converter has already been added to pandas website. If I understand correctly, I could add a reverse proxy like nginx to my setup. Then I need to "tell" Flask about it. After that, I can add a pre-fix. |
Using a reverse proxy (with smart URL re-writing) is one of the traditional approaches to (try to) make a naive web application work on a non-root path! :) yes! But it could be that this isn't quite enough. URLs (absolute or relative) that the web application generates need to after all be cooperative/supportive of the deployment approach; and here it may break down one way or another. The |
Thank you. This will have to wait then. BTW, I added an alert by email to avoid depending/passing through GitHub. |
Sure, we'd always welcome a PR! |
Hello,
I need to link the server where I set up conbench PoC for pandas, to pandas' website.
On the server where conbench is installed, all the links and styles work: http://57.128.112.95:5000/
But if I try to link that to pandas' website: https://pandas.pydata.org/benchmarks/conbench/
The links for the runs are broken, and there is no css.
I tried to fix that by setting the following on docker-compose.yml:
CONBENCH_INTENDED_BASE_URL: https://pandas.pydata.org/benchmarks/conbench/
But nothing changed.
On the server I'm using a "local" setup (no production deployment yet).
So I have:
CONBENCH_URL=http://0.0.0.0:5000
in an env variables file.And on Makefile:
Would you have an idea? Thanks in advance.
Edit: clicking on the first run goes to here, which gives a 404:
https://pandas.pydata.org/runs/4d1d08bf206440baa92d5a52eab9926b/
But manually entering the following, it works!:
https://pandas.pydata.org/benchmarks/conbench/runs/4d1d08bf206440baa92d5a52eab9926b/
The text was updated successfully, but these errors were encountered: