-
Notifications
You must be signed in to change notification settings - Fork 481
MQTT Notification issues #3533
Copy link
Copy link
Closed as not planned
Labels
Description
With test config
tasks:
test:
mock:
- title: "Hello World"
accept_all: yes
seen: no
notify:
entries:
via:
- mqtt:
broker_address: 192.168.x.x
topic: "flexget/notifications"
username: uuuu
password: pppp
Nothing is published in MQTT
Sometimes it fails with this log
2022-08-30 13:31:24 VERBOSE mqtt test Connected to MQTT broker
2022-08-30 13:31:24 VERBOSE mqtt test Publishing message [Hello World - Hello World] to topic [flexget/notifications]
2022-08-30 13:31:24 VERBOSE mqtt test Sending PUBLISH (d0, q0, r0, m1), 'b'flexget/notifications'', ... (25 bytes)
2022-08-30 13:31:24 VERBOSE mqtt test MQTT on_publish callback - message was successfully published to broker as messageID=1
2022-08-30 13:31:24 VERBOSE mqtt test Sending DISCONNECT
2022-08-30 13:31:24 VERBOSE mqtt test failed to receive on socket: [Errno 32] Broken pipe
2022-08-30 13:31:24 Level 40 mqtt test failed to receive on socket: %s
2022-08-30 13:31:24 VERBOSE mqtt test MQTT on_disconnect callback - disconnected with result code 0 [Connection Accepted]
2022-08-30 13:31:24 VERBOSE mqtt test Notification sent to broker, waiting for callback response to confirm publishing success - rc=(0, 1)
2022-08-30 13:31:24 VERBOSE notify test Successfully sent a notification to `mqtt`
Sometimes fails with with less error
2022-08-30 13:35:36 VERBOSE mqtt test Connected to MQTT broker
2022-08-30 13:35:36 VERBOSE mqtt test Publishing message [Hello World - Hello World] to topic [flexget/notifications]
2022-08-30 13:35:36 VERBOSE mqtt test Sending PUBLISH (d0, q0, r0, m1), 'b'flexget/notifications'', ... (25 bytes)
2022-08-30 13:35:36 VERBOSE mqtt test MQTT on_publish callback - message was successfully published to broker as messageID=1
2022-08-30 13:35:36 VERBOSE mqtt test Sending DISCONNECT
2022-08-30 13:35:36 VERBOSE mqtt test MQTT on_disconnect callback - disconnected with result code 0 [Connection Accepted]
2022-08-30 13:35:36 VERBOSE mqtt test Notification sent to broker, waiting for callback response to confirm publishing success - rc=(0, 1)
2022-08-30 13:35:36 VERBOSE notify test Successfully sent a notification to `mqtt`
Reactions are currently unavailable