502 Bad Gateway and failed to create local setup

Hi @Arafat

It looks like API is trying to connect to haproxy, but can’t reach it. This can be either caused by haproxy directly, or by CouchDb failing to start. Can you please check haproxy logs to see if anything becomes obvious?

As a potential quick fix, you could try to restart the whole setup process. Here are some steps that you can follow: Error 502 when running local CHT instance - #13 by mrjones