Skip to content
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

Graylog Docker images ignore GRAYLOG_HTTP_EXTERNAL_URI for REST API Docs #19163

Open
skewty opened this issue Apr 24, 2024 · 2 comments
Open
Assignees

Comments

@skewty
Copy link

skewty commented Apr 24, 2024

Expected Behavior

When I include GRAYLOG_HTTP_EXTERNAL_URI=http://1.2.3.4:9100/ in environment of container I expect the API to use that URI when it serves me API documentation.

Graylog UI works as expected using that environment variable. Only REST API Docs seem to ignore it.

Current Behavior

The container's private network IP is used instead. Can be confirmed by going to Developer Tools within browser and then
Network tab and reloading the page.

Possible Solution

Use the environment variable value if it is provided.

Context

Image: docker.io/graylog/graylog:5.2

@skewty skewty added the bug label Apr 24, 2024
@skewty
Copy link
Author

skewty commented Apr 24, 2024

Perhaps related to #7516

@skewty
Copy link
Author

skewty commented Apr 29, 2024

image
Trying different parameter / methods with PODMAN.

Notice the port number is 9000. I am assuming there is an issue with an internal proxy or redirect.

Notice in the other tab the icon. Port 9050 works fine for GUI and should also work for API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants