Hi everyone, I'm trying to use the Data Export Tool to schedule data transfers from the commcare plattform to a postgres database. Some additional background information: In our setup, the DET and the "targetdatabase" (in which the data should be pushed) run in separate docker containers on my local machine (eventually on AWS). I was able to generate an API key through the project space in commcarehq, and in the DET itself, I set up our project, specified the database and one export... This export fails with "psycopg2.OperationalError: could not connect to server: Connection refused", meaning the targetdatabase can't be reached. From the top of my head, I can see two potential causes: Wrong IP address when creating the API key, or wrong specs in the database creation via DET. However, even if it's one of these cases, I currently don't exactly know how to fix either one.
My questions here are
a) Has anyone faced a similar issue before in this setup (push to postgres db in other docker container) and has some tips how to solve it?
b) Does anyone have some general tips on debugging the system in cases like this (Reverse engineering everything from the ground up seems quite impractical in this situation)?