Have no idea how to further debug this problem. ;-(
Would appreciate any help to unblock the current situation. Thanks in advance.
My trace:
» astro dev start
Error checking feature flag no context set, have you authenticated to a cluster
Error checking feature flag no context set, have you authenticated to a cluster
Sending build context to Docker daemon 10.24kB
Step 1/1 : FROM quay.io/astronomer/ap-airflow:2.2.3-onbuild
# Executing 7 build triggers
---> Using cache
---> Using cache
---> Using cache
---> Using cache
---> Using cache
---> Using cache
---> Using cache
---> 55290f8b0e56
Successfully built 55290f8b0e56
Successfully tagged quickstart_fa962c/airflow:latest
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Creating network "quickstartfa962c_airflow" with driver "bridge"
Creating volume "quickstartfa962c_postgres_data" with driver "local"
Creating volume "quickstartfa962c_airflow_logs" with driver "local"
Airflow Webserver: http://localhost:8080
Postgres Database: localhost:5432/postgres
The default credentials are admin:admin
» docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bb586a942508 quickstart_fa962c/airflow:latest "/entrypoint bash -c…" 8 minutes ago Up 8 minutes 0.0.0.0:8080->8080/tcp quickstartfa962c_webserver_1
63e8b512fa17 quickstart_fa962c/airflow:latest "/entrypoint bash -c…" 8 minutes ago Up 8 minutes quickstartfa962c_scheduler_1
7b1db07b09e5 postgres:12.2 "docker-entrypoint.s…" 8 minutes ago Up 8 minutes 0.0.0.0:5432->5432/tcp quickstartfa962c_postgres_1
» curl http://localhost:8080
curl: (52) Empty reply from server
» astro version
Error checking feature flag no context set, have you authenticated to a cluster
Error checking feature flag no context set, have you authenticated to a cluster
Astro CLI Version: 0.27.0, Git Commit: 545e76ce1480535561755d97f82c0bf37bbd014f
Astro Server Version: Please authenticate to a cluster to see server version
My setup is MacOS 12.0.1 with Docker Desktop 4.3.1.
» docker logs quickstartfa962c_webserver_1
Waiting for host: 0.0.0.0 5432
» docker logs quickstartfa962c_scheduler_1
Waiting for host: 0.0.0.0 5432
» docker logs quickstartfa962c_postgres_1
...
2021-12-22 06:22:08.248 UTC [1] LOG: starting PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-12-22 06:22:08.248 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-12-22 06:22:08.248 UTC [1] LOG: listening on IPv6 address "::", port 5432
2021-12-22 06:22:08.252 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-12-22 06:22:08.263 UTC [57] LOG: database system was shut down at 2021-12-22 06:22:08 UTC
2021-12-22 06:22:08.270 UTC [1] LOG: database system is ready to accept connections
Verified via psql that I can login to the postgresql container at localhost:5432.
Any option that I can bump up the logging level of the webserver and scheduler container?
Could you try upgrading your astro cli to 0.27.1, deleting your ~/.astro/config.yaml and then doing astro dev stop && astro dev start from your project folder?
Upgraded astro cli to 0.27.1, deleted ~/.astro/config.yaml, did astro dev stop && astro dev start, still same problem as above.
The newly created config.yaml is identical to the one created by 0.27.0. @rbankston
I faced the same problem on the same version of astro CLI (0.27.0) on Mac OS and upgrade to 0.27.1 helped me. The address for postgres container in config.yaml was changed from “0.0.0.0” to “postgres”: