Webserver - high delay for some requests (FritzBox <-> 8266)
Posted: Sun Dec 27, 2015 4:14 am
Hi !
I´ve a very strange Problem and hopefully someone here has an idea ...
Ok I build a small device which can open and Close my Garage. It uses 2 Relais and a ESP8266-07 (I´ve also used a ESP-12).
The device works very well on my desk ... But in the Garage it´s a different Story.
The device is connected and has an IP address. And if I try to Access it I get > 4 seconds of delay. I used fiddler to send requests and you can see that it takes a very Long time to send the request to the 8266. The Response is very fast (only some ms).
The strange Thing is that I got this Long delays only if there was no request for ~10 minutes. If you make requests very quick I have an Overall time at ~0,7 seconds (which would be ok).
My Sketch based on the webserver sample.
So are there any timeouts or any sleep timer which can cause this behaviour?
Or is it the low Connection (only -87dBm RSSI)?
btw ... I use a FritzBox 7490. And if I plug in a repeater (Fritz Repeater 310) I got Overall times from ~9-10 seconds
Hope on any help.
greetings
Dominik
I´ve a very strange Problem and hopefully someone here has an idea ...
Ok I build a small device which can open and Close my Garage. It uses 2 Relais and a ESP8266-07 (I´ve also used a ESP-12).
The device works very well on my desk ... But in the Garage it´s a different Story.
The device is connected and has an IP address. And if I try to Access it I get > 4 seconds of delay. I used fiddler to send requests and you can see that it takes a very Long time to send the request to the 8266. The Response is very fast (only some ms).
The strange Thing is that I got this Long delays only if there was no request for ~10 minutes. If you make requests very quick I have an Overall time at ~0,7 seconds (which would be ok).
My Sketch based on the webserver sample.
So are there any timeouts or any sleep timer which can cause this behaviour?
Or is it the low Connection (only -87dBm RSSI)?
btw ... I use a FritzBox 7490. And if I plug in a repeater (Fritz Repeater 310) I got Overall times from ~9-10 seconds
Hope on any help.
greetings
Dominik