HomeACcessoryKid / life-cycle-manager

Initial install, WiFi settings and over the air firmware upgrades for any esp-open-rtos repository on GitHub
Apache License 2.0
60 stars 11 forks source link

wolfSSL_send error = -322 #31

Closed AR-Tawil closed 2 years ago

AR-Tawil commented 3 years ago

Hi I can't update my ESP8266 board OTA. Can you please help.

--- ota_connect LocalPort=c083 DNS IP:140.82.121.4 local..OK remote..OK SSL..OK set_fd to github.com port 443..OK sent OK HTTP/1.1 302 Found Server: GitHub.com Date: Tue, 13 Apr 2021 18:33:13 GMT Content-Type: text/html; charset=utf-8 Vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With Location: https://github-releases.githubusercontent.com/127610504/8d20b280-6671-11eb-8557-9b13eda4d6c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210413T183313Z&X-Amz-Expires=300&X-Amz-Signature=562436e1bcfb6d2a380026b183c98bf97f4c142a633f9b830e28cc60acabcff8&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=127610504&response-content-disposition=attachment%3B%20filename%3Dotamain.bin.sig&response-content-type=application%2Foctet-stream Cache-Control: no-cache Strict-Transport-Security: max-age=31536000; includeSubdomains; preload X-Frame-Options: deny X-Content-Type-Options: nosniff X-XSS-Protection: 0 Referrer-Policy: no-referrer-when-downgrade Expect-CT: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors" Content-Secu HTTP returns 302 --- ota_connect LocalPort=c084 DNS IP:185.199.111.154 local..OK remote..OK SSL..OK set_fd to github-releases.githubusercontent.com port 443..failed, return [-0x1] wolfSSL_send error = -322 send request......failed, return [-0x1] wolfSSL_send error = -322 --- ota_verify_signature signature valid: 0 --- entering the loop

HomeACcessoryKid commented 3 years ago

I expect you have a version of LCM < 2.1.2 and you will have to reflash your device

Read issues #29 and #23 why this is so. Effectively, you are 3 weeks late, sorry.

Please confirm the LCM version?