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

Issues on creds and rabbit container keeps restarting #37

Open
johnreytanquinco opened this issue Sep 17, 2020 · 0 comments
Open

Issues on creds and rabbit container keeps restarting #37

johnreytanquinco opened this issue Sep 17, 2020 · 0 comments

Comments

@johnreytanquinco
Copy link

I have everything setup with traefik 2 and I encountered some issues.

.env

TAIGA_HOST=taiga.john.site.dev
TAIGA_SCHEME=https
TAIGA_BACK_HOST=back
TAIGA_FRONT_HOST=front
EVENTS_HOST=events
TAIGA_SECRET=secret

POSTGRES_HOST=db
POSTGRES_DB=taiga
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password

RABBIT_HOST=rabbit
RABBIT_USER=taiga
RABBIT_PASSWORD=password
RABBIT_VHOST=taiga

REDIS_HOST=redis
REDIS_DB=0
REDIS_PASSWORD=password

ENABLE_SSL=no

docker-compose.yml

version: '3'

services:
  back:
    image: dockertaiga/back:5.0.12
    container_name: taiga-back
    restart: unless-stopped
    labels:
      - "traefik.enable=false"
    depends_on:
      - db
      - events
    env_file:
      - .env
    volumes:
      - /srv/taiga/data:/taiga-media
      - /srv/taiga/config/back:/taiga-conf
    networks:
      - default

  front:
    image: dockertaiga/front:5.0.12
    container_name: taiga-front
    restart: unless-stopped
    labels:
      - "traefik.enable=true"
      ... some traefik config ...
    env_file:
      - .env
    volumes:
      - /srv/taiga/config/front:/taiga-conf

  db:
    image: postgres:11-alpine
    container_name: taiga-db
    restart: unless-stopped
    env_file:
      - .env
    volumes:
      - /srv/taiga/postgres:/var/lib/postgresql/data
    networks:
      - default

  rabbit:
    image: dockertaiga/rabbit
    container_name: taiga-rabbit
    restart: unless-stopped
    env_file:
      - .env
    networks:
      - default

  redis:
    image: bitnami/redis:5.0
    container_name: taiga-redis
    env_file:
      - .env
    networks:
      - default

  events:
    image: dockertaiga/events
    container_name: taiga-events
    restart: unless-stopped
    depends_on:
      - rabbit
    env_file:
      - .env
    networks:
      - default

networks:
  default:
    external:
      name: traefik_default
  1. With events, rabbit commented out:
    I was able to access the front-end in the browser but I cannot login. I am getting incorrect username and password. I used admin and 123123.

  2. Enabled events and rabbit.
    Rabbit container keeps restarting with the container logs below:

$ docker logs taiga-rabbit -f
Waiting for rabbitmq to start...
Waiting for pid file '/var/lib/rabbitmq/rabbitmq.pid' to appear
pid is 7
Waiting for erlang distribution on node 'rabbit@taiga' while OS process '7' is running
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
Error:
process_not_running
Initializing rabbitmq vhost and user...
Error: unable to perform an operation on node 'rabbit@taiga'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

 * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
 * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
 * Target node is not running

In addition to the diagnostics info below:

 * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node rabbit@taiga
 * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS
===========

attempted to contact: [rabbit@taiga]

rabbit@taiga:
  * unable to connect to epmd (port 4369) on taiga: nxdomain (non-existing domain)


Current node details:
 * node name: 'rabbitmqcli-413-rabbit@taiga'
 * effective user's home directory: /var/lib/rabbitmq
 * Erlang cookie hash: 6g/cRN/9hEC94MMLQ4aQlw==

Error: unable to perform an operation on node 'rabbit@taiga'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

 * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
 * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
 * Target node is not running

In addition to the diagnostics info below:

 * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node rabbit@taiga
 * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS
===========

attempted to contact: [rabbit@taiga]

rabbit@taiga:
  * unable to connect to epmd (port 4369) on taiga: nxdomain (non-existing domain)


Current node details:
 * node name: 'rabbitmqcli-520-rabbit@taiga'
 * effective user's home directory: /var/lib/rabbitmq
 * Erlang cookie hash: 6g/cRN/9hEC94MMLQ4aQlw==

Error: unable to perform an operation on node 'rabbit@taiga'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

 * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
 * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
 * Target node is not running

In addition to the diagnostics info below:

 * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node rabbit@taiga
 * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS
===========

attempted to contact: [rabbit@taiga]

rabbit@taiga:
  * unable to connect to epmd (port 4369) on taiga: nxdomain (non-existing domain)


Current node details:
 * node name: 'rabbitmqcli-627-rabbit@taiga'
 * effective user's home directory: /var/lib/rabbitmq
 * Erlang cookie hash: 6g/cRN/9hEC94MMLQ4aQlw==

ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
ERROR: epmd error for host taiga: nxdomain (non-existing domain)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant