I faced exactly the same issue when set graylog to use https charm version is 51 and the issue is still there.
https://git.launchpad.net/charm-graylog/tree/src/reactive/graylog.py#n1323 127.0.0.1 is hardcoded and when apache with https is enabled graylog automatically redirect to config[web_endpoint_uri] which is causing check to fail.
I faced exactly the same issue when set graylog to use https charm version is 51 and the issue is still there.
https:/ /git.launchpad. net/charm- graylog/ tree/src/ reactive/ graylog. py#n1323 127.0.0.1 is hardcoded and when apache with https is enabled graylog automatically redirect to config[ web_endpoint_ uri] which is causing check to fail.