esp32 http server

wanglemao
Posts: 1
Joined: Sat Sep 29, 2018 7:05 am

esp32 http server

Postby wanglemao » Sat Sep 29, 2018 7:13 am

我基于例子http server开发了一个自定义的web server
在多个客户端请求页面的时候,后台开始报错
错误码如下:
W (42127) httpd: httpd_accept_conn: error in accept (23)
W (42127) httpd: httpd_server: error accepting new connection
W (42127) httpd: httpd_accept_conn: error in accept (23)
W (42137) httpd: httpd_server: error accepting new connection
W (42687) httpd: httpd_accept_conn: error in accept (23)
W (42687) httpd: httpd_server: error accepting new connection
W (42687) httpd: httpd_accept_conn: error in accept (23)
W (42687) httpd: httpd_server: error accepting new connection
I (44267) [WEB-HOME]: Request headers lost
I (44367) [LIB-JS]: Request headers lost
I (44387) [LIB-JS-TOOLS]: Request headers lost
I (44457) [LIB-CSS]: Request headers lost
这个错误的原因是什么,我该怎么样去解决,谢谢!

User avatar
gost.404
Posts: 19
Joined: Sat Jul 01, 2017 5:48 pm

Re: esp32 http server

Postby gost.404 » Fri Oct 05, 2018 1:59 pm

Hi,
I had same issue and in my case this was due to the fact that I configure HTTP server max_open_sockets parameter = 12 while I had only 10 sockets in system

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 94 guests