-->
Page 1 of 1

HTTPs Client Requests Crashing WEEMOS D1 Mini

PostPosted: Mon Nov 28, 2022 12:20 am
by 1StopAiNz
Hi Everyone,

I just started using the ESP modules and for reasons unknown to me I cant submit more than 8 http.GET() requests before the board crashes.
I have attached the sketch to this post. And below is the serial print out.

Also for unknown reasons every now and then I get some read timeout errors. Any explanation as to what that means would be really appreciated. And sorry if this is a super obvious error I am overlooking.

18:14:55.853 -> [SETUP] WAIT 4...
18:14:56.855 -> [SETUP] WAIT 3...
18:14:57.863 -> [SETUP] WAIT 2...
18:14:58.851 -> [SETUP] WAIT 1...
18:14:59.840 -> 51496
18:15:03.035 -> [HTTPS] begin...
18:15:03.035 -> [HTTPS] GET...
18:15:05.751 -> [HTTPS] GET... code: 200
18:15:05.751 -> 1
18:15:05.751 -> DRAM free: 38264 bytes
18:15:06.768 -> [HTTPS] begin...
18:15:06.768 -> [HTTPS] GET...
18:15:09.309 -> [HTTPS] GET... code: 200
18:15:09.309 -> 2
18:15:09.309 -> DRAM free: 37728 bytes
18:15:10.331 -> [HTTPS] begin...
18:15:10.331 -> [HTTPS] GET...
18:15:13.015 -> [HTTPS] GET... code: 200
18:15:13.015 -> 3
18:15:13.015 -> DRAM free: 37192 bytes
18:15:14.022 -> [HTTPS] begin...
18:15:14.022 -> [HTTPS] GET...
18:15:16.664 -> [HTTPS] GET... code: 200
18:15:16.664 -> 4
18:15:16.664 -> DRAM free: 36152 bytes
18:15:17.670 -> [HTTPS] begin...
18:15:17.670 -> [HTTPS] GET...
18:15:22.894 -> [HTTPS] GET... code: 200
18:15:33.147 -> [HTTPS] GET... failed, error: read Timeout
18:15:33.147 -> 6
18:15:33.147 -> DRAM free: 39216 bytes
18:15:34.160 -> [HTTPS] begin...
18:15:34.160 -> [HTTPS] GET...
18:15:39.628 -> [HTTPS] GET... code: 200
18:15:39.628 -> 7
18:15:39.628 -> DRAM free: 34736 bytes
18:15:40.648 -> [HTTPS] begin...
18:15:40.648 -> [HTTPS] GET...
18:15:50.799 -> [HTTPS] GET... code: 200
18:15:50.799 -> 8
18:15:50.799 -> DRAM free: 34200 bytes
18:15:51.815 -> [HTTPS] begin...
18:15:51.815 -> [HTTPS] GET...
18:16:00.617 -> [HTTPS] GET... code: 200
18:16:00.617 -> 9
18:16:00.617 -> DRAM free: 33856 bytes
18:16:01.643 -> [HTTPS] begin...
18:16:01.643 -> [HTTPS] GET...
18:16:04.646 ->
18:16:04.646 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
18:16:04.646 ->
18:16:04.646 -> Soft WDT reset
18:16:04.646 ->
18:16:04.646 -> >>>stack>>>
18:16:04.646 ->
18:16:04.646 -> ctx: cont
18:16:04.646 -> sp: 3ffff3b0 end: 442dc526 offset: 01a0
A WHOLE LOT OF CODE THEN
18:16:09.849 -> ets Jan 8 2013,rst cause:4, boot mode:(3,6)
18:16:09.849 ->
18:16:09.849 -> wdt reset
18:16:09.849 -> load 0x4010f000, len 3460, room 16
18:16:09.849 -> tail 4
18:16:09.849 -> chksum 0xcc
18:16:09.849 -> load 0x3fff20b8, len 40, room 4
18:16:09.849 -> tail 4
18:16:09.849 -> chksum 0xc9
18:16:09.849 -> csum 0xc9
18:16:09.849 -> v00060ae0
18:16:09.849 -> ~ld