Issue setting up HTTPS for redash instance with provided AMI for us-east-1

Issue Summary

I am trying to set up HTTPS for our redash instance using the provide AWS ami for us-east-1. I followed the instructions here: Setting up HTTPS with LetsEncrypt for Redash Docker Deployment · GitHub and when I try to use the command docker-compose up -d I get:
Traceback (most recent call last): File "bin/docker-compose", line 6, in <module> File "compose/cli/main.py", line 71, in main File "compose/cli/main.py", line 124, in perform_command File "compose/cli/command.py", line 41, in project_from_options File "compose/cli/command.py", line 126, in get_project File "compose/project.py", line 100, in from_config File "compose/network.py", line 320, in get_networks File "compose/network.py", line 125, in true_name File "compose/network.py", line 146, in _set_legacy_flag File "compose/network.py", line 106, in inspect File "site-packages/docker/utils/decorators.py", line 19, in wrapped File "site-packages/docker/api/network.py", line 212, in inspect_network File "site-packages/docker/api/client.py", line 238, in _result File "site-packages/requests/models.py", line 892, in json File "json/__init__.py", line 354, in loads File "json/decoder.py", line 339, in decode File "json/decoder.py", line 357, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) [5834] Failed to execute script docker-compose

I have tried troubleshooting this on my own but I am getting nowhere and was not sure if anyone had ideas on a workaround

Technical details:

  • Redash Version:
    v8
  • Browser/OS:
    ubuntu
  • How did you install Redash:
    AWS ami for us-east-1

Instead of using Redash’s server for HTTPS, we just set this up with AWS Certificate Manger and CloudFront

Thanks for sharing your solution. That is a very strange stack trace. It doesn’t look related to Redash, actually, but rather to how docker-compose was behaving…