Page 1 of 1

ESP32 hangs on large string

Posted: Tue Aug 28, 2018 11:03 am
by Yordan
Hello.
I need a ESP as a web server which provide pages which is build dynamically.
Anyway it turns out that it hangs when it need to create a large strings ( as a html content and tags ).
I have initially tied with WiFiServer, but it turns out that it hangs out by reason unknown, next I've tried with WebServer.h but it is having now problems with the large strings which i am building, and there seems like is no direct way to put portions in the client with it.

Please advice. Any help or redirecting to something more stable will be in great help.

Re: ESP32 hangs on large string

Posted: Tue Aug 28, 2018 6:37 pm
by Ritesh
Yordan wrote:Hello.
I need a ESP as a web server which provide pages which is build dynamically.
Anyway it turns out that it hangs when it need to create a large strings ( as a html content and tags ).
I have initially tied with WiFiServer, but it turns out that it hangs out by reason unknown, next I've tried with WebServer.h but it is having now problems with the large strings which i am building, and there seems like is no direct way to put portions in the client with it.

Please advice. Any help or redirecting to something more stable will be in great help.
Would you please elaborate your issue in details?

Also which ESP32 IDF are you using?

Also is there any web server Component are you using?

ESP32 device is in AP mode or STA mode or both AP+STA?

It will be good if you share your code snippet for same.

Re: ESP32 hangs on large string

Posted: Tue Aug 28, 2018 7:47 pm
by Yordan
ESP 32D - WROVER

I am using the original framework.

I am using WiFiServer component as a server.
anyway at some point the connection is either reset by the peer or just ESP does not respond, and my SSD1309 display freezing at this moment.

Re: ESP32 hangs on large string

Posted: Sat Sep 01, 2018 5:15 pm
by Ritesh
Yordan wrote:ESP 32D - WROVER

I am using the original framework.

I am using WiFiServer component as a server.
anyway at some point the connection is either reset by the peer or just ESP does not respond, and my SSD1309 display freezing at this moment.
Hi,

Did you find solution for your problem or still same issue?

Just verify that ESP32 IDF and Web Server components are stable which you are using for your application purpose.