Skip to content

Fix failing Updater with https (WifiClientSecure) #3691

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

Closed
wants to merge 3 commits into from
Closed

Fix failing Updater with https (WifiClientSecure) #3691

wants to merge 3 commits into from

Conversation

nuclearcat
Copy link
Contributor

In arduino code

   size_t written = Update.writeStream(client2);

Current code often fails with error "Error Occurred. Error #: 6", with this patch this error doesn't appear.
I tested it on my side, but it should be unit tested on other scenarios, if possible.

…iClientSecure) with slow connections or bad signal. This patch increase reliability of update a lot.
@nuclearcat
Copy link
Contributor Author

Anybody alive?

@nuclearcat
Copy link
Contributor Author

Added additional patch to reset timeouts counter, this bug appeared on very slow ppp link (GSM)

@nuclearcat nuclearcat closed this Feb 19, 2020
@nuclearcat
Copy link
Contributor Author

I will make better version of patch now, for latest master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant