Graylog 3.1 with docker - running and healthy but blank page when accessing it

Hi!

I installed graylog 3.1 in a container with docker images. I followed the documentation on the officiel docker page for graylog, the container are starting and flagged as healthy but when I access the web page it just turns and turns and gives me a blank page.

Any help would be appreciated!!!

Here is my docker-compose.yml file I used and customized:

version: ‘2’
services:
graylog3_mongodb:
image: mongo:3
volumes:
- graylog3_mongo_data:/graylog3_space/db
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.2
volumes:
- graylog3_es_data:/usr/share/elasticsearch/data
environment:
- http.host=0.0.0.0
- transport.host=localhost
- network.host=0.0.0.0
- “ES_JAVA_OPTS=-Xms512m -Xmx1024m”
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
graylog3:
image: graylog/graylog:3.1
volumes:
- graylog3_journal:/usr/share/graylog/data/journal
environment:
- GRAYLOG_PASSWORD_SECRET=SOMESECRETPASSWORDIWANTTOKEEPSECRET
- GRAYLOG_ROOT_PASSWORD_SHA2=SOMESHA2PASSWORDIWANTTOKEEPSECRET
- GRAYLOG_WEB_ENDPOINT_URI=http://127.0.0.1:9000/api/
- GRAYLOG_WEB_LISTEN_URI=http://127.0.0.1:9000/

- GRAYLOG_REST_LISTEN_URI=http://127.0.0.1:9000/api/

  - GRAYLOG_ELASTICSEARCH_HOSTS=http://elasticsearch:9200/
links:
  - graylog3_mongodb:mongo
  - elasticsearch
depends_on:
  - graylog3_mongodb
  - elasticsearch
ports:
  # Graylog web interface and REST API
  - 9000:9000
  # Syslog TCP
  - 1514:1514
  # Syslog UDP
  - 1514:1514/udp
  # GELF TCP
  - 12201:12201
  # GELF UDP
  - 12201:12201/udp

volumes:
graylog3_mongo_data:
driver: local
graylog3_es_data:
driver: local
graylog3_journal:
driver: local

First you really should use markdown to format your posting.
Second, where did you run the docker-compose up? On your Laptop? on a Server?

Cause the configuration from the documentation clearly gives the hint that it will work if you use that locally on your machine but you would need to adjust the settings if that runs on a remote server. In addition it looks like you have used a mixture of Graylog 2.x and Graylog 3.x configuration. You should really compare the documentation to your config:

Or you should show the configuration and where you have that taken from that we can correct that if possible. Because it can’t work at all.

You’re seeing a blank page cause Graylog rendered the html with it’s container IP, your browser cannot fetch assets (js, css) from it.
Try to pass environment GRAYLOG_HTTP_EXTERNAL_URI to with your server’s external reachable address.
Example: GRAYLOG_HTTP_EXTERNAL_URI: http://33.33.33.33:9000/

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