automuteus / automuteus

Discord Bot to automute Among Us players at round transitions, in conjunction with https://github.com/automuteus/amonguscapture
https://automute.us
MIT License
942 stars 283 forks source link

Network issue #384

Closed Papy-Serra closed 3 years ago

Papy-Serra commented 3 years ago

Hello,

I got this issue after the first start of the bot. I never had issue since the beginning but now from the last updates the bot doesn't work anymore.

It seems that the containers can't reach the DNS and the other container through the docker network. Have you an idea to fix that ?

(I tested on a fresh VPS with nothing running on it)

automuteus_1  | 2021/01/25 20:18:22 6.11.0-228d614
automuteus_1  | 2021/01/25 20:18:22 Error connecting to Galactus!
automuteus_1  | 2021/01/25 20:18:22 Program exited with the following error:
automuteus_1  | 2021/01/25 20:18:22 Get "http://galactus:5858/": dial tcp: lookup galactus on 127.0.0.11:53: read udp 127.0.0.1:53848->127.0.0.11:53: read: connection refused
automuteus_1  | 2021/01/25 20:18:58 6.11.0-228d614
automuteus_1  | 2021/01/25 20:18:58 Error connecting to Galactus!
automuteus_1  | 2021/01/25 20:18:58 Program exited with the following error:
automuteus_1  | 2021/01/25 20:18:58 Get "http://galactus:5858/": dial tcp: lookup galactus on 127.0.0.11:53: read udp 127.0.0.1:40148->127.0.0.11:53: read: connection refused
galactus_1    | 2021/01/25 20:17:52 No REDIS_USER specified.
galactus_1    | 2021/01/25 20:17:52 No REDIS_PASS specified.
galactus_1    | 2021/01/25 20:17:52 Locking token for 5 seconds
galactus_1    | 2021/01/25 20:17:52 dial tcp: lookup redis on 127.0.0.11:53: read udp 127.0.0.1:38161->127.0.0.11:53: read: connection refused
galactus_1    | 2021/01/25 20:17:52 Get "https://discord.com/api/v6/gateway": dial tcp: lookup discord.com on 127.0.0.11:53: read udp 127.0.0.1:57960->127.0.0.11:53: read: connection refused
galactus_1    | 2021/01/25 20:18:20 No REDIS_USER specified.
galactus_1    | 2021/01/25 20:18:20 No REDIS_PASS specified.
galactus_1    | 2021/01/25 20:18:21 Locking token for 5 seconds
galactus_1    | 2021/01/25 20:18:21 dial tcp: lookup redis on 127.0.0.11:53: read udp 127.0.0.1:35024->127.0.0.11:53: read: connection refused
galactus_1    | 2021/01/25 20:18:21 Get "https://discord.com/api/v6/gateway": dial tcp: lookup discord.com on 127.0.0.11:53: read udp 127.0.0.1:59750->127.0.0.11:53: read: connection refused
galactus_1    | 2021/01/25 20:18:56 No REDIS_USER specified.
galactus_1    | 2021/01/25 20:18:56 No REDIS_PASS specified.
galactus_1    | 2021/01/25 20:18:56 Locking token for 5 seconds
#wget https://discord.com/api/v6/gateway
--2021-01-25 20:22:55--  https://discord.com/api/v6/gateway
Resolving discord.com (discord.com)... 162.159.138.232, 162.159.137.232, 162.159.128.233, ...
Connecting to discord.com (discord.com)|162.159.138.232|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35 [application/json]
Saving to: 'gateway'

gateway                                         100%[=====================================================================================================>]      35  --.-KB/s    in 0s

2021-01-25 20:22:55 (3.95 MB/s) - 'gateway' saved [35/35]

Thanks & Regards,

Wolfhound905 commented 3 years ago

We can try to help in the Discord! https://discord.gg/u22Rg92y

denverquane commented 3 years ago

Resolved in the Discord server. This was a result of the Docker daemon configuration + VPS networking issues relating to DNS