- Sun May 17, 2015 6:07 pm
#17696
Hi Anakod. Since the latest update, I'm now having problems with the TCP server. For testing, I'm using your HttpServer_Bootstrap example.
The application builds OK, I am able to initialize then flash to an ESP-01, when I restart the ESP-01, the application loads, it connects to my wifi, the remote pages are downloaded correctly, and the webserver starts.
Connecting to the ESP from a web browser: http://[my ip]/hello works ok, but when I try http://[my ip]/ to parse index.html, it seems to fail after a certain point:
Code: Select allresponse sendBody
READ Template (0)
plain template text pos: 2848, len: 1024
TCP connection failed with err -1 ("")
onReadyToSendData: 3
response sendBody
READ Template (0)
plain template text pos: 2848, len: 1024
TCP connection failed with err -1 ("")
onReadyToSendData: 3
response sendBody
READ Template (0)
plain template text pos: 2848, len: 1024
TCP connection failed with err -1 ("")
TCP connection closed by timeout: 90 (from 90)
TCP connection closing
~TCP connection
-TCP connection
... it repeats the fail loop til the 90 sec timeout is hit.
I also tried just pulling and sending the index.html file without parsing it as a template
But the same failure happened.
This is happening since my latest update - version 2.04 of CHERTS build system for Windows, and your latest version of Sming. Before, when I used previous version of Sming, and Espressif SDK v1.0.1b1, I didn't have this problem.
Is it ok to be using the latest Espressif SDK with CHERTS system, or do we still need to use Espressif SDK v1.0.1b1?
Thanks!