Closed denisbrondy closed 5 years ago
Please post a minimal full example with source code so that I can verify at my end.
Hi @denisbrondy , as @electronicsguy said, it is not possible to help you without additional information. In my experience, I get this exception when two requests are sent in a too short time. @electronicsguy : it would be wonderful if you are able to make your library more robust by checking that a certain delay is observed when two requests are too close. Bye and thank you very much again for your great job!
@denisbrondy Updated for compatibility with latest version of esp8266 library (2.5.0-beta2). Please use this and report back. @pierangelof Thank you! I appreciate it. Yes I do want to make it more robust. My regular job is taking up all my time :( But will work on it. Any help is appreciated.
hi @electronicsguy, @pierangelof Sorry for my late answer... I think get busy too like you guys with my regular job. As you say, it is linked to the fact the ESP8266 is really limited in memory for handling https request, or at least, it is required to make delay in between calls in order to properly free heap memory. I switch to ESP32 for my project when I started observing this, and now I would say that this is not linked to the present library. Tks again guys and have a really good Christmas. Chears !
@denisbrondy ESP32 is not supported as yet. There are problems with the library. Please use esp8266 for now.
Hi guys, I'm facing problem using this nice library... My test is terribly simple, just making a get to google script API. I can make only one call and the second crashes. I tracked the heap space and it seems not correctly released prior to the second call... Any idea ? Could it be linked to the Wificlient secure underlying library ? Tks denis
Heap at start 42080 Connecting to script.google.com Heap 25760 {"result":"success","events":[{"title":"Anniv David","start":1532469600000,"end":1532556000000},{"title":"Anniv Didier","start":1533938400000,"end":1534024800000},{"title":"Anniv Estele","start":1533938400000,"end":1534024800000},{"title":"Anniv Valerie","start":1534370400000,"end":1534456800000}]} Connecting to script.google.com Heap 8064 {"result":"success","events":[{"title":"Anniv David","start":1532469600000,"end":1532556000000},{"title":"Anniv Didier","start":1533938400000,"end":1534024800000},{"title":"Anniv Estele","start":1533938400000,"end":1534024800000},{"title":"Anniv Valerie","start":1534370400000,"end":1534456800000}]} Connecting to script.google.com
Exception (29): epc1=0x4021617b epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000006 depc=0x00000000