Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

OTA broken after commit #7036

Open MarkusAD opened this issue 6 years ago • 4 comments

Basic Infos

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

Platform

  • Hardware: nodemcu
  • Core Version: e6decacd0a03a61f00068264b024e7
  • 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.

MarkusAD avatar Feb 28 '20 20:02 MarkusAD

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 ?

d-a-v avatar Feb 28 '20 23:02 d-a-v

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 avatar Feb 28 '20 23:02 MarkusAD

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.

MarkusAD avatar Feb 29 '20 00:02 MarkusAD

Ah I didn't try with auth.

d-a-v avatar Feb 29 '20 00:02 d-a-v