-
Notifications
You must be signed in to change notification settings - Fork 256
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
Problems with basepath on 1.5.0.1 #3687
Comments
@voiprodrigo thanks for the issue. Just to clarify, you've set your basepath to be |
To be exact: BASE_PATH="/whatever/chronograf-something" |
hyphens are not allowed in basepaths. When i try to set that, i get:
but setting to |
I reverted to 1.4.4 and both cases work fine again. Please also see comments in 2ce7d8e#diff-91bbeda7eb98a7adc57b9e47e2cf5c2b |
thanks for the link. I connected this issue and your comment so we can review. |
This was changed in 1.5.0, but we can revert that aspect to make it so that hyphens or any valid URL path will work. |
(Sorry to comment on closed issue) Thanks for addressing the hyphen situation, but regarding this:
Any hints? I assume it's a different root-cause, as the behaviour is different. Thanks. |
I managed to get it working again. But this seems to be an unexpected change in basepath handling. |
@voiprodrigo i'm not sure i understand completely. The expected behavior is that when basepath is enabled, accessing just the standard localhost:8888 should return a 404. accessing localhost:888/basepath should work. I'm not familair with ProxyPass specificially, but if forwarding to just localhost:8888 was working before, it was unintentional and incorrect. Forwarding to /basepath is the correct solution. |
Hello,
I'm having two problems with basepath after upgrading to 1.5.0.1. Previously I was using 1.4.4 without issue in this regard.
Problem 1: basepath "/whatever/chronograf-something" is considered invalid and service does not start.
Problem 2: basepath "/whatever/chronograf" service starts, but can't access it properly, just get "404 page not found".
I'm using CentOS 7 with systemd, basepath set via BASE_PATH in an EnvironmentFile.
Thanks
The text was updated successfully, but these errors were encountered: