502 Server Error running logspout during First Steps tutorial

When attempting to follow the First Steps with QuantRocket tutorial I receive a '502 Server Error' at the section on log monitoring.

Executing the command quantrocket flightlog stream works fine.

I can also get a response when pinging houston.

However executing the command quantrocket flightlog stream -d gives the following error:

msg: 'HTTPError(''502 Server Error: Bad Gateway for url: http://houston/logspout/logs'', ''please check the logs for more details'')'
status: error

I'm unsure what this means and also don't know where I would find these logs.

  1. Make sure logspout appears in your docker-compose.yml
  2. Run docker ps and see if logspout is running.
  3. If it's running try restarting it: docker-compose -p quantrocket restart logspout, if not try starting it: docker-compose -p quantrocket up -d logspout
  4. You could also redeploy the entire stack: docker-compose -p quantrocket down followed by docker-compose -p quantrocket up -d

If you're on Windows watch out for this.