-
Notifications
You must be signed in to change notification settings - Fork 164
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
Restarting Issue #155
Comments
I have decoded the exception and here is the result. do not know how to fix that.
|
Try compiling it with the ESP8266 Core that is described in the Readme file. Also, from looking at your first post, it looks like it is failing making a connection to the weather API. |
@Qrome Thank you for your reply actually the weather status because I was not set the weather API, |
@Qrome my recent finding is code restart when a time update request is generated,
here is the full code block for updating the time
|
Hello, unfortunately I have the same error, I have now tried 2 Wemos, the stack error comes with both. Is there a fix? Or how do I get the monitor to work? ` Unhandled C++ exception: std::bad_alloc
ctx: sys last failed alloc call: 4022E071(3412) ets Jan 8 2013,rst cause:1, boot mode:(3,0) load 0x4010f000, len 1384, room 16 UtcOffset=-7.00 Unhandled C++ exception: std::bad_alloc
|
@wuschel1337 -- looks like yours is crashing when starting up. Do you have the FS (SPIFF) set for 1M so it has a location to write the configuration? Also, what version are you running? |
After i using this file, it works very well. |
it is working fine now |
Hello,
I have just set up the Wemos D1 mini and it's restarting after uploading the program,
it almost restarts after every 10 sec.
following is the log and gives Exception (0) which means "IllegalInstructionCause"
2:28:32.534 ->
22:28:32.534 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
22:28:32.534 ->
22:28:32.534 -> Exception (0):
22:28:32.534 -> epc1=0x8410a711 epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000001c depc=0x00000000
22:28:32.534 ->
22:28:32.534 -> >>>stack>>>
22:28:32.534 ->
22:28:32.534 -> ctx: cont
22:28:32.534 -> sp: 3ffffc70 end: 3fffffc0 offset: 0190
22:28:32.534 -> 3ffffe00: 3fff130c 00000000 3ffffe58 8410a6bc
22:28:32.534 -> 3ffffe10: 3fff130c 3fff1bdc 3ffffec4 4021fde5
22:28:32.568 -> 3ffffe20: 00001388 3fff1bdc 3ffffe50 402040b8
22:28:32.568 -> 3ffffe30: 00000000 004b004f 00000000 3fff1da0
22:28:32.568 -> 3ffffe40: 00000050 3fff1804 3ffffe80 4020dda8
22:28:32.568 -> 3ffffe50: 4022c7a8 00000000 4022ca68 ffffffff
22:28:32.568 -> 3ffffe60: 3ffe8d68 00000000 00000000 00000000
22:28:32.568 -> 3ffffe70: 3fffdad0 3fff1804 3fff1804 40204511
22:28:32.568 -> 3ffffe80: 4022c7a8 00000000 00001388 00000000
22:28:32.603 -> 3ffffe90: 00000000 3fff1230 00000000 00000000
22:28:32.603 -> 3ffffea0: 00000000 003a003f 00000000 00000000
22:28:32.603 -> 3ffffeb0: 00000000 00000002 3ffe8dce 40223abc
22:28:32.603 -> 3ffffec0: 3ffe8dcf 00000000 004b004f 00000000
22:28:32.603 -> 3ffffed0: 3ffe8dcf feefeffe feefeffe 3fff1da0
22:28:32.603 -> 3ffffee0: 4021d594 3ffe8dcd 3fff1bdc 4021d5a0
22:28:32.603 -> 3ffffef0: 4021d594 3ffe8dcd 3fff1bdc 4021e868
22:28:32.603 -> 3fffff00: 3fffdad0 00000010 3fff1bdc 4021eadc
22:28:32.636 -> 3fffff10: 3fffdad0 00000000 3fff1bdc 3fff1da0
22:28:32.636 -> 3fffff20: 3fffdad0 3fff1804 3fff1bdc 4020564e
22:28:32.636 -> 3fffff30: 3fffdad0 00000000 3fff1804 40204118
22:28:32.636 -> 3fffff40: 402084bc 00000000 3fff1d8c 40206140
22:28:32.636 -> 3fffff50: 00000000 00000000 3fff1d8c 4020ced8
22:28:32.636 -> 3fffff60: 0018001f 00000000 00000000 000e000f
22:28:32.636 -> 3fffff70: 00000000 4022ca68 4a12a8c0 feefeffe
22:28:32.636 -> 3fffff80: 3fff120c feefeffe feefeffe feefeffe
22:28:32.671 -> 3fffff90: feefeffe feefeffe feefeffe 3fff1da0
22:28:32.671 -> 3fffffa0: 3fffdad0 00000000 3fff1d8c 402214f4
22:28:32.671 -> 3fffffb0: feefeffe feefeffe 3ffe8660 401011bd
22:28:32.671 -> <<<stack<<<
22:28:32.671 ->
22:28:32.671 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
22:28:32.705 ->
22:28:32.705 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
22:28:32.705 ->
22:28:32.705 -> load 0x4010f000, len 3460, room 16
22:28:32.705 -> tail 4
22:28:32.705 -> chksum 0xcc
22:28:32.705 -> load 0x3fff20b8, len 40, room 4
22:28:32.705 -> tail 4
22:28:32.705 -> chksum 0xc9
22:28:32.705 -> csum 0xc9
22:28:32.705 -> v00082430
22:28:32.705 -> ~ld
22:28:32.842 ->
22:28:32.842 -> UtcOffset=-7.00
22:28:32.842 -> PrinterApiKey=
22:28:32.842 -> PrinterHostName=octopi
22:28:32.842 -> PrinterServer=
22:28:32.842 -> PrinterPort=80
22:28:32.842 -> PrinterName=
22:28:32.842 -> PrinterAuthUser=
22:28:32.842 -> PrinterAuthPass=
22:28:32.842 -> minutesBetweenDataRefresh=15
22:28:32.842 -> themeColor=light-green
22:28:32.842 -> IS_BASIC_AUTH=1
22:28:32.842 -> www_username=admin
22:28:32.842 -> www_password=password
22:28:32.842 -> DISPLAYCLOCK=1
22:28:32.842 -> IS_24HOUR=0
22:28:32.842 -> INVERT_DISPLAY=0
22:28:32.842 -> USE_FLASH=1
22:28:32.842 -> DISPLAYWEATHER=1
22:28:32.842 -> WeatherApiKey=
22:28:32.842 -> CityID: 5304391
22:28:32.879 -> IS_METRIC=0
22:28:32.879 -> WeatherLanguage=en
22:28:32.879 -> HAS_PSU=0
22:28:32.913 -> *wm:[1] AutoConnect
22:28:32.913 -> *wm:[2] Connecting as wifi client...
22:28:32.913 -> *wm:[2] setSTAConfig static ip not set, skipping
22:28:32.950 -> *wm:[1] Connecting to SAVED AP: HUAWEI-5GA3
22:28:33.435 -> *wm:[1] connectTimeout not set, ESP waitForConnectResult...
22:28:36.820 -> *wm:[2] Connection result: WL_CONNECTED
22:28:36.820 -> *wm:[1] AutoConnect: SUCCESS
22:28:36.820 -> *wm:[1] STA IP Address: 192.168.18.74
22:28:36.855 -> Signal Strength (RSSI): 62%
22:28:36.855 -> Server started
22:28:36.855 -> Use this URL : http://192.168.18.74:80/
22:28:39.704 -> *** Looking for octopi over mDNS
22:28:39.704 -> Found: octopi.local
22:28:39.704 -> *** Leaving setup()
22:28:39.704 ->
22:28:39.704 -> Getting Weather Data...
22:28:39.704 -> Getting Weather Data
22:28:39.704 -> GET /data/2.5/group?id=5304391&units=imperial&cnt=1&APPID=&lang=en HTTP/1.1
22:28:44.705 -> connection for weather data failed
22:28:44.705 ->
22:28:44.705 -> Updating Time...
The text was updated successfully, but these errors were encountered: