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?
Just to mention as well,
After multiple attempts and failing to set up with the documentation,i started following a video on youtube by medic created 10 months ago, I pulled from the previous commits of cht-core repo .yml before the yml was removed. The local environment worked properly and the application but also faced a block, after creating a user and I try to login with the new user, the application would break showing a connection error and when checking console logs, something about openSSL certificates.
So with your advice, should I continue with this current setup or should I do a previous version and also share the errors I encountered then?
I am wondering if the issue you are facing can be related to other issue earlier since you mentioned you faced a block after creating a user. If you are using Google Chrome, could you please try Mozilla Firefox and check if the error persists?
Then for the local setup, the tutorial on https://docs.communityhealthtoolkit.org/apps/tutorials/local-setup/ didn’t work for me, I failed to create the local environment, I had to build using the docker-compose file that was previously in the cht-core repo (in the previously committed branch) before it was removed. That way my local environment was set up.