late-airport-32727
03/09/2023, 3:49 PMmq
service spams " Waiting for netmaker server to startup". The netmaker service starts up correctly, but fails to connect to the mq
service:
netmaker | [netmaker] 2023-03-09 15:39:57 connecting to sqlite
netmaker | [netmaker] 2023-03-09 15:39:57 database successfully connected
netmaker | [netmaker] 2023-03-09 15:39:57 no OAuth provider found or not configured, continuing without OAuth
netmaker | [netmaker] 2023-03-09 15:39:57 Configuring MQ...
netmaker | [netmaker] 2023-03-09 15:39:57 MQ config exists already, So Updating Existing Config...
netmaker | [netmaker] 2023-03-09 15:39:57 REST Server successfully started on port 8081 (REST)
netmaker | [netmaker] 2023-03-09 15:39:57 connecting to mq broker at ws://mq:1883 with TLS? false
netmaker | [netmaker] Fatal: Admin: could not connect to broker, token timeout, exiting ...
I have pinged mq:1883
using Nmap to confirm that it was listening, and it returned
PORT STATE SERVICE
1883/tcp closed mqtt
which I assum means the port is working correctly. Why, then, might Netmaker not be able to connect?bored-island-21407
03/09/2023, 3:52 PMlate-airport-32727
03/09/2023, 3:53 PMlate-airport-32727
03/09/2023, 3:55 PMbored-island-21407
03/09/2023, 3:55 PMlate-airport-32727
03/09/2023, 4:48 PMmq
container fails with /docker-entrypoint.sh: exec: line 10: /mosquitto/config/wait.sh: Permission denied
. I've tried every single incantation of chmod to try and get the host's wait.sh to have the proper permissions, but it doesn't seem to help.bored-island-21407
03/09/2023, 4:51 PMlate-airport-32727
03/09/2023, 4:56 PMbored-island-21407
03/09/2023, 4:58 PMlate-airport-32727
03/09/2023, 5:01 PMrelease_0.18.2
branch off GitHublate-airport-32727
03/09/2023, 5:01 PMlate-airport-32727
03/09/2023, 5:06 PMls -l
reports
-rw-r--r-- 1 1883 1883 180 Mar 9 17:04 mosquitto.conf
-rwxr-xr-x 1 1883 1883 328 Mar 9 17:04 wait.sh
bored-island-21407
03/09/2023, 5:16 PMlate-airport-32727
03/09/2023, 6:56 PM