WhatsApp / WhatsApp-Business-API-Setup-Scripts

The scripts related to setting up WhatsApp business API
MIT License
423 stars 444 forks source link

Mysql_exported context deadline exceeded #60

Open mfusseyoizen opened 3 years ago

mfusseyoizen commented 3 years ago

Hi, i´m have a problem with mysql_exported on images docker, this is the error

imagen

It runs on the same VM that I have running Wacore and WP WebApp. Use the yml that are in this branch.

Thank you!

mengyiyuan commented 3 years ago

Hi @mfusseyoizen, is port 9104 accessible on the host? Also, I suggest setting up monitoring stack on a different host (not on the wacore or webapp host), because monitoring stack should not be affected by the system it is monitoring. Hope this helps.

mfusseyoizen commented 3 years ago

Hi @mfusseyoizen, is port 9104 accessible on the host? Also, I suggest setting up monitoring stack on a different host (not on the wacore or webapp host), because monitoring stack should not be affected by the system it is monitoring. Hope this helps.

Thank you for your response!! I'm going to try it.

mfusseyoizen commented 3 years ago

I did the following: they run the host-exporter-compose.yml on the machine where the docker is running with webapp and wacore, and then on a new machine I installed docker, and when I ran the docker, it sent me this error:

imagen

If I see ports 9100 and 8080 running in the docker

mfusseyoizen commented 3 years ago

From what I have been seeing, the problem is that it does not take the .env file (which is in the same folder and has all the data that is needed) when I lift with docker compose. Any help with this topic?

mengyiyuan commented 3 years ago

Can you check the docker-compose version you are using? If it's running a beta version, try to upgrade it to the most recent stable version. :)

mfusseyoizen commented 3 years ago

My version of docker compose is docker-compose version 1.24.1, build 4667896b, is this version correct?