-
Notifications
You must be signed in to change notification settings - Fork 158
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_CLIENT: MQTT connect failed (MEGH-4406) #248
Comments
When i upload code its work perfectly but after some days ( like 3-4 days) ... show many error ..
E (25417) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=119 |
@Ph-tech06 Please refer to the Rainmaker Fair Usage policy here. Make sure your device is not sending too many messages to the cloud. |
I have some doubt about messages sending via my device....
I don't understand this thing ...
Can I know how may i reduce the sending messages and how will I use fair
....
I mean which steps we are following to not face this type of error ..
…On Sat, 4 Mar 2023, 19:28 Sanket Wadekar, ***@***.***> wrote:
@Ph-tech06 <https://github.com/Ph-tech06> Please refer to the Rainmaker
Fair Usage policy here
<https://www.esp32.com/viewtopic.php?f=41&t=32450&sid=68bc7eb051d9bd9a09121647f11a4030>.
Make sure your device is not sending too many messages to the cloud.
PS: Please use the "Runtime Bug report" form for creating issues that are
related to crashes/errors as it helps us understand the issue much better.
—
Reply to this email directly, view it on GitHub
<#248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A56FOC4SLLAIPU6MJ3LMGA3W2NDA5ANCNFSM6AAAAAAVPMRWWI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Your esp32 device uses MQTT to communicate with the Rainmaker cloud. If you are constantly updating Rainmaker device parameters and reporting it to the cloud using |
I think it's the issue of MQTT Budgeting. Well watch this video and you'll find it's solution in the same |
when my wifi disconnect to esp32 esp rainmaker app goes offline it's ok. but when wifi turn on, esp32 never connect to wifi automatically and rainmaker app always show offline. |
@shukur-alom , can you try the solution provided here on the forums? |
@shahpiyushv |
I am facing the same issue . Even if I send data once per minute. Basically around 2000 messages in a day while the document says it gets blocked if we send 25000 msgs in a day |
mail me - [email protected] |
is the error solved?? I am facing the same error |
Same issue here. I emailed you @Ph-tech06 . Screen shot of the error that occurs at random times: |
If MQTT disconnects and then reconnects at some later point of time, it is generally due to network issues (Internet and/or Wi-Fi) which may cause the MQTT keep alive packets to get missed. |
@shahpiyushv I understand that network issues may cause it but I have seen 80+ disconnect and reconnect messages sometimes, and my wifi or network connection to the board was not affected during this time. Even in Insights I don't even see the RSSI drop below -55dB. In regards to the keep alive packets, where can I change the setting so that I can handle missed packets better. I.e are there settings in menuconfig to alter the timeouts? Retry messages etc? It is annoying as these messages will swamp the Rainmaker app with offline alarm message then immediately with online alarm messages. Repeatedly as well without the ability to mute the alarm. |
Answers checklist.
General issue report
Failed to read from DHT sensor!
E (25417) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=119
E (25417) esp_mqtt_glue: MQTT_EVENT_ERROR
E (25417) MQTT_CLIENT: esp_mqtt_connect: mqtt_message_receive() returned -1
E (25423) MQTT_CLIENT: MQTT connect failed
The text was updated successfully, but these errors were encountered: