Closed drewmiranda-gl closed 1 year ago
Same issue upgrading from 5.0 to 5.1, on Debian with LXC and Apache as reverse proxy configured with
<Location /graylog> RequestHeader set X-Graylog-Server-URL "https://graylog.corp.beghelli.it/graylog/" ProxyPass http://graylog:9000 ProxyPassReverse http://graylog:9000
only the login page works, after that the browser responds with
Loading component failed: Absolute route path "/" nested under path "/graylog/" is not valid. An absolute child route path must start with the combined path of all its parent routes.
In server.conf http_publish_uri and http_external_uri are not setted
Connecting directly to the container on port 9000 it works fine
@dennisoelkers do you know when there will be a 5.1.x release with this fix? Thanks.
I see that the branch has been merged and in our case we use the Docker image which is where we are being affected.
@bdovaz We released 5.1.1 today. The image should be available on Docker Hub. (release announcement is pending)
Tested and confirmed this is resolved in 5.1.1
When adding an additional path to
http_publish_uri
andhttp_external_uri
(ORGRAYLOG_HTTP_EXTERNAL_URI
andGRAYLOG_HTTP_PUBLISH_URI
for docker), Graylog web interface does not load and shows an error:There are no errors in
server.log
Browser's inspect/console log:
The API endpoint appears to work without issue.
Expected Behavior
http_publish_uri
andhttp_external_uri
(ORGRAYLOG_HTTP_EXTERNAL_URI
andGRAYLOG_HTTP_PUBLISH_URI
for docker) work as documented and work as they did in previous versions of graylog.Current Behavior
http_publish_uri
andhttp_external_uri
(ORGRAYLOG_HTTP_EXTERNAL_URI
andGRAYLOG_HTTP_PUBLISH_URI
for docker) no longer allow you to specify an additional path, starting in graylog 5.1.The API endpoint appears to work without issue.
Possible Solution
Steps to Reproduce (for bugs)
Using the following docker compose file:
Observe that you are unable to use the graylog web interface.
Context
Originally reported via https://community.graylog.org/t/graylog-5-1-does-not-load-ui-when-http-external-uri-contains-a-path-sufix/28830?u=drewmiranda-gl
Your Environment
ElasticsearchOpenSearch Version: 2.5.0