Unable to call -api- on node

Just stood up Graylog 4.0 docker. Everything seems pretty happy except I get these constantly:

graylog_1 | 2021-06-09 20:28:25,168 WARN : org.graylog2.shared.rest.resources.ProxiedResource - Unable to call https://MY.URL:9000/api/system/metrics/multiple on node : Read timed out
graylog_1 | 2021-06-09 20:28:27,385 WARN : org.graylog2.shared.rest.resources.ProxiedResource - Unable to call https://MY.URL:9000/api/system on node : Read timed out
graylog_1 | 2021-06-09 20:28:32,320 WARN : org.graylog2.shared.rest.resources.ProxiedResource - Unable to call https://MY.URL:9000/api/system on node : Read timed out
graylog_1 | 2021-06-09 20:28:36,186 WARN : org.graylog2.shared.rest.resources.ProxiedResource - Unable to call https://MY.URL:9000/api/system/metrics/multiple on node : Read timed out

I can access the API via curl and GUI. So I’m not sure why I’m seeing this. For reference, here is my yml:

graylog:
image: graylog/graylog:4.0
volumes:
- graylog_data:/usr/share/graylog/data
environment:
- GRAYLOG_HTTP_EXTERNAL_URI=http://MY.URL:9000/
- GRAYLOG_HTTP_PUBLISH_URI=https://MY.URL:9000/
- HTTP_BIND_ADDRESS=MY.IP:9000
- HTTP_PUBLISH_URI=https://$HTTP_BIND_ADDRESS
entrypoint: /usr/bin/tini – wait-for-it elasticsearch:9200 – /docker-entrypoint.sh
links:
- mongodb:mongo
- elasticsearch
restart: always
depends_on:
- mongodb
- elasticsearch
ports:
# Graylog web interface and REST API
- 9000:9000

Any idea what is off here?

Many thanks in advance.
DM

Hello,

I take it your using HTTPS?
Not to famialir with Docker, but what I can do is show you my config for HTTPS/TLS. This if for version 4.0.8 package installment on CentOS 7.

http_bind_address = 8.8.8.8:9000
http_publish_uri = https://graylog.domain.com:9000/
http_enable_cors = true
http_enable_tls = true
http_tls_cert_file = /etc/ssl/certs/graylog/graylog-certificate.pem
http_tls_key_file = /etc/ssl/certs/graylog/graylog-key.pem
http_tls_key_password = secret

Hope that helps.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.