Giter VIP home page Giter VIP logo

Comments (8)

Kucharskov avatar Kucharskov commented on July 17, 2024 6

Got it! To fix temporary this issue you need to declare onDisconnect() in setup, for example:

  mqtt.onDisconnect([]() {
    Serial.printf("MQTT: Disconnected\r\n");
  });

Additionally theres second bug which occurs in new 2.7 ESP library core. In ESP8266MQTTClient.cpp in 86 line we need wrap ESP.getChipId() with String constructor like String(ESP.getChipId()).
But still ESP sometimes catch a Soft WDT reset.

from esp8266mqttclient.

BastelBaus avatar BastelBaus commented on July 17, 2024 2

Got it! To fix temporary this issue you need to declare onDisconnect() in setup, for example:

  mqtt.onDisconnect([]() {
    Serial.printf("MQTT: Disconnected\r\n");
  });

Additionally theres second bug which occurs in new 2.7 ESP library core. In ESP8266MQTTClient.cpp in 86 line we need wrap ESP.getChipId() with String constructor like String(ESP.getChipId()). But still ESP sometimes catch a Soft WDT reset.

this work

for me as well, thanks !

from esp8266mqttclient.

omenxuinsgd avatar omenxuinsgd commented on July 17, 2024 1

Got it! To fix temporary this issue you need to declare onDisconnect() in setup, for example:

  mqtt.onDisconnect([]() {
    Serial.printf("MQTT: Disconnected\r\n");
  });

Additionally theres second bug which occurs in new 2.7 ESP library core. In ESP8266MQTTClient.cpp in 86 line we need wrap ESP.getChipId() with String constructor like String(ESP.getChipId()). But still ESP sometimes catch a Soft WDT reset.

this work

from esp8266mqttclient.

fellowgeek avatar fellowgeek commented on July 17, 2024

same here

.......
User exception (panic/abort/assert)
Abort called

stack>>>

ctx: cont
sp: 3fffff00 end: 3fffffc0 offset: 0000
3fffff00: 3fffdad0 3ffee7f8 00000020 401009bf
3fffff10: 000000fe 00000000 00000000 00000000
3fffff20: 00000000 00000000 00000000 00000080
3fffff30: 3ffef908 00000012 00000001 3ffeeac8
3fffff40: 3fffdad0 00000000 3ffee7f8 4020850e
3fffff50: 00000000 40201e00 80ffff90 40208524
3fffff60: 00000000 80000027 3fffff90 40210b24
3fffff70: 3ffef800 0027002f 3ffee7f8 401000dc
3fffff80: 3fffdad0 00000000 3ffee7f8 40202a3d
3fffff90: 3ffef800 00000000 3ffeea88 40201e44
3fffffa0: feefeffe 00000000 3ffeea88 40208118
3fffffb0: feefeffe feefeffe 3ffe84e8 40100c81
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1392, room 16
tail 0
chksum 0xd0
csum 0xd0
v3d128e5c
~ld

from esp8266mqttclient.

Kucharskov avatar Kucharskov commented on July 17, 2024

I have the same issue. After some investigation i checked that this error is caused in handle() method....

from esp8266mqttclient.

jerwij avatar jerwij commented on July 17, 2024

I have the same issue.

I have the onDisconnect implementented without succes.
Used board: Wemos D1 mini.

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

stack>>>

ctx: cont
sp: 3ffffdc0 end: 3fffffc0 offset: 01a0
3fffff60: 00000000 3ffef91c 3ffef418 4020594b
3fffff70: 3fffdad0 00000000 3ffef418 3ffef95c
3fffff80: 3fffdad0 00000000 3ffef418 40205baa
3fffff90: 3fffdad0 00000000 3ffef91c 4020222b
3fffffa0: feefeffe 00000000 3ffef91c 402066b0
3fffffb0: feefeffe feefeffe 3ffe85e8 40100fd5
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
VMDPR_

from esp8266mqttclient.

joko2020 avatar joko2020 commented on July 17, 2024

Any Update ???
I have Same issue
Board Lolin V3
Library 1.0.5 --> try to rollback 1.0.4 (error compiling)

from esp8266mqttclient.

coder-free avatar coder-free commented on July 17, 2024

same issues

from esp8266mqttclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.