WiFi AP disappeared suddenly while using HTTP Server
WiFi AP disappeared suddenly while using HTTP Server
Hi Espressif Developer or Loboris,
We had started to work on nghttpd2 library for HTTP Client and Server purpose. We had ported sample HTTP Web Server example and updated it based on our project requirement.
W have checked almost all post, get, Delete, put APIs with Json and XML file support which works fine without issue if tested it basic test-cases.
But, When we executed same testcases into overnight test at that time WiFi AP mode suddenly stopped and we are getting below prints after 5 to 10 Minutes.
W (698602) wifi: pp task q full: s=11 p=3ffd8948
W (700602) wifi: pp task q full: s=11 p=3ffd8958
W (702602) wifi: pp task q full: s=11 p=3ffd8968
W (704602) wifi: pp task q full: s=11 p=3ffd8978
W (706602) wifi: pp task q full: s=11 p=3ffd8988
W (708602) wifi: pp task q full: s=11 p=3ffd8998
W (710602) wifi: pp task q full: s=11 p=3ffd89a8
W (712602) wifi: pp task q full: s=11 p=3ffd89b8
W (714602) wifi: pp task q full: s=11 p=3ffd89c8
W (716602) wifi: pp task q full: s=11 p=3ffd89d8
W (718602) wifi: pp task q full: s=11 p=3ffd89e8
So, We had also tried to capture WiFi traces but didn't find much details where it has been breaking it.
Please suggest me why and in which situation this type or error will come and AP will be disappeared and how to resolve that issue.
Let me know if need anything else for this issue.
We had started to work on nghttpd2 library for HTTP Client and Server purpose. We had ported sample HTTP Web Server example and updated it based on our project requirement.
W have checked almost all post, get, Delete, put APIs with Json and XML file support which works fine without issue if tested it basic test-cases.
But, When we executed same testcases into overnight test at that time WiFi AP mode suddenly stopped and we are getting below prints after 5 to 10 Minutes.
W (698602) wifi: pp task q full: s=11 p=3ffd8948
W (700602) wifi: pp task q full: s=11 p=3ffd8958
W (702602) wifi: pp task q full: s=11 p=3ffd8968
W (704602) wifi: pp task q full: s=11 p=3ffd8978
W (706602) wifi: pp task q full: s=11 p=3ffd8988
W (708602) wifi: pp task q full: s=11 p=3ffd8998
W (710602) wifi: pp task q full: s=11 p=3ffd89a8
W (712602) wifi: pp task q full: s=11 p=3ffd89b8
W (714602) wifi: pp task q full: s=11 p=3ffd89c8
W (716602) wifi: pp task q full: s=11 p=3ffd89d8
W (718602) wifi: pp task q full: s=11 p=3ffd89e8
So, We had also tried to capture WiFi traces but didn't find much details where it has been breaking it.
Please suggest me why and in which situation this type or error will come and AP will be disappeared and how to resolve that issue.
Let me know if need anything else for this issue.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi Espressif Systems Developer,
We had also tried following test case and faced AP disappeared issue on long run test.
1) Created AP with fixed SSID and Password
2) Created one task which is continuously writing some dummy data of 900 Kbytes from 0x300000 using SPI Flash APIs.
3) Connected one System with this AP and ping is going on continuesly from system to WiFi Device.
4) We are using ESP32 IDF 2.1 for development purpose.
5) ESP32 Core V2 board is used in which 4 MB ESP-WROOM-32 module is used.
So, Once we faced this issue after 10 to 15 Minutes, we are getting WiFi pp queue full error which I have posted earlier.
Please let me know if you guys have any idea regarding this type of issue.
We had also tried following test case and faced AP disappeared issue on long run test.
1) Created AP with fixed SSID and Password
2) Created one task which is continuously writing some dummy data of 900 Kbytes from 0x300000 using SPI Flash APIs.
3) Connected one System with this AP and ping is going on continuesly from system to WiFi Device.
4) We are using ESP32 IDF 2.1 for development purpose.
5) ESP32 Core V2 board is used in which 4 MB ESP-WROOM-32 module is used.
So, Once we faced this issue after 10 to 15 Minutes, we are getting WiFi pp queue full error which I have posted earlier.
Please let me know if you guys have any idea regarding this type of issue.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi there,
I also am facing a similar.
my esp32 (configured as AP) shows there is a new station connected into it ( even though the station has been connected and transfered data already):
look at the wifi signal on the station PC (the level bar dramatically downs). After a moment, the wifi completely disappears
. Then even the wifi could be restored but my previous state is lost.
this is a weird phenomena, which I trust it is related to hardware (power consumption,etc). i am looking forward to hearing from experts
I also am facing a similar.
my esp32 (configured as AP) shows there is a new station connected into it ( even though the station has been connected and transfered data already):
Code: Select all
I (4001604) wifi: n:1 1, o:1 1, ap:1 1, sta:255 255, prof:1
I (4001604) wifi: station: 74:e5:43:04:86:99 join, AID=1, n, 40U
. Then even the wifi could be restored but my previous state is lost.
this is a weird phenomena, which I trust it is related to hardware (power consumption,etc). i am looking forward to hearing from experts
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi Espressiif Systems Developer,
We had also did following different test-cases to reproduce and are able to reproduce AP Disappear issue while writing data into flash memory using standard SPI Flash Access APIs along with HTTP Rest Interface Request into long run test.
But, When we replicated above test-code with appropriate delay instead of Flash Erase + Flash Write API with same test-cases at that time it was working fine without any issue.
Would you please help us to resolve this issue as we had tried with all possible test-cases but didn't find any feasible solution yet?
We had also did following different test-cases to reproduce and are able to reproduce AP Disappear issue while writing data into flash memory using standard SPI Flash Access APIs along with HTTP Rest Interface Request into long run test.
Code: Select all
Default Partition Mechanism and used Flash Erase + Flash Write API into 0x300000 on every HTTP Post Request of 900 Kbytes
Default Partition Mechanism and used Flash Erase + Flash Write API into 0x200000 on every HTTP Post Request of 900 Kbytes
Would you please help us to resolve this issue as we had tried with all possible test-cases but didn't find any feasible solution yet?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
I think there are several possible bugfixes in 3.0 that could fix this. You are going to keep getting headache if you stay with 2.1 IMO. To me 2.1 was never production ready.Ritesh wrote:4) We are using ESP32 IDF 2.1 for development purpose.
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi,WiFive wrote:I think there are several possible bugfixes in 3.0 that could fix this. You are going to keep getting headache if you stay with 2.1 IMO. To me 2.1 was never production ready.Ritesh wrote:4) We are using ESP32 IDF 2.1 for development purpose.
We had already tried with 2.1, 2.1.1 and 3.0 RC1 Release and we are facing same issue while running long run test. We are not getting issue for couple of basic testing.
Also, We had checked and tested different test-cases and faced issue while using HTTP Rest Interface along with SPI Flash Access APIs in which Flash Erase and then Flash Write.
We had checked separate SPI Flash API and separate HTTP Rest Request with AP mode and not faced any AP disappeared issue but when we used SPI Flash Access APIs with HTTP Post request at that time we had faced AP disappeared issue on long run test.
So, Once we faced this issue then we got PP task full messages after 5 to 10 minutes.
Would you please check in which situation this type of issue can be occurred? And how to resolve or overcome that issue?
Let me know if you need sample source with logs for analysis purpose.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi WiFive,
Did you check my last response? Do you need anything else from my side regarding this?
Did you check my last response? Do you need anything else from my side regarding this?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi Espressif Developer,
We had tried to reproduce WiFi AP disappeared issue with ESP32 IDF 3.0 RC1 and not able to reproduce yet.
So, I had tried to compare changes into ESP32 IDF 3.0 w.r.t. ESP32 IDF 2.1 and found lots of changes as per release note.
So, we can not isolate what change was affecting his issue into ESP32 IDF 2.1 SDK.
Do you have any idea or clue to isolate it?
We had tried to reproduce WiFi AP disappeared issue with ESP32 IDF 3.0 RC1 and not able to reproduce yet.
So, I had tried to compare changes into ESP32 IDF 3.0 w.r.t. ESP32 IDF 2.1 and found lots of changes as per release note.
So, we can not isolate what change was affecting his issue into ESP32 IDF 2.1 SDK.
Do you have any idea or clue to isolate it?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi,
Any update for this as per last updates provided by me?
Any update for this as per last updates provided by me?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: WiFi AP disappeared suddenly while using HTTP Server
Hi Loboris or Espressif Developer,
Did you check my couple of last responses which I sent regarding this issue?
I didn't get any update regarding this yet.
Did you check my couple of last responses which I sent regarding this issue?
I didn't get any update regarding this yet.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 143 guests