argon-dashboard-nodejs icon indicating copy to clipboard operation
argon-dashboard-nodejs copied to clipboard

503 service unavailable

Open jrichardsz opened this issue 4 years ago • 0 comments

Using

docker-compose up -d

I got this error:

image

containers are running:

CONTAINER ID   IMAGE                COMMAND                  CREATED         STATUS         PORTS                                       NAMES
4473fe99fb5d   haproxy:1.9-alpine   "/docker-entrypoint.…"   3 minutes ago   Up 3 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp           argon-dashboard-nodejs_haproxy_1
74d0d4bf53e4   redis:alpine         "docker-entrypoint.s…"   3 minutes ago   Up 3 minutes   0.0.0.0:6379->6379/tcp, :::6379->6379/tcp   argon-dashboard-nodejs_redis_1
3678bee3594d   postgres             "docker-entrypoint.s…"   3 minutes ago   Up 3 minutes   0.0.0.0:5432->5432/tcp, :::5432->5432/tcp   argon-dashboard-nodejs_postgres_1

Logs

docker logs argon-dashboard-nodejs_haproxy_1

[WARNING] 335/195225 (1) : config : missing timeouts for frontend 'localnodes'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 335/195225 (1) : config : missing timeouts for backend 'server'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[NOTICE] 335/195225 (1) : New worker #1 (7) forked
[WARNING] 335/195227 (7) : Server server/argon-1 is DOWN, reason: Layer4 timeout, check duration: 2001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 335/195227 (7) : backend 'server' has no server available!

docker logs argon-dashboard-nodejs_postgres_1

2021-12-02 19:52:32.930 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-12-02 19:52:33.097 UTC [49] LOG:  database system was shut down at 2021-12-02 19:52:29 UTC
2021-12-02 19:52:33.143 UTC [48] LOG:  database system is ready to accept connections
 done
server started
CREATE DATABASE


/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

2021-12-02 19:52:35.007 UTC [48] LOG:  received fast shutdown request
waiting for server to shut down....2021-12-02 19:52:35.053 UTC [48] LOG:  aborting any active transactions
2021-12-02 19:52:35.057 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
2021-12-02 19:52:35.060 UTC [50] LOG:  shutting down
2021-12-02 19:52:35.252 UTC [48] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

2021-12-02 19:52:35.436 UTC [1] LOG:  starting PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2021-12-02 19:52:35.436 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-12-02 19:52:35.436 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2021-12-02 19:52:35.521 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-12-02 19:52:35.650 UTC [62] LOG:  database system was shut down at 2021-12-02 19:52:35 UTC
2021-12-02 19:52:35.729 UTC [1] LOG:  database system is ready to accept connections

redis log is fine

jrichardsz avatar Dec 02 '21 19:12 jrichardsz