Hello,
I am using an esp32s3 and making an HTTP CLIENT call using the streaming method (esp_http_client_init,...open, write, etc...).
Sometimes when I call "esp_http_client_write" I see the error below:
transport_base: Poll timeout or error, errno=Success, fd=54, timeout_ms=25000
Questions:
1. What is the proper way to handle this? Do I call "esp_http_client_write" again? Or is there a way to wait, and poll again?
2. How do I catch this error myself? It shows up on the console, but my code doesn't see it. I get a 0 return code from esp_http_client_write but that isn't enough to know what the error was. (I have registered the HTTP handler and it doesn't go there. Is another handler I can register to see it?)
I believe the error is happening because in some cases the server takes a long time. So, I expect I need to retry or wait.
Thanks for your help,
Dan
Handling transport_base: Poll timeout or error
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 170 guests