Skip to content

OTA - No Network port is shown ! #5273

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
HamzaHajeir opened this issue Oct 24, 2018 · 11 comments
Closed

OTA - No Network port is shown ! #5273

HamzaHajeir opened this issue Oct 24, 2018 · 11 comments

Comments

@HamzaHajeir
Copy link

HamzaHajeir commented Oct 24, 2018

Hi guys.
I've worked 2 days ago to flash my esp Over The Air.
Uploaded BasicOTA official sketch, All things went fine. Tested file uploading with success.

Today I went to develop the code and merge it in a real project. but after i upload it by serial, Network port won't show anymore (Only Serial) !

So tried back to BasicOTA sketch, with no success.

I've dived into this topic and reached a good point to the final solution.

See @krzychb's response , I tried a similar command below, See results :

image

OTA uploading is success! but until now there's no Network port is shown at Arduino IDE.

  • I've restarted Arduino IDE many times with no success.

Platform

  • Hardware: [ESP8266 NodeMCU 1.0 v3]
  • Development Env: [Arduino IDE 1.8.7]
  • Operating System: [Windows 10 x64]

Settings in IDE

image

My esp8266's core is updated (2.4.2)

Thanks in advance
Hamza Hajeir

@devyte
Copy link
Collaborator

devyte commented Oct 24, 2018

After serial upload, did you physically reset the ESP (e.g.: press the reset button)?

@HamzaHajeir
Copy link
Author

@devyte Yes i did many times.

Also tried to re-power it manually by re-plugging its usb cable.

@devyte
Copy link
Collaborator

devyte commented Oct 24, 2018

Oh, it's windows. Did you disable the firewall, or at least set up a firewall rule? OTA works with the ESP's MDNS responder, which is UDP.

@devyte
Copy link
Collaborator

devyte commented Oct 24, 2018

Also, closing as this is not an issue with the core.

@devyte devyte closed this as completed Oct 24, 2018
@HamzaHajeir
Copy link
Author

Yes I've fully disabled firewall and created rules that works with active firewall.
image

If i did not, it wouldn't flash OTA manually.

@peros550
Copy link

Also, closing as this is not an issue with the core.

I'm having the same issue. Where should we report this issue?

@devyte
Copy link
Collaborator

devyte commented Dec 16, 2018

It's already fixed post beta1: ArduinoOTA now calls MDNS.update() to maintain it, assuming begin() or begin(true).

@peros550
Copy link

peros550 commented Dec 16, 2018

Please forgive my ignorance. I have been working the whole weekend troubleshooting why the OTA mechanism stopped working. It was a long time when I last used OTA and some (esp8266 boards) version updates were made but not tested.

Therefore, I was focusing on what my code did to break the OTA rather than the tools I used.

Finally, I have just found out that all versions (including the latest beta) post 2.3.0 have broken OTA functionality for me.

I am using Wemos D1 mini which has been renamed to Lolin.

@HamzaHajeir
Copy link
Author

Hi @peros550, I've tried to search for a solution. I've opened a thread at esp8266 forums.

But i didn't find the solution yet.

Might one approach mentioned there would work well for you.

https://www.esp8266.com/viewtopic.php?f=28&t=18712&p=79014

Please tell me if you get the solution.

@devyte
Copy link
Collaborator

devyte commented Dec 17, 2018

@HamzaHajeir ArduinoOTA relies on MDNS, and MDNS was sort of broken before. Try with beta2.
Also, your laptop firewall must allow the traffic, try disabling it for testing.

@HamzaHajeir
Copy link
Author

@HamzaHajeir ArduinoOTA relies on MDNS, and MDNS was sort of broken before. Try with beta2.
Also, your laptop firewall must allow the traffic, try disabling it for testing.

I've reached a point all firewalls are enabled xD

But for me all firewall settings are ok, Because i can upload binary file OTA but by a command via Command Prompt.

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

No branches or pull requests

3 participants