Why is the host of my API URLs `http://redash`?

Issue Summary

Hi! I just installed, setup Redash in a new EC2 machine. Everything works fine except the API URLs of all the queries. The host is set to http://redash and not the DNS name.

I changed REDASH_HOST to my DNS name with the protocol and restarted Docker with docker-compose up -d but it didn’t work.

Could someone please help me? Thanks!

Technical details:

  • Redash Version: redash:10.0.0.b50363
  • Browser/OS: Chrome
  • How did you install Redash: AWS EC2

スクリーンショット 2021-11-10 18.37.47

How did you restart Redash?

In Docker you have to run docker-compose stop && docker-compoe up -d for env var changes to take effect.

Hi Jesse, thanks for your reply!
I restarted by executing docker-compose stop && docker-compose up -d.
Still no effect.

I have this line in my env file though.
REDASH_HOST=https://redash.xxxxx.jp

@jesse Doesn’t it happen for you as well?

I will not have bandwidth to reproduce this for a couple of weeks.

@tonystrawberry in my case the REDASH_HOST in APi calls is coming correctly corresponding to whatever values I have set.

image