We installed Broadsea we followed https://github.com/OHDSI/Broadsea and all the steps we found online. We also filled our local DB with Synpuf dataset.The last step we did was to run Achilles and were expecting for the data to be available in Atlas after. But when we try to see an analysis on Synpuf data we get either report loading error (if we use actually ip of our host server in webapi.source table jdbc url) or we get no data in all analysis (if we use localhost or 127.0.0.1 in webapi.source table jdbc url).’
Our source and source_daimon tables seem to have all correct fields.
When we check the logs in webapi container we get that it is not able to connect to our local database:
2023-06-09 11:59:14.224 ERROR taskExecutor-1 org.ohdsi.webapi.cdmresults.service.CDMCacheService - [] - Failed to warm cache Synpuf. Exception: Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed. - If jdbc is jdbc:postgresql://actual_host_ip:5432/postgres?user=postgres&password=mypass or jdbc:postgresql://localhost:5432/postgres?
OR
2023-06-09 11:59:14.224 ERROR taskExecutor-1 org.ohdsi.webapi.cdmresults.service.CDMCacheService - [] - Failed to warm cache Synpuf. Exception: Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: Connection refused. - If jdbc is jdbc:postgresql://127.0.0.1:5432/postgres?user=postgres&password=mypass
Could someone help us understand what is missing, and why the webapi container can not connect to our local DB?
Thank you!