-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT Monitor Type - Timeout #1669
Comments
I experience a similar issue. I get frequent timeout warnings - but have no reason to believe my broker has issues. The systems behaves normal and all mqtt clients get the data just fine. |
I think it is logged in to your mqtt broker successfully, but Uptime Kuma don't receive topic response within 40 seconds. |
I had the same issue, and I just found out that the topic part is case-sensitive. Perhaps this is the issue for yourself as well. Unfortunately, the “error” message from Kuma was not helpful at all. “Timeout” keeps me questioning if the connection works at all. |
@louislam I don't think that's the case here. I tried subscribing and kept sending a message to the topic to keep it updated and still got the timeout error. @buliwyf42 the topic case matches exactly what's on the broker. I don't think that's the case here. |
|
We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 7 days. |
Maybe the issue is not really an issue: If your topic is not updated within the timeframe of the kuma update interval - the test will fail. |
We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days. |
This issue was closed because it has been stalled for 2 days with no activity. |
Ok this issue is Close but I have the same Timeout if I configure 2 MQTT Task with the same MQTT Server. If I deactivating one of them, no timeout issue, but when both are active the timeout is occur. The MQTT Server is the Node-Modul from https://flows.nodered.org/node/node-red-contrib-aedes - is this a new perspective for this issue or should I open a new one? |
@AleksCee Feel free to open a bug issue if it is reproducible. The current implementation is here: uptime-kuma/server/util-server.js Line 135 in 1a9b013
|
FWIW, I was using a wildcard (+ or #) as a topic, to check if any sensor was sending data. MQTT Monitor was connecting, and receiving messages. It still failed with TIMEOUT because of this check
|
It is very helpful for me. Thank you |
I hit the same issue. Wildcards are not possible. |
I simply removed the
AFAICT, it shouldn't change the behavior for topics without wildcard. |
This should fix louislam#1669
🛡️ Security Policy
📝 Describe your problem
I am unable to monitor the status of an MQTT server. I specified the URL, Port, Username and Password but it keeps returning
'MQTT': Failing: Timeout | Interval: 60 seconds | Type: mqtt
I don't know how to diagnose this problem. I searched existing issues and found nothing.
🐻 Uptime-Kuma Version
1.15.1
💻 Operating System and Arch
Debian Bullseye on Raspberry Pi 4 ARM64
🌐 Browser
Google Chrome 100
🐋 Docker Version
20.10.16
🟩 NodeJS Version
No response
The text was updated successfully, but these errors were encountered: