Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name resolution broken on commit 2d1734b #105

Open
bmm-alc opened this issue Dec 5, 2024 · 1 comment
Open

name resolution broken on commit 2d1734b #105

bmm-alc opened this issue Dec 5, 2024 · 1 comment

Comments

@bmm-alc
Copy link

bmm-alc commented Dec 5, 2024

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

@facebook-github-bot
Copy link
Contributor

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!

bmm-alc added a commit to bmm-alc/WhatsApp-Business-API-Setup-Scripts that referenced this issue Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants