MQTT Error when listening for messages
See original GitHub issueDescription of the problem
When I try to listen to messages, I get this every few seconds:
MQTT Error: A network protocol error occurred when communicating with the broker.
Got exception while listening
NoneType: None
Code to reproduce
echobot
Environment information
- python3.7.5
fbchat
version 1.9.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:11 (6 by maintainers)
Top Results From Across the Web
MQTT Error when listening for messages · Issue #495 - GitHub
Description of the problem When I try to listen to messages, I get this every few seconds: MQTT Error: A network protocol error...
Read more >Go MQTT client stops listening new messages after receiving ...
I have a Paho MQTT GO client that listens to the broker. After around 2400-2500 messages, it stops listening to the new messages....
Read more >Sending and Receiving Messages with MQTT - EV3Dev
A very simple script to publish a message: #!/usr/bin/env python3 import paho.mqtt.client as mqtt # This is the Publisher client = mqtt.Client() ...
Read more >Fail to Connecty to MQTT - The Things Stack v3
I have a Arduino that is connected over LoraWan to a TTN via a gateway, and I then have a script running to...
Read more >View MQTT messages with the AWS IoT MQTT client
If your messages are not showing up in the message log as you expect, try subscribing to a wild card topic filter as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i am having exactly same issue
potentially useful info:
not pasting logs because i’m getting same output as @Strafos
Issue seems to be that no cookies are passed when creating the mqtt websocket. It works for me when I change this to