[Bug report]: unable to start docker container with docker-compose file
Describe the bug
Hi, i use the docker-compose template and iam unable to start the container, the web container always failed to start, and the docker compose logs showing me the error that the connection to the database is always refused
web-1 | time="2024-06-16T12:43:03Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.96.4:6432: connect: connection refused"
I used the Guide under this URL https://docs.getconvoy.io/deployment/install-convoy/docker the files are the original from github without any modification
Docker Version: 26.1.4, build 5650f9b Host OS: Ubuntu 22.04.4
Any Help?
I have No Idea why the Database Connection dont Work
Hi @Xtreme89, you can try deleting all the containers and starting afresh.
Hi,
sure i have tried it. i follow this guide and not more
https://docs.getconvoy.io/deployment/install-convoy/docker
Container "web" cant start successfully
Container local-web-1 Error
local-web-1 | Error: [postgres]: failed to open database - dial tcp 192.168.160.4:6432: connect: connection refused
local-web-1 | time="2024-06-20T19:52:35Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.160.4:6432: connect: connection refused"
when i access the gui, i can see it and login is also okay, but i think database is not working because of the error in the top
`local-web-1 | {"level":"info","msg":"Created Superuser with username: [email protected] and password: default","time":"2024-06-20 19:52:41"}`
when i look at the compose file in the directory /configs/ then there differents between the file in /configs/local/ what i have started in the guide
Just to be clear, I started the compose file in the configs/local/ directory as written in the instructions
Can you share the logs from the database container?
Sure, here
Database
2024-06-20T20:04:28.101854382Z postgresql 20:04:28.10 INFO ==>
2024-06-20T20:04:28.104883881Z postgresql 20:04:28.10 INFO ==> Welcome to the Bitnami postgresql container
2024-06-20T20:04:28.108178417Z postgresql 20:04:28.10 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
2024-06-20T20:04:28.111785763Z postgresql 20:04:28.11 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
2024-06-20T20:04:28.115202931Z postgresql 20:04:28.11 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
2024-06-20T20:04:28.117905098Z postgresql 20:04:28.11 INFO ==>
2024-06-20T20:04:28.370447310Z postgresql 20:04:28.36 INFO ==> ** Starting PostgreSQL setup **
2024-06-20T20:04:28.407674412Z postgresql 20:04:28.40 INFO ==> Validating settings in POSTGRESQL_* env vars..
2024-06-20T20:04:28.422219587Z postgresql 20:04:28.42 INFO ==> Loading custom pre-init scripts...
2024-06-20T20:04:28.631027130Z postgresql 20:04:28.63 INFO ==> Initializing PostgreSQL database...
2024-06-20T20:04:28.725734962Z postgresql 20:04:28.72 INFO ==> pg_hba.conf file not detected. Generating it...
2024-06-20T20:04:28.728906440Z postgresql 20:04:28.72 INFO ==> Generating local authentication configuration
2024-06-20T20:04:29.153408011Z postgresql 20:04:29.15 INFO ==> Deploying PostgreSQL with persisted data...
2024-06-20T20:04:32.219559593Z postgresql 20:04:32.21 INFO ==> Configuring replication parameters
2024-06-20T20:04:32.265908116Z postgresql 20:04:32.26 INFO ==> Configuring fsync
2024-06-20T20:04:32.283565725Z postgresql 20:04:32.28 INFO ==> Configuring synchronous_replication
2024-06-20T20:04:32.324764849Z postgresql 20:04:32.32 INFO ==> Loading custom scripts...
2024-06-20T20:04:32.333564710Z postgresql 20:04:32.33 INFO ==> Enabling remote connections
2024-06-20T20:04:32.369600801Z postgresql 20:04:32.36 INFO ==> ** PostgreSQL setup finished! **
2024-06-20T20:04:32.369628120Z
2024-06-20T20:04:32.412817269Z postgresql 20:04:32.40 INFO ==> ** Starting PostgreSQL **
2024-06-20T20:04:37.883432705Z 2024-06-20 20:04:37.881 GMT [1] LOG: starting PostgreSQL 16.3 on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-06-20T20:04:37.909758255Z 2024-06-20 20:04:37.909 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-06-20T20:04:37.909819777Z 2024-06-20 20:04:37.909 GMT [1] LOG: listening on IPv6 address "::", port 5432
2024-06-20T20:04:37.912494527Z 2024-06-20 20:04:37.912 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2024-06-20T20:04:37.924335375Z 2024-06-20 20:04:37.922 GMT [89] LOG: database system was shut down at 2024-06-20 20:00:16 GMT
2024-06-20T20:04:37.933473934Z 2024-06-20 20:04:37.933 GMT [1] LOG: database system is ready to accept connections
Bouncer
2024-06-20T20:04:28.331996717Z pgbouncer 20:04:28.33 INFO ==> Welcome to the Bitnami pgbouncer container
2024-06-20T20:04:28.335183886Z pgbouncer 20:04:28.33 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
2024-06-20T20:04:28.338734268Z pgbouncer 20:04:28.33 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
2024-06-20T20:04:28.341451914Z pgbouncer 20:04:28.34 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
2024-06-20T20:04:28.343847798Z pgbouncer 20:04:28.34 INFO ==>
2024-06-20T20:04:28.557833938Z pgbouncer 20:04:28.55 INFO ==> ** Starting PgBouncer setup **
2024-06-20T20:04:28.582361896Z pgbouncer 20:04:28.58 INFO ==> Validating settings in PGBOUNCER_* env vars...
2024-06-20T20:04:28.587184384Z pgbouncer 20:04:28.58 WARN ==> You set the environment variable PGBOUNCER_AUTH_TYPE=trust. For safety reasons, do not use this flag in a production environment.
2024-06-20T20:04:28.593384009Z pgbouncer 20:04:28.59 INFO ==> Initializing PgBouncer...
2024-06-20T20:04:28.769329004Z pgbouncer 20:04:28.76 INFO ==> Found configuration files in
2024-06-20T20:04:29.072686352Z pgbouncer 20:04:29.07 INFO ==> Waiting for PostgreSQL backend to be accessible
2024-06-20T20:04:38.232963533Z pgbouncer 20:04:38.23 INFO ==> Backend postgres:5432 accessible
2024-06-20T20:04:38.235679563Z pgbouncer 20:04:38.23 INFO ==> Configuring credentials
2024-06-20T20:04:38.264048739Z pgbouncer 20:04:38.26 INFO ==> Creating configuration file
2024-06-20T20:04:38.982611697Z pgbouncer 20:04:38.98 INFO ==> Loading custom scripts...
2024-06-20T20:04:39.031883639Z
2024-06-20T20:04:39.031968021Z pgbouncer 20:04:39.03 INFO ==> ** PgBouncer setup finished! **
2024-06-20T20:04:39.066609165Z pgbouncer 20:04:39.06 INFO ==> ** Starting PgBouncer **
2024-06-20T20:04:40.444691184Z 2024-06-20 20:04:40.444 UTC [1] LOG kernel file descriptor limit: 1048576 (hard: 1048576); max_client_conn: 120, max expected fd use: 252
2024-06-20T20:04:40.445986588Z 2024-06-20 20:04:40.445 UTC [1] LOG listening on 0.0.0.0:6432
2024-06-20T20:04:40.446145763Z 2024-06-20 20:04:40.445 UTC [1] LOG listening on unix:/tmp//.s.PGSQL.6432
2024-06-20T20:04:40.446242542Z 2024-06-20 20:04:40.446 UTC [1] LOG process up: PgBouncer 1.22.1, libevent 2.1.12-stable (epoll), adns: c-ares 1.18.1, tls: OpenSSL 3.0.11 19 Sep 2023
2024-06-20T20:04:42.964423966Z 2024-06-20 20:04:42.964 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57322 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:42.965306433Z 2024-06-20 20:04:42.965 UTC [1] LOG S-0x55922a8f56b0: convoy/[email protected]:5432 new connection to server (from 192.168.176.4:41992)
2024-06-20T20:04:43.500977846Z 2024-06-20 20:04:43.500 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57322 closing because: client close request (age=0s)
2024-06-20T20:04:43.502368280Z 2024-06-20 20:04:43.502 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57334 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.502960631Z 2024-06-20 20:04:43.502 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57334 closing because: client close request (age=0s)
2024-06-20T20:04:43.504352874Z 2024-06-20 20:04:43.504 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57350 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.512507613Z 2024-06-20 20:04:43.505 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57350 closing because: client close request (age=0s)
2024-06-20T20:04:43.514036362Z 2024-06-20 20:04:43.513 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57366 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.516485429Z 2024-06-20 20:04:43.516 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57366 closing because: client close request (age=0s)
2024-06-20T20:04:43.569328878Z 2024-06-20 20:04:43.569 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57380 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.570218900Z 2024-06-20 20:04:43.570 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57380 closing because: client close request (age=0s)
2024-06-20T20:04:43.571718832Z 2024-06-20 20:04:43.571 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57396 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.573180445Z 2024-06-20 20:04:43.573 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57396 closing because: client close request (age=0s)
2024-06-20T20:04:43.574768143Z 2024-06-20 20:04:43.574 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57410 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.579961996Z 2024-06-20 20:04:43.579 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57410 closing because: client close request (age=0s)
2024-06-20T20:04:43.581613713Z 2024-06-20 20:04:43.581 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57414 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.588407603Z 2024-06-20 20:04:43.588 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57414 closing because: client close request (age=0s)
2024-06-20T20:04:43.589880157Z 2024-06-20 20:04:43.589 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57420 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.592285849Z 2024-06-20 20:04:43.592 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57420 closing because: client close request (age=0s)
2024-06-20T20:04:43.593792494Z 2024-06-20 20:04:43.593 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57434 login attempt: db=convoy user=convoy tls=no
2024-06-20T20:04:43.607328061Z 2024-06-20 20:04:43.607 UTC [1] LOG C-0x55922a8ed030: convoy/[email protected]:57434 closing because: client close request (age=0s)
2024-06-20T20:05:40.451613518Z 2024-06-20 20:05:40.451 UTC [1] LOG stats: 0 xacts/s, 0 queries/s, 0 client parses/s, 0 server parses/s, 0 binds/s, in 29 B/s, out 70 B/s, xact 2088 us, query 2088 us, wait 1993 us
2024-06-20T20:06:40.449110205Z 2024-06-20 20:06:40.448 UTC [1] LOG stats: 0 xacts/s, 0 queries/s, 0 client parses/s, 0 server parses/s, 0 binds/s, in 0 B/s, out 0 B/s, xact 0 us, query 0 us, wait 0 us
Web
2024-06-20T20:04:29.371656770Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:29.372257679Z Usage:
2024-06-20T20:04:29.372289252Z Convoy migrate up [flags]
2024-06-20T20:04:29.372295726Z
2024-06-20T20:04:29.372300978Z Aliases:
2024-06-20T20:04:29.372306022Z up, migrate-up
2024-06-20T20:04:29.372311255Z
2024-06-20T20:04:29.372316400Z Flags:
2024-06-20T20:04:29.372321479Z -h, --help help for up
2024-06-20T20:04:29.372326458Z
2024-06-20T20:04:29.372331359Z Global Flags:
2024-06-20T20:04:29.372318249Z time="2024-06-20T20:04:29Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:29.372336317Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:29.372378160Z --db-database string Database Database
2024-06-20T20:04:29.372387155Z --db-host string Database Host
2024-06-20T20:04:29.372395517Z --db-options string Database Options
2024-06-20T20:04:29.372403386Z --db-password string Database Password
2024-06-20T20:04:29.372410816Z --db-port int Database Port
2024-06-20T20:04:29.372417795Z --db-scheme string Database Scheme
2024-06-20T20:04:29.372425099Z --db-type string Database provider
2024-06-20T20:04:29.372432321Z --db-username string Database Username
2024-06-20T20:04:29.372439235Z --enable-profiling Enable profiling
2024-06-20T20:04:29.372446013Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:29.372453612Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:29.372460724Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:29.372467621Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:29.372474238Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:29.372480806Z --redis-database string Redis database
2024-06-20T20:04:29.372487289Z --redis-host string Redis Host
2024-06-20T20:04:29.372494199Z --redis-password string Redis Password
2024-06-20T20:04:29.372500773Z --redis-port int Redis Port
2024-06-20T20:04:29.372507548Z --redis-scheme string Redis Scheme
2024-06-20T20:04:29.372515111Z --redis-type string Redis provider
2024-06-20T20:04:29.372522614Z --redis-username string Redis Username
2024-06-20T20:04:29.372530389Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:29.372565880Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:29.372611365Z
2024-06-20T20:04:29.429166785Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:29.430100507Z time="2024-06-20T20:04:29Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:29.430180449Z Usage:
2024-06-20T20:04:29.430188777Z Convoy server [flags]
2024-06-20T20:04:29.430194342Z
2024-06-20T20:04:29.430199408Z Aliases:
2024-06-20T20:04:29.430204493Z server, serve, s
2024-06-20T20:04:29.430209924Z
2024-06-20T20:04:29.430219549Z Flags:
2024-06-20T20:04:29.430224948Z --api-auth string API-Key authentication credentials
2024-06-20T20:04:29.430230288Z --basic-auth string Basic authentication credentials
2024-06-20T20:04:29.430235831Z --cache string Cache Provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:29.430241484Z --env string Convoy environment (default "development")
2024-06-20T20:04:29.430246875Z -h, --help help for server
2024-06-20T20:04:29.430251911Z --host string Host - The application host name
2024-06-20T20:04:29.430256970Z --limiter string Rate limiter provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:29.430262538Z --log-level string Log level
2024-06-20T20:04:29.430267616Z --logger string Logger (default "info")
2024-06-20T20:04:29.430272775Z --max-response-size uint Max response size
2024-06-20T20:04:29.430277815Z --native Enable native-realm authentication
2024-06-20T20:04:29.430283210Z --port uint32 Server port
2024-06-20T20:04:29.430288853Z --promaddr string Prometheus dsn
2024-06-20T20:04:29.430294250Z --proxy string HTTP Proxy
2024-06-20T20:04:29.430299256Z --ssl Configure SSL
2024-06-20T20:04:29.430304262Z --ssl-cert-file string SSL certificate file
2024-06-20T20:04:29.430309822Z --ssl-key-file string SSL key file
2024-06-20T20:04:29.430314875Z
2024-06-20T20:04:29.430319764Z Global Flags:
2024-06-20T20:04:29.430324734Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:29.430329974Z --db-database string Database Database
2024-06-20T20:04:29.430334979Z --db-host string Database Host
2024-06-20T20:04:29.430339967Z --db-options string Database Options
2024-06-20T20:04:29.430377895Z --db-password string Database Password
2024-06-20T20:04:29.430384509Z --db-port int Database Port
2024-06-20T20:04:29.430389760Z --db-scheme string Database Scheme
2024-06-20T20:04:29.430394780Z --db-type string Database provider
2024-06-20T20:04:29.430399786Z --db-username string Database Username
2024-06-20T20:04:29.430404764Z --enable-profiling Enable profiling
2024-06-20T20:04:29.430409777Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:29.430414840Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:29.430419901Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:29.430424965Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:29.430430495Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:29.430435682Z --redis-database string Redis database
2024-06-20T20:04:29.430440706Z --redis-host string Redis Host
2024-06-20T20:04:29.430446105Z --redis-password string Redis Password
2024-06-20T20:04:29.430453318Z --redis-port int Redis Port
2024-06-20T20:04:29.430461370Z --redis-scheme string Redis Scheme
2024-06-20T20:04:29.430472670Z --redis-type string Redis provider
2024-06-20T20:04:29.430481812Z --redis-username string Redis Username
2024-06-20T20:04:29.430488671Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:29.430496538Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:29.430502826Z
2024-06-20T20:04:30.403576704Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:30.404054463Z Usage:
2024-06-20T20:04:30.404084660Z Convoy migrate up [flags]
2024-06-20T20:04:30.404092141Z
2024-06-20T20:04:30.404097401Z Aliases:
2024-06-20T20:04:30.404102611Z up, migrate-up
2024-06-20T20:04:30.404107682Z
2024-06-20T20:04:30.404112721Z Flags:
2024-06-20T20:04:30.404117731Z -h, --help help for up
2024-06-20T20:04:30.404124384Z
2024-06-20T20:04:30.404129577Z Global Flags:
2024-06-20T20:04:30.404134747Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:30.404140040Z --db-database string Database Database
2024-06-20T20:04:30.404145168Z --db-host string Database Host
2024-06-20T20:04:30.404184163Z --db-options string Database Options
2024-06-20T20:04:30.404190858Z --db-password string Database Password
2024-06-20T20:04:30.404195939Z --db-port int Database Port
2024-06-20T20:04:30.404201092Z --db-scheme string Database Scheme
2024-06-20T20:04:30.404206145Z --db-type string Database provider
2024-06-20T20:04:30.404211250Z --db-username string Database Username
2024-06-20T20:04:30.404216271Z --enable-profiling Enable profiling
2024-06-20T20:04:30.404221304Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:30.404226367Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:30.404231411Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:30.404236488Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:30.404241510Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:30.404246624Z --redis-database string Redis database
2024-06-20T20:04:30.404251649Z --redis-host string Redis Host
2024-06-20T20:04:30.404256672Z --redis-password string Redis Password
2024-06-20T20:04:30.404261721Z --redis-port int Redis Port
2024-06-20T20:04:30.404266725Z --redis-scheme string Redis Scheme
2024-06-20T20:04:30.404271759Z --redis-type string Redis provider
2024-06-20T20:04:30.404276766Z --redis-username string Redis Username
2024-06-20T20:04:30.404281826Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:30.404287109Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:30.404292357Z
2024-06-20T20:04:30.404107444Z time="2024-06-20T20:04:30Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:30.451742945Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:30.452381610Z time="2024-06-20T20:04:30Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:30.452428710Z Usage:
2024-06-20T20:04:30.452436928Z Convoy server [flags]
2024-06-20T20:04:30.452442140Z
2024-06-20T20:04:30.452447189Z Aliases:
2024-06-20T20:04:30.452452448Z server, serve, s
2024-06-20T20:04:30.452457953Z
2024-06-20T20:04:30.452462922Z Flags:
2024-06-20T20:04:30.452467875Z --api-auth string API-Key authentication credentials
2024-06-20T20:04:30.452509570Z --basic-auth string Basic authentication credentials
2024-06-20T20:04:30.452516481Z --cache string Cache Provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:30.452521996Z --env string Convoy environment (default "development")
2024-06-20T20:04:30.452528371Z -h, --help help for server
2024-06-20T20:04:30.452536768Z --host string Host - The application host name
2024-06-20T20:04:30.452547857Z --limiter string Rate limiter provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:30.452555705Z --log-level string Log level
2024-06-20T20:04:30.452562310Z --logger string Logger (default "info")
2024-06-20T20:04:30.452569672Z --max-response-size uint Max response size
2024-06-20T20:04:30.452614936Z --native Enable native-realm authentication
2024-06-20T20:04:30.452623951Z --port uint32 Server port
2024-06-20T20:04:30.452631378Z --promaddr string Prometheus dsn
2024-06-20T20:04:30.452638637Z --proxy string HTTP Proxy
2024-06-20T20:04:30.452645674Z --ssl Configure SSL
2024-06-20T20:04:30.452652299Z --ssl-cert-file string SSL certificate file
2024-06-20T20:04:30.452659578Z --ssl-key-file string SSL key file
2024-06-20T20:04:30.452666557Z
2024-06-20T20:04:30.452673382Z Global Flags:
2024-06-20T20:04:30.452680382Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:30.452687690Z --db-database string Database Database
2024-06-20T20:04:30.452695058Z --db-host string Database Host
2024-06-20T20:04:30.452702530Z --db-options string Database Options
2024-06-20T20:04:30.452710103Z --db-password string Database Password
2024-06-20T20:04:30.452717047Z --db-port int Database Port
2024-06-20T20:04:30.452724024Z --db-scheme string Database Scheme
2024-06-20T20:04:30.452731092Z --db-type string Database provider
2024-06-20T20:04:30.452738064Z --db-username string Database Username
2024-06-20T20:04:30.452745102Z --enable-profiling Enable profiling
2024-06-20T20:04:30.452752239Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:30.452758302Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:30.452763394Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:30.452769147Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:30.452791008Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:30.452798978Z --redis-database string Redis database
2024-06-20T20:04:30.452806094Z --redis-host string Redis Host
2024-06-20T20:04:30.452813106Z --redis-password string Redis Password
2024-06-20T20:04:30.452820080Z --redis-port int Redis Port
2024-06-20T20:04:30.452827083Z --redis-scheme string Redis Scheme
2024-06-20T20:04:30.452833986Z --redis-type string Redis provider
2024-06-20T20:04:30.452840980Z --redis-username string Redis Username
2024-06-20T20:04:30.452849781Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:30.452859901Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:30.452867911Z
2024-06-20T20:04:31.878227140Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:31.879266937Z time="2024-06-20T20:04:31Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:31.879319732Z Usage:
2024-06-20T20:04:31.879327610Z Convoy migrate up [flags]
2024-06-20T20:04:31.879333438Z
2024-06-20T20:04:31.879338690Z Aliases:
2024-06-20T20:04:31.879344515Z up, migrate-up
2024-06-20T20:04:31.879349986Z
2024-06-20T20:04:31.879355270Z Flags:
2024-06-20T20:04:31.879360631Z -h, --help help for up
2024-06-20T20:04:31.879366088Z
2024-06-20T20:04:31.879371341Z Global Flags:
2024-06-20T20:04:31.879377008Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:31.879383318Z --db-database string Database Database
2024-06-20T20:04:31.879390981Z --db-host string Database Host
2024-06-20T20:04:31.879398691Z --db-options string Database Options
2024-06-20T20:04:31.879406520Z --db-password string Database Password
2024-06-20T20:04:31.879413291Z --db-port int Database Port
2024-06-20T20:04:31.879421051Z --db-scheme string Database Scheme
2024-06-20T20:04:31.879428695Z --db-type string Database provider
2024-06-20T20:04:31.879436970Z --db-username string Database Username
2024-06-20T20:04:31.879444997Z --enable-profiling Enable profiling
2024-06-20T20:04:31.879450701Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:31.879487008Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:31.879493930Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:31.879499398Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:31.879504751Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:31.879510179Z --redis-database string Redis database
2024-06-20T20:04:31.879515540Z --redis-host string Redis Host
2024-06-20T20:04:31.879521280Z --redis-password string Redis Password
2024-06-20T20:04:31.879526671Z --redis-port int Redis Port
2024-06-20T20:04:31.879532089Z --redis-scheme string Redis Scheme
2024-06-20T20:04:31.879537422Z --redis-type string Redis provider
2024-06-20T20:04:31.879542831Z --redis-username string Redis Username
2024-06-20T20:04:31.879548279Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:31.879553767Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:31.879559519Z
2024-06-20T20:04:31.938306935Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:31.939226555Z Usage:
2024-06-20T20:04:31.939259781Z Convoy server [flags]
2024-06-20T20:04:31.939267962Z
2024-06-20T20:04:31.939275525Z Aliases:
2024-06-20T20:04:31.939282477Z server, serve, s
2024-06-20T20:04:31.939289242Z
2024-06-20T20:04:31.939296530Z Flags:
2024-06-20T20:04:31.939282696Z time="2024-06-20T20:04:31Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:31.939303341Z --api-auth string API-Key authentication credentials
2024-06-20T20:04:31.939333471Z --basic-auth string Basic authentication credentials
2024-06-20T20:04:31.939351422Z --cache string Cache Provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:31.939359258Z --env string Convoy environment (default "development")
2024-06-20T20:04:31.939366411Z -h, --help help for server
2024-06-20T20:04:31.939373592Z --host string Host - The application host name
2024-06-20T20:04:31.939381298Z --limiter string Rate limiter provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:31.939388734Z --log-level string Log level
2024-06-20T20:04:31.939395572Z --logger string Logger (default "info")
2024-06-20T20:04:31.939402673Z --max-response-size uint Max response size
2024-06-20T20:04:31.939446617Z --native Enable native-realm authentication
2024-06-20T20:04:31.939460470Z --port uint32 Server port
2024-06-20T20:04:31.939465847Z --promaddr string Prometheus dsn
2024-06-20T20:04:31.939470838Z --proxy string HTTP Proxy
2024-06-20T20:04:31.939475898Z --ssl Configure SSL
2024-06-20T20:04:31.939480896Z --ssl-cert-file string SSL certificate file
2024-06-20T20:04:31.939485873Z --ssl-key-file string SSL key file
2024-06-20T20:04:31.939490907Z
2024-06-20T20:04:31.939495761Z Global Flags:
2024-06-20T20:04:31.939500758Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:31.939505991Z --db-database string Database Database
2024-06-20T20:04:31.939510999Z --db-host string Database Host
2024-06-20T20:04:31.939516012Z --db-options string Database Options
2024-06-20T20:04:31.939521056Z --db-password string Database Password
2024-06-20T20:04:31.939526028Z --db-port int Database Port
2024-06-20T20:04:31.939535829Z --db-scheme string Database Scheme
2024-06-20T20:04:31.939541085Z --db-type string Database provider
2024-06-20T20:04:31.939546097Z --db-username string Database Username
2024-06-20T20:04:31.939554579Z --enable-profiling Enable profiling
2024-06-20T20:04:31.939559719Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:31.939565205Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:31.939570462Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:31.939575462Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:31.939582354Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:31.939587505Z --redis-database string Redis database
2024-06-20T20:04:31.939592552Z --redis-host string Redis Host
2024-06-20T20:04:31.939597499Z --redis-password string Redis Password
2024-06-20T20:04:31.939602489Z --redis-port int Redis Port
2024-06-20T20:04:31.939611517Z --redis-scheme string Redis Scheme
2024-06-20T20:04:31.939616496Z --redis-type string Redis provider
2024-06-20T20:04:31.939621477Z --redis-username string Redis Username
2024-06-20T20:04:31.939626443Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:31.939631520Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:31.939645872Z
2024-06-20T20:04:33.890057591Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:33.890731231Z Usage:
2024-06-20T20:04:33.890764818Z Convoy migrate up [flags]
2024-06-20T20:04:33.890773978Z
2024-06-20T20:04:33.890780285Z Aliases:
2024-06-20T20:04:33.890787962Z up, migrate-up
2024-06-20T20:04:33.890795121Z
2024-06-20T20:04:33.890803559Z Flags:
2024-06-20T20:04:33.890810438Z -h, --help help for up
2024-06-20T20:04:33.890818194Z
2024-06-20T20:04:33.890826407Z Global Flags:
2024-06-20T20:04:33.890834361Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:33.890842032Z --db-database string Database Database
2024-06-20T20:04:33.890849844Z --db-host string Database Host
2024-06-20T20:04:33.890856977Z --db-options string Database Options
2024-06-20T20:04:33.890862456Z --db-password string Database Password
2024-06-20T20:04:33.890867891Z --db-port int Database Port
2024-06-20T20:04:33.890873259Z --db-scheme string Database Scheme
2024-06-20T20:04:33.890878762Z --db-type string Database provider
2024-06-20T20:04:33.890883890Z --db-username string Database Username
2024-06-20T20:04:33.890889483Z --enable-profiling Enable profiling
2024-06-20T20:04:33.890894558Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:33.890899776Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:33.890904834Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:33.890909892Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:33.890914935Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:33.890920061Z --redis-database string Redis database
2024-06-20T20:04:33.890925126Z --redis-host string Redis Host
2024-06-20T20:04:33.890930147Z --redis-password string Redis Password
2024-06-20T20:04:33.890935146Z --redis-port int Redis Port
2024-06-20T20:04:33.890940151Z --redis-scheme string Redis Scheme
2024-06-20T20:04:33.890945384Z --redis-type string Redis provider
2024-06-20T20:04:33.890952292Z --redis-username string Redis Username
2024-06-20T20:04:33.890966135Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:33.891013944Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:33.890804780Z time="2024-06-20T20:04:33Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:33.891022508Z
2024-06-20T20:04:33.942202729Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:33.943231335Z Usage:
2024-06-20T20:04:33.943261180Z Convoy server [flags]
2024-06-20T20:04:33.943269346Z
2024-06-20T20:04:33.943276786Z Aliases:
2024-06-20T20:04:33.943283730Z server, serve, s
2024-06-20T20:04:33.943291931Z
2024-06-20T20:04:33.943299091Z Flags:
2024-06-20T20:04:33.943355581Z --api-auth string API-Key authentication credentials
2024-06-20T20:04:33.943364504Z --basic-auth string Basic authentication credentials
2024-06-20T20:04:33.943371149Z --cache string Cache Provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:33.943378272Z --env string Convoy environment (default "development")
2024-06-20T20:04:33.943385373Z -h, --help help for server
2024-06-20T20:04:33.943392371Z --host string Host - The application host name
2024-06-20T20:04:33.943399066Z --limiter string Rate limiter provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:33.943406169Z --log-level string Log level
2024-06-20T20:04:33.943412817Z --logger string Logger (default "info")
2024-06-20T20:04:33.943419610Z --max-response-size uint Max response size
2024-06-20T20:04:33.943426376Z --native Enable native-realm authentication
2024-06-20T20:04:33.943433046Z --port uint32 Server port
2024-06-20T20:04:33.943439588Z --promaddr string Prometheus dsn
2024-06-20T20:04:33.943446195Z --proxy string HTTP Proxy
2024-06-20T20:04:33.943452864Z --ssl Configure SSL
2024-06-20T20:04:33.943459561Z --ssl-cert-file string SSL certificate file
2024-06-20T20:04:33.943466276Z --ssl-key-file string SSL key file
2024-06-20T20:04:33.943472903Z
2024-06-20T20:04:33.943480169Z Global Flags:
2024-06-20T20:04:33.943487006Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:33.943494009Z --db-database string Database Database
2024-06-20T20:04:33.943501609Z --db-host string Database Host
2024-06-20T20:04:33.943509451Z --db-options string Database Options
2024-06-20T20:04:33.943556831Z --db-password string Database Password
2024-06-20T20:04:33.943565459Z --db-port int Database Port
2024-06-20T20:04:33.943572360Z --db-scheme string Database Scheme
2024-06-20T20:04:33.943579243Z --db-type string Database provider
2024-06-20T20:04:33.943585846Z --db-username string Database Username
2024-06-20T20:04:33.943592628Z --enable-profiling Enable profiling
2024-06-20T20:04:33.943279797Z time="2024-06-20T20:04:33Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:33.943599227Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:33.943630852Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:33.943639281Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:33.943644754Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:33.943651266Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:33.943656462Z --redis-database string Redis database
2024-06-20T20:04:33.943661588Z --redis-host string Redis Host
2024-06-20T20:04:33.943666718Z --redis-password string Redis Password
2024-06-20T20:04:33.943671728Z --redis-port int Redis Port
2024-06-20T20:04:33.943676812Z --redis-scheme string Redis Scheme
2024-06-20T20:04:33.943681870Z --redis-type string Redis provider
2024-06-20T20:04:33.943687103Z --redis-username string Redis Username
2024-06-20T20:04:33.943692156Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:33.943697331Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:33.943702478Z
2024-06-20T20:04:37.074245878Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:37.075069098Z time="2024-06-20T20:04:37Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:37.075117770Z Usage:
2024-06-20T20:04:37.075148906Z Convoy migrate up [flags]
2024-06-20T20:04:37.075157213Z
2024-06-20T20:04:37.075164576Z Aliases:
2024-06-20T20:04:37.075172788Z up, migrate-up
2024-06-20T20:04:37.075183129Z
2024-06-20T20:04:37.075190841Z Flags:
2024-06-20T20:04:37.075197493Z -h, --help help for up
2024-06-20T20:04:37.075205224Z
2024-06-20T20:04:37.075212615Z Global Flags:
2024-06-20T20:04:37.075253805Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:37.075262509Z --db-database string Database Database
2024-06-20T20:04:37.075270749Z --db-host string Database Host
2024-06-20T20:04:37.075277843Z --db-options string Database Options
2024-06-20T20:04:37.075284495Z --db-password string Database Password
2024-06-20T20:04:37.075290748Z --db-port int Database Port
2024-06-20T20:04:37.075296682Z --db-scheme string Database Scheme
2024-06-20T20:04:37.075303051Z --db-type string Database provider
2024-06-20T20:04:37.075309617Z --db-username string Database Username
2024-06-20T20:04:37.075316180Z --enable-profiling Enable profiling
2024-06-20T20:04:37.075323284Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:37.075330931Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:37.075338055Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:37.075345434Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:37.075352840Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:37.075358484Z --redis-database string Redis database
2024-06-20T20:04:37.075363556Z --redis-host string Redis Host
2024-06-20T20:04:37.075368638Z --redis-password string Redis Password
2024-06-20T20:04:37.075373687Z --redis-port int Redis Port
2024-06-20T20:04:37.075378763Z --redis-scheme string Redis Scheme
2024-06-20T20:04:37.075383841Z --redis-type string Redis provider
2024-06-20T20:04:37.075388814Z --redis-username string Redis Username
2024-06-20T20:04:37.075395282Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:37.075400594Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:37.075405749Z
2024-06-20T20:04:37.133253866Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:37.133841077Z time="2024-06-20T20:04:37Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:37.133867222Z Usage:
2024-06-20T20:04:37.133891975Z Convoy server [flags]
2024-06-20T20:04:37.133908522Z
2024-06-20T20:04:37.133914124Z Aliases:
2024-06-20T20:04:37.133919553Z server, serve, s
2024-06-20T20:04:37.133924656Z
2024-06-20T20:04:37.133957797Z Flags:
2024-06-20T20:04:37.133964550Z --api-auth string API-Key authentication credentials
2024-06-20T20:04:37.133969741Z --basic-auth string Basic authentication credentials
2024-06-20T20:04:37.133974728Z --cache string Cache Provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:37.133980110Z --env string Convoy environment (default "development")
2024-06-20T20:04:37.133985254Z -h, --help help for server
2024-06-20T20:04:37.133990363Z --host string Host - The application host name
2024-06-20T20:04:37.133995376Z --limiter string Rate limiter provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:37.134000827Z --log-level string Log level
2024-06-20T20:04:37.134005839Z --logger string Logger (default "info")
2024-06-20T20:04:37.134010985Z --max-response-size uint Max response size
2024-06-20T20:04:37.134016144Z --native Enable native-realm authentication
2024-06-20T20:04:37.134021110Z --port uint32 Server port
2024-06-20T20:04:37.134026069Z --promaddr string Prometheus dsn
2024-06-20T20:04:37.134031061Z --proxy string HTTP Proxy
2024-06-20T20:04:37.134036001Z --ssl Configure SSL
2024-06-20T20:04:37.134040945Z --ssl-cert-file string SSL certificate file
2024-06-20T20:04:37.134045916Z --ssl-key-file string SSL key file
2024-06-20T20:04:37.134050865Z
2024-06-20T20:04:37.134055698Z Global Flags:
2024-06-20T20:04:37.134060624Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:37.134065855Z --db-database string Database Database
2024-06-20T20:04:37.134070857Z --db-host string Database Host
2024-06-20T20:04:37.134075820Z --db-options string Database Options
2024-06-20T20:04:37.134080968Z --db-password string Database Password
2024-06-20T20:04:37.134085947Z --db-port int Database Port
2024-06-20T20:04:37.134092806Z --db-scheme string Database Scheme
2024-06-20T20:04:37.134103056Z --db-type string Database provider
2024-06-20T20:04:37.134114938Z --db-username string Database Username
2024-06-20T20:04:37.134122557Z --enable-profiling Enable profiling
2024-06-20T20:04:37.134129864Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:37.134137565Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:37.134144437Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:37.134159736Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:37.134167979Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:37.134174913Z --redis-database string Redis database
2024-06-20T20:04:37.134182486Z --redis-host string Redis Host
2024-06-20T20:04:37.134189885Z --redis-password string Redis Password
2024-06-20T20:04:37.134196709Z --redis-port int Redis Port
2024-06-20T20:04:37.134209012Z --redis-scheme string Redis Scheme
2024-06-20T20:04:37.134220393Z --redis-type string Redis provider
2024-06-20T20:04:37.134233717Z --redis-username string Redis Username
2024-06-20T20:04:37.134240647Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:37.134247708Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:37.134257717Z
2024-06-20T20:04:39.240166115Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:39.240753709Z Usage:
2024-06-20T20:04:39.240783790Z Convoy migrate up [flags]
2024-06-20T20:04:39.240792933Z
2024-06-20T20:04:39.240799542Z Aliases:
2024-06-20T20:04:39.240806649Z up, migrate-up
2024-06-20T20:04:39.240814233Z
2024-06-20T20:04:39.240820205Z Flags:
2024-06-20T20:04:39.240826495Z -h, --help help for up
2024-06-20T20:04:39.240833346Z
2024-06-20T20:04:39.240840365Z Global Flags:
2024-06-20T20:04:39.240846608Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:39.240853614Z --db-database string Database Database
2024-06-20T20:04:39.240861045Z --db-host string Database Host
2024-06-20T20:04:39.240868454Z --db-options string Database Options
2024-06-20T20:04:39.240875792Z --db-password string Database Password
2024-06-20T20:04:39.240882482Z --db-port int Database Port
2024-06-20T20:04:39.240888507Z --db-scheme string Database Scheme
2024-06-20T20:04:39.240901279Z --db-type string Database provider
2024-06-20T20:04:39.240872028Z time="2024-06-20T20:04:39Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:39.240908201Z --db-username string Database Username
2024-06-20T20:04:39.240939607Z --enable-profiling Enable profiling
2024-06-20T20:04:39.240985840Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:39.240999605Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:39.241006779Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:39.241014128Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:39.241021293Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:39.241029209Z --redis-database string Redis database
2024-06-20T20:04:39.241035691Z --redis-host string Redis Host
2024-06-20T20:04:39.241041957Z --redis-password string Redis Password
2024-06-20T20:04:39.241048622Z --redis-port int Redis Port
2024-06-20T20:04:39.241054791Z --redis-scheme string Redis Scheme
2024-06-20T20:04:39.241062246Z --redis-type string Redis provider
2024-06-20T20:04:39.241071080Z --redis-username string Redis Username
2024-06-20T20:04:39.241077686Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:39.241083868Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:39.241090036Z
2024-06-20T20:04:39.292657874Z Error: [postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused
2024-06-20T20:04:39.293411186Z time="2024-06-20T20:04:39Z" level=fatal msg="[postgres]: failed to open database - dial tcp 192.168.176.4:6432: connect: connection refused"
2024-06-20T20:04:39.293474664Z Usage:
2024-06-20T20:04:39.293485785Z Convoy server [flags]
2024-06-20T20:04:39.293494345Z
2024-06-20T20:04:39.293501170Z Aliases:
2024-06-20T20:04:39.293507379Z server, serve, s
2024-06-20T20:04:39.293513663Z
2024-06-20T20:04:39.293519691Z Flags:
2024-06-20T20:04:39.293525703Z --api-auth string API-Key authentication credentials
2024-06-20T20:04:39.293532371Z --basic-auth string Basic authentication credentials
2024-06-20T20:04:39.293538751Z --cache string Cache Provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:39.293553975Z --env string Convoy environment (default "development")
2024-06-20T20:04:39.293567234Z -h, --help help for server
2024-06-20T20:04:39.293574291Z --host string Host - The application host name
2024-06-20T20:04:39.293581378Z --limiter string Rate limiter provider ("redis" or "in-memory") (default "redis")
2024-06-20T20:04:39.293591080Z --log-level string Log level
2024-06-20T20:04:39.293599439Z --logger string Logger (default "info")
2024-06-20T20:04:39.293640798Z --max-response-size uint Max response size
2024-06-20T20:04:39.293650179Z --native Enable native-realm authentication
2024-06-20T20:04:39.293657886Z --port uint32 Server port
2024-06-20T20:04:39.293664609Z --promaddr string Prometheus dsn
2024-06-20T20:04:39.293671523Z --proxy string HTTP Proxy
2024-06-20T20:04:39.293680471Z --ssl Configure SSL
2024-06-20T20:04:39.293688521Z --ssl-cert-file string SSL certificate file
2024-06-20T20:04:39.293694696Z --ssl-key-file string SSL key file
2024-06-20T20:04:39.293700992Z
2024-06-20T20:04:39.293706762Z Global Flags:
2024-06-20T20:04:39.293713015Z --config string Configuration file for convoy (default "./convoy.json")
2024-06-20T20:04:39.293719477Z --db-database string Database Database
2024-06-20T20:04:39.293725667Z --db-host string Database Host
2024-06-20T20:04:39.293732702Z --db-options string Database Options
2024-06-20T20:04:39.293739367Z --db-password string Database Password
2024-06-20T20:04:39.293753333Z --db-port int Database Port
2024-06-20T20:04:39.293760336Z --db-scheme string Database Scheme
2024-06-20T20:04:39.293768045Z --db-type string Database provider
2024-06-20T20:04:39.293776178Z --db-username string Database Username
2024-06-20T20:04:39.293783187Z --enable-profiling Enable profiling
2024-06-20T20:04:39.293789259Z --feature-flag string Enable feature flags (experimental)
2024-06-20T20:04:39.293795632Z --otel-auth-header-name string OTel backend auth header name
2024-06-20T20:04:39.293801880Z --otel-auth-header-value string OTel backend auth header value
2024-06-20T20:04:39.293808336Z --otel-collector-url string OTel collector URL
2024-06-20T20:04:39.293815238Z --otel-sample-rate float OTel tracing sample rate (default 1)
2024-06-20T20:04:39.293822184Z --redis-database string Redis database
2024-06-20T20:04:39.293828737Z --redis-host string Redis Host
2024-06-20T20:04:39.293835128Z --redis-password string Redis Password
2024-06-20T20:04:39.293841682Z --redis-port int Redis Port
2024-06-20T20:04:39.293847647Z --redis-scheme string Redis Scheme
2024-06-20T20:04:39.293853904Z --redis-type string Redis provider
2024-06-20T20:04:39.293860797Z --redis-username string Redis Username
2024-06-20T20:04:39.293868065Z --sentry-dsn string Sentry backend dsn
2024-06-20T20:04:39.293884624Z --tracer-type string Tracer backend, e.g. sentry, datadog or otel
2024-06-20T20:04:39.293891851Z
2024-06-20T20:04:43.607695541Z {"level":"info","msg":"Starting Convoy control plane...","time":"2024-06-20 20:04:43"}
Redis
2024-06-20T20:04:28.007599134Z 1:C 20 Jun 2024 20:04:28.007 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2024-06-20T20:04:28.007691892Z 1:C 20 Jun 2024 20:04:28.007 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-06-20T20:04:28.007707349Z 1:C 20 Jun 2024 20:04:28.007 * Redis version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
2024-06-20T20:04:28.007718525Z 1:C 20 Jun 2024 20:04:28.007 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
2024-06-20T20:04:28.008364024Z 1:M 20 Jun 2024 20:04:28.008 * monotonic clock: POSIX clock_gettime
2024-06-20T20:04:28.009449573Z 1:M 20 Jun 2024 20:04:28.009 * Running mode=standalone, port=6379.
2024-06-20T20:04:28.010628868Z 1:M 20 Jun 2024 20:04:28.010 * Server initialized
2024-06-20T20:04:28.010692103Z 1:M 20 Jun 2024 20:04:28.010 * Loading RDB produced by version 7.2.5
2024-06-20T20:04:28.010702809Z 1:M 20 Jun 2024 20:04:28.010 * RDB age 252 seconds
2024-06-20T20:04:28.010709782Z 1:M 20 Jun 2024 20:04:28.010 * RDB memory usage when created 1.16 Mb
2024-06-20T20:04:28.010718506Z 1:M 20 Jun 2024 20:04:28.010 * Done loading RDB, keys loaded: 6, keys expired: 3.
2024-06-20T20:04:28.010726090Z 1:M 20 Jun 2024 20:04:28.010 * DB loaded from disk: 0.000 seconds
2024-06-20T20:04:28.010733726Z 1:M 20 Jun 2024 20:04:28.010 * Ready to accept connections tcp
2024-06-20T20:09:29.041573766Z 1:M 20 Jun 2024 20:09:29.041 * 100 changes in 300 seconds. Saving...
2024-06-20T20:09:29.042357233Z 1:M 20 Jun 2024 20:09:29.042 * Background saving started by pid 21
2024-06-20T20:09:29.047595906Z 21:C 20 Jun 2024 20:09:29.047 * DB saved on disk
2024-06-20T20:09:29.048162278Z 21:C 20 Jun 2024 20:09:29.048 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
2024-06-20T20:09:29.143304459Z 1:M 20 Jun 2024 20:09:29.143 * Background saving terminated with success
This log line means the web container eventually started:
{"level":"info","msg":"Starting Convoy control plane...","time":"2024-06-20 20:04:43"}
It is usually in a crash loop while waiting for the database to be ready.
Zu normally everything is working? The webcontainer ist only not waiting long enough for the database?
@Xtreme89 Yes.
OK thanks i will Check and report
Feel free to re-open this if you have any other issues. @Xtreme89