How to debug new Fargate Installation

Issue Summary

I have installed Redash V10 on AWS ECS Fargate with the Postgresql database in RDS and Redis in ElastiCache. The ‘server’ process starts without any errors. When I try to connect to it using curl, I receive the “Empty reply from server” error.

$ curl -i --verbose http://10.X.YY.ZZZ:5000/

  • Trying 10.X.YY.ZZZ:5000…
  • Connected to 10.X.YY.ZZZ (10.X.YY.ZZZ) port 5000 (#0)

GET / HTTP/1.1
Host: 10.X.YY.ZZZ:5000
User-Agent: curl/7.76.1
Accept: /

  • Empty reply from server
  • Closing connection 0

No new logs are emitted. I’m guessing, but I’m assuming that the ‘server’ process can’t connect to something. How do I debug this?

Technical details:

  • Redash Version: 10.0.0.b50363
  • Browser/OS: curl or Chrome
  • How did you install Redash: Using the Docker image from Dockerhub

Fargate is serverless, correct? Does it run something like docker-compose?

Fargate is AWS managed container service (ECS). I deployed it using Terraform with each process deployed as separate service.

Did you set the environment variables so the services can find one another?

All 3 services (server, worker, scheduler) have the following environment variables set:

For the server process, I also set:


After adding Datadog APM, I was able to track down the issue to a connection issue with Redis. Once I recreated the Redis cluster without transit encryption, the connection succeeded.

1 Like

Glad you sorted this out and thank you for sharing your solution!