You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR [MQTT] Client:11841d4d-6d97-4367-ac0a-2b2c64c8d01a error: connack timeout
Error: Connection closed
at file:///.../Library/Caches/deno/npm/registry.npmjs.org/mqtt/5.10.3/build/lib/client.js:730:49
at Array.forEach (<anonymous>)
at MqttClient._flushVolatile (file:///.../Library/Caches/deno/npm/registry.npmjs.org/mqtt/5.10.3/build/lib/client.js:727:40)
at TLSSocket.<anonymous> (file:///.../Library/Caches/deno/npm/registry.npmjs.org/mqtt/5.10.3/build/lib/client.js:269:18)
at TLSSocket.emit (ext:deno_node/_events.mjs:393:28)
at node:net:1158:14
at Array.processTicksAndRejections (ext:deno_node/_next_tick.ts:28:11)
at eventLoopTick (ext:core/01_core.js:174:29) {
[stack]: [Getter/Setter],
[message]: "Connection closed"
}
ERROR Main [WORKER]:mqtt-worker- [MQTT] error: Connection closed
MQTT broker logs
| | 2025-02-28T11:40:05: Client <unknown> closed its connection. |
| | 2025-02-28T11:40:05: Client <unknown> closed its connection. |
| | 2025-02-28T11:39:55: New connection from ip:61824 on port 8883. |
| | 2025-02-28T11:39:55: New connection from ip:61824 on port 8883.
Can confirm MQTTJS with same ca, key, cert works properly with Node
The text was updated successfully, but these errors were encountered:
Tip: Single backticks don't work well with multiline code. To format multiple lines of code, use 3 backticks. You can even pass a language specifier like ts, tsx, sh, etc to apply some syntax highlighting.
Version: Deno 2.2.2
Looks like MQTTJS not works properly with Deno and TLS
deno.json
mqttClient.ts
PATHS - valid
ca, key, cert - valid
gives such error
MQTT broker logs
Can confirm MQTTJS with same ca, key, cert works properly with Node
The text was updated successfully, but these errors were encountered: