Accessing graflog web interface behind a traefik

I’ve been facing an issue accessing graylog web interface after deploying remotely behind a traefik. I’m using kubernetes. Locally when I port-forward the pod to 9000 it’s working perfectly but when deployed I get the following error:

We are experiencing problems connecting to the Graylog server running on http://<cluster-internal-ip>:9000/api/. Please verify that the server is healthy and working correctly.

Any idea why I’m getting this?

I tried this already in vain. I’m using docker images FYI

So, what do you think might help solving the problem?
(Hint: One starts with ‘c’ and ends with ‘onfiguration’. The other starts with ‘lo’ and ends with ‘gs’.)

I’m defining the following in the container config as env variables:

    - name: REST_LISTEN_URI
      value: http://0.0.0.0:12900
    - name: REST_TRANSPORT_URI
      value: http://<vm_ip>:9000/api
    - name: WEB_LISTEN_URI
      value: http://0.0.0.0:9000

Logs:

2018-06-18 12:26:02,395 INFO : org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:9000]
2018-06-18 12:26:02,398 INFO : org.glassfish.grizzly.http.server.HttpServer - [HttpServer] Started.
2018-06-18 12:26:02,398 INFO : org.graylog2.shared.initializers.JerseyService - Started REST API at <http://0.0.0.0:9000/api/>
2018-06-18 12:26:02,399 INFO : org.graylog2.shared.initializers.JerseyService - Started Web Interface at <http://0.0.0.0:9000/>
2018-06-18 12:26:02,401 INFO : org.graylog2.shared.initializers.ServiceManagerListener - Services are healthy
2018-06-18 12:26:02,403 INFO : org.graylog2.bootstrap.ServerBootstrap - Services started, startup times in ms: {OutputSetupService [RUNNING]=30, KafkaJournal [RUNNING]=43, BufferSynchronizerService [RUNNING]=46, ConfigurationEtagService [RUNNING]=85, JournalReader [RUNNING]=96, InputSetupService [RUNNING]=99, StreamCacheService [RUNNING]=220, PeriodicalsService [RUNNING]=576, IndexerSetupService [RUNNING]=6459, JerseyService [RUNNING]=24091}
2018-06-18 12:26:02,415 INFO : org.graylog2.shared.initializers.InputSetupService - Triggering launching persisted inputs, node transitioned from Uninitialized [LB:DEAD] to Running [LB:ALIVE]
2018-06-18 12:26:02,440 INFO : org.graylog2.bootstrap.ServerBootstrap - Graylog server up and running.

I don’t see the configuration of Traefik.

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