Installed Sentry on EC2. Getting empty respone from cURL commands

Hi there,

I installed Sentry using the docker installation instructions.

The web, worker, and cron are all running. I’ve set the SENTRY_SECRET_KEY in the env variables.

However a curl to http://localhost:9000 returns a 302 redirect to /auth/login/ which in turn returns no content.

curl -v http://localhost:9000/auth/login/

  • Trying 127.0.0.1…
  • TCP_NODELAY set
  • Connected to localhost (127.0.0.1) port 9000 (#0)

GET /auth/login/ HTTP/1.1
Host: localhost:9000
User-Agent: curl/7.53.1
Accept: /

  • Empty reply from server
  • Connection #0 to host localhost left intact
    curl: (52) Empty reply from server

All good - got it working in no time using the docker-compose template at https://github.com/getsentry/onpremise