hellodata-be icon indicating copy to clipboard operation
hellodata-be copied to clipboard

Docker Compose up fails

Open loleg opened this issue 8 months ago • 10 comments

Following the current instructions on the latest code with an up-to-date Arch Linux machine with 16GB RAM, on which Airflow standalone works fine, docker-compose up fails:

airflow-scheduler-1                                | [2024-06-19T11:57:52.361+0000] {scheduler_job_runner.py:1004} DEBUG - Ran scheduling loop in 0.07 seconds
airflow-triggerer-1                                | [2024-06-19T11:57:52.677+0000] {job.py:209} DEBUG - [heartbeat]
airflow-scheduler-1                                | [2024-06-19T11:57:52.860+0000] {retries.py:93} DEBUG - Running DagWarning._purge_inactive_dag_warnings_with_retry with retries. Try 1 of 3
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container hellodata-hello-data-portal-api-1 is unhealthy

Docker version: 26.1.3 Docker Compose version: 2.27.1 Full Docker Compose log attached: hello-data-docker-compose.log.gz

From a quick run-through, I think the culprit might be

hello-data-portal-api-1 | ...Error creating bean with name 'OAuth2AuthorizedClientManager': Failed to instantiate [org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager]:...Factory method 'clientRegistrationRepository' threw exception with message: Unable to resolve Configuration with the provided Issuer of "http://host.docker.internal:38080/realms/hellodata"

Further up I'm seeing a bunch of Superset Flask 404 not found exception.

I did make sure to set my /etc/hosts as instructed, ping host.docker.internal resolves fine.

loleg avatar Jun 19 '24 12:06 loleg