Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By erikpena
#25060 Hello All,
I'm working with the libraries made available by the following github repo--

https://github.com/esp8266/Arduino

Part of my project includes Web Server that accepts in an ssid and password which the ESP8266 will use to connect as STA. For the wifi connection process, I'm allowing a 60 second timeout before determining that I am unable to connect to the wifi during which I am holding the Web Server request open (See below for very basic sequence).

The problem I am facing is that the connection gets closed out before the timeout that is being applied to the wifi connection is realized. The results in a connection closed message. So what I'm wondering is if there is some configuration that I need to set in order to disable or increase the timeout for request/responses?

Image