Skip to content
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

OTA broken after commit #7036 #7124

Closed
5 of 6 tasks
MarkusAD opened this issue Feb 28, 2020 · 4 comments · Fixed by #7132
Closed
5 of 6 tasks

OTA broken after commit #7036 #7124

MarkusAD opened this issue Feb 28, 2020 · 4 comments · Fixed by #7132

Comments

@MarkusAD
Copy link

MarkusAD commented Feb 28, 2020

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: nodemcu
  • Core Version: e6decac
  • Development Env: Makefile
  • Operating System: Linux

Settings in IDE

  • Module: Generic ESP8266 Module
  • Flash Mode: qio
  • Flash Size: 4M
  • lwip Variant: v2 Lower Memoru
  • Reset Method: nodemcu
  • Flash Frequency: 40Mhz
  • CPU Frequency: 80Mhz
  • Upload Using: OTA
  • Upload Speed: 115200

Problem Description

@d-a-v @devyte After commit #7036 OTA no longer works, it just hangs. I traced it back to this specific commit.

@d-a-v
Copy link
Collaborator

d-a-v commented Feb 28, 2020

I tried the OTALeds (ArduinoOTA lib using UDP to negociate) example sketch and it's still working.
Can you give more details on your setup ?

@MarkusAD
Copy link
Author

I have several nodemcu and d1_mini_pro and they all had the same symptom, all refused authentication. I do all my own dns and dhcp services. Once I reverted my git repo back before that commit, OTA worked again on all of them. Host environment is x86_64 and arm (both 32 and 64).

@MarkusAD
Copy link
Author

MarkusAD commented Feb 29, 2020

Just tried again on a pi3, same thing but this time espota.py spills "No Answer". I was beginning to think it was a linux python3 issue before I tried reverting my repo. This time on the pi with a board currently flashed with a pre #7036 sketch, ota works the first time, then ota hangs after being flashed with a post #7036 sketch.

Build environment is plain Makefiles and/or Makefiles with arduino-builder (1.8.12).

ETA: I tried several different nonosdk flavors and lwip (lm,hb,features) options, all with the same effect.

@d-a-v
Copy link
Collaborator

d-a-v commented Feb 29, 2020

Ah I didn't try with auth.

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

Successfully merging a pull request may close this issue.

2 participants