-
Notifications
You must be signed in to change notification settings - Fork 13.3k
AsyncMQTT & OTA does not work together #5857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems I have same problem #5818. But I trying update clear ESP over HTTPS and also getting read timeout. Over HTTP updates ok. Using lwip v1.4 lm. |
@rohitjust24idpl said:
If memory serves, there is a timeout somewhere for Streaming, which signifies max time allowed between two consecutive read attempts. |
What happens if you increase that timeout? ESP8266httpUpdate.cpp: Tried to increase this timeout does not works.
Stream.cpp: Tried to increase this timeout does not works.
Updater.cpp : I see here it attempts twice to read bytes before assigning UPDATE_ERROR_STREAM error. I tried increasing the number of attempts or timeout in data.readbytes both. But it doesn't seems to work. Your thoughts ?
Please guide me which timeout to set ? |
I'm also interested in knowing this as I have issues with V2... |
I also have the same issue on ESP8266 nodemcu and Wimex. |
Closing due to no MCVE, no decoded stack dump, and age. There's unfortunately nothing we can do with the little info in this issue. |
Hi @igrr @marvinroger @me-no-dev @d-a-v,
Basic Infos
Platform
Settings in IDE
Problem Description
Using following libraries
MQTT: AsyncMQTT (OVER SSL)
OTA: ESP8266httpUpdate
Observations as follows
Scenario 1
Scenario 2
NOTE: I am sure this is not a memory issue. I am using the example sketches mentioned in the libraries.
Currently I am stuck how to get these two things work together.
Looking forward for your response. Any help is appreciated.
Debug Messages
Update error: ERROR[6]: Stream Read Timeout
The text was updated successfully, but these errors were encountered: