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.
ESP32 hangs on large string
Re: ESP32 hangs on large string
Would you please elaborate your issue in details?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.
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.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: ESP32 hangs on large string
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.
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
Hi,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.
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.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: Bing [Bot] and 65 guests