WhatsApp-Business-API-Setup-Scripts icon indicating copy to clipboard operation
WhatsApp-Business-API-Setup-Scripts copied to clipboard

name resolution broken on commit 2d1734b

Open bmm-alc opened this issue 11 months ago • 1 comments

The fact the compose installation uses the default bridge network makes the name resolution broken as expected (if I understand correctly) by https://docs.docker.com/engine/network/drivers/bridge/#differences-between-user-defined-bridges-and-the-default-bridge.

wacore-1  | D 2024-12-05 8:43:19.183 UTC 28 datastore.cpp:150] Initiated DB connection "configStore"  of engine type "MYSQL" req_id=none
wacore-1  | D 2024-12-05 8:43:19.184 UTC 28 datastore.cpp:824] Reconnecting to database "configStore" req_id=none
wacore-1  | W 2024-12-05 8:43:19.188 UTC 28 wasqldatabase.cpp:139] DB query   on  "configStore" : "Unknown MySQL server host 'db' (-2) QMYSQL: Unable to connect"  has error:  QSqlError("2005", "QMYSQL: Unable to connect", "Unknown MySQL server host 'db' (-2)")  from function:  get db req_id=none
wacore-1  | W 2024-12-05 8:43:19.193 UTC 28 wasqldatabase.cpp:139] DB query   on  "configStore" : "Unknown MySQL server host 'db' (-2) QMYSQL: Unable to connect"  has error:  QSqlError("2005", "QMYSQL: Unable to connect", "Unknown MySQL server host 'db' (-2)")  from function:  open config db req_id=none
wacore-1  | C 2024-12-05 8:43:19.194 UTC 28 main.cpp:55] Unable to initialize config store req_id=none
wacore-1  | wa-service: Unable to initialize ConfigStore
...

removing network_mode: bridge in the file docker-compose.yml fixes the issues

bmm-alc avatar Dec 05 '24 08:12 bmm-alc

Hi bmm-alc (https://github.com/bmm-alc/),

Thank you for your comment. This GitHub repo is not actively monitored. If you need help, please check previously asked questions in the WA Business API Developer Community, or raise a Direct support ticket. Meanwhile, we are happy to continue with less time-sensitive discussions in GitHub.

Thanks for your understanding!

facebook-github-bot avatar Dec 05 '24 08:12 facebook-github-bot