I'm running a mosquitto broker and node-red as docker images and all was fine until this morning.
I've restarted both docker container for node-red and mosquitto, then I restarted the whole server. And finally I updated node-red to the latest docker image, but all to no avail.
I can _pub and _sub with the credentials of the node-red user. The broker seems fine, but it does not see any longer connection attempts from node-red?!
I'm really at a loss what could be the issue?
node-klomp | > node-red-docker@2.2.2 start /usr/src/node-red
node-klomp | > node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
node-klomp |
node-klomp | 24 Apr 22:36:25 - [info]
node-klomp |
node-klomp | Welcome to Node-RED
node-klomp | ===================
node-klomp |
node-klomp | 24 Apr 22:36:25 - [info] Node-RED version: v2.2.2
node-klomp | 24 Apr 22:36:25 - [info] Node.js version: v14.18.2
node-klomp | 24 Apr 22:36:25 - [info] Linux 4.4.0-210-generic x64 LE
node-klomp | 24 Apr 22:36:25 - [info] Loading palette nodes
node-klomp | 24 Apr 22:36:25 - [debug] Module: node-red-contrib-bigtimer 2.7.5 /data/node_modules/node-red-contrib-bigtimer
node-klomp | 24 Apr 22:36:25 - [debug] Module: node-red-contrib-config 1.2.1 /data/node_modules/node-red-contrib-config
node-klomp | 24 Apr 22:36:25 - [debug] Module: node-red-contrib-telegrambot 8.10.0 /data/node_modules/node-red-contrib-telegrambot
node-klomp | 24 Apr 22:36:25 - [debug] Module: node-red-dashboard 3.1.1 /data/node_modules/node-red-dashboard
node-klomp | 24 Apr 22:36:26 - [info] Dashboard version 3.1.1 started at /ui
node-klomp | 24 Apr 22:36:26 - [info] Settings file : /data/settings.js
node-klomp | 24 Apr 22:36:26 - [info] Context store : 'default' [module=memory]
node-klomp | 24 Apr 22:36:26 - [info] User directory : /data
node-klomp | 24 Apr 22:36:26 - [warn] Projects disabled : editorTheme.projects.enabled=false
node-klomp | 24 Apr 22:36:26 - [info] Flows file : /data/flows.json
node-klomp | 24 Apr 22:36:26 - [info] Server now running at https://127.0.0.1:1880/
node-klomp | 24 Apr 22:36:26 - [debug] loaded flow revision: 058975407b276111eac9baacefc7d7c8
node-klomp | 24 Apr 22:36:26 - [debug] red/runtime/nodes/credentials.load : user provided key
node-klomp | 24 Apr 22:36:26 - [debug] red/runtime/nodes/credentials.load : keyType=user
node-klomp | 24 Apr 22:36:26 - [info] Starting flows
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : global
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : 2f499eea.89e0d2
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : 9eac7f36.55cd1
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : c666a417.dfbfd8
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : de4e0039.dd2ca
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : a78d9fa1.954e28
node-klomp | 24 Apr 22:36:26 - [debug] red/nodes/flows.start : starting flow : ed26102b.57edf
node-klomp | 24 Apr 22:36:26 - [debug] [inject:Off at 22:30] crontab = 30 22 * * *
node-klomp | 24 Apr 22:36:26 - [debug] [inject:Toggle on 08:00] crontab = 00 08 * * *
node-klomp | 24 Apr 22:36:26 - [debug] [inject:reset to auto] crontab = 01 00 * * *
node-klomp | 24 Apr 22:36:26 - [debug] [inject:At 22:00] crontab = 00 22 * * *
node-klomp | 24 Apr 22:36:26 - [debug] [inject:On at 5:20] crontab = 20 05 * * 1,2,3,4,5
node-klomp | 24 Apr 22:36:26 - [debug] [inject:Off at 7:00] crontab = 00 07 * * 1,2,3,4,5
node-klomp | 24 Apr 22:36:26 - [debug] [inject:reset to auto] crontab = 01 12 * * *
node-klomp | 24 Apr 22:36:26 - [debug] [inject:On at 6:45] crontab = 45 06 * * 1,2,3,4,5
node-klomp | 24 Apr 22:36:26 - [debug] [inject:Daily at 22:00] crontab = 00 22 * * *
node-klomp | 24 Apr 22:36:26 - [info] Started flows
node-klomp | 24 Apr 22:36:26 - [info] [mqtt-broker:mqtt] Connection failed to broker: node-red@mqtt://mqtt:51883
node-klomp | 24 Apr 22:36:41 - [info] [mqtt-broker:mqtt] Connection failed to broker: node-red@mqtt://mqtt:51883
node-klomp | 24 Apr 22:36:56 - [info] [mqtt-broker:MQTT-tls] Connection failed to broker: node-klomp@mqtts://study.klomp.ca:51883
node-klomp | 24 Apr 22:36:56 - [info] [mqtt-broker:mqtt] Connection failed to broker: node-red@mqtt://mqtt:51883
node-klomp | 24 Apr 22:37:11 - [info] [mqtt-broker:mqtt] Connection failed to broker: node-red@mqtt://mqtt:51883
node-klomp | 24 Apr 22:37:26 - [info] [mqtt-broker:mqtt] Connection failed to broker: node-red@mqtt://mqtt:51883
node-klomp | 24 Apr 22:37:41 - [info] [mqtt-broker:MQTT-tls] Connection failed to broker: node-klomp@mqtts://study.klomp.ca:51883
Mosquitto log:
1650807586: Received PUBLISH from node-klomp (d0, q0, r0, m0, 'jlight/set', ... (12 bytes))
1650807586: Sending PUBLISH to node-klomp (d0, q0, r0, m0, 'jlight/set', ... (12 bytes))
1650807586: Received PUBLISH from node-klomp (d0, q0, r0, m0, 'jlight/set', ... (12 bytes))
1650807586: Sending PUBLISH to node-klomp (d0, q0, r0, m0, 'jlight/set', ... (12 bytes))
1650807609: Client node-klomp disconnected: Protocol error.
In fact I am running two brokers, one with and one without tls. Both stopped connecting.
The non-tls is on a different host.