Skip to content

Arduino 1.8.4 IDE Network Ports not seen anymore #6695

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

Open
hallard opened this issue Sep 5, 2017 · 8 comments
Open

Arduino 1.8.4 IDE Network Ports not seen anymore #6695

hallard opened this issue Sep 5, 2017 · 8 comments
Labels
Component: Uploading Uploading programs to an Arduino board Type: Bug Type: Regression Something that used to work and now doesn't

Comments

@hallard
Copy link

hallard commented Sep 5, 2017

Hi there,
I noticed on V1.8.3 some random issues with network ports and now with 1.8.4 it is still everytime, all networks devices are not seen in port menu

  • so my first check was trying with Web Editor => Works
    image

  • 2nd with Arduino 1.6.13 => Works !!
    image

  • now with Arduino 1.8.4 => Don't Works
    image

  • Bonjour Browser see the services
    image

It's all on the same computer Windows 10 x64 with firewall disabled
Any idea of the 1.8.4 problem or I'm the only one with this issue?

@facchinm
Copy link
Member

facchinm commented Sep 5, 2017

Hi @hallard ,
could you try launching the IDE using arduino_debug.exe and paste here any (error) output coming from jmdns ? We updated the library after 1.6.13 so there could be some corner cases we didn't encounter yet. Thanks!

@facchinm facchinm added Type: Regression Something that used to work and now doesn't Waiting for feedback More information must be provided before we can proceed labels Sep 5, 2017
@hallard
Copy link
Author

hallard commented Sep 6, 2017

For sure, here the output, the using proxy DIRECT arrive may be 1 minutes after starting appears in console.
image

What is strange is that yesterday after I placed this issue network ports appeared may be 30/60 minutes after I launched IDE, so I'm waiting today to see when it will appears again ;-)

@hallard
Copy link
Author

hallard commented Sep 6, 2017

Ok, just to be sure I installed all V1.8.x version on separate folder (zip download) and launched them one by one

  • 1.6.13 Works (ports seen immediately)
  • 1.8.0 Works (ports seen immediately)
  • 1.8.1 Works (ports seen immediately)
  • 1.8.2 broken (ports not seen immediately and sometimes seen after some time)
  • 1.8.3 broken (ports not seen immediately and sometimes seen after some time)
  • 1.8.4 broken (ports not seen immediately and sometimes seen after some time)

So even if it has been worked (sometimes) with 1.8.1+ may be something changed on my desktop and definitively broken all after 1.8.1.
What I'm sure, is that on same computer (today) 1.6.13 and 1.8.1 works immediately and others version does not.
Very strange

@per1234 per1234 removed the Waiting for feedback More information must be provided before we can proceed label Oct 25, 2017
@adneblett
Copy link

Hello all. I am having (maybe) the same problem as described. I am using Windows 10 with firewall disabled and anti-virus disabled. Arduino is 1.8.7. When I reboot my pc and immediately open the Arduino IDE, I can see my Arduino OTA devices in the network ports menu. A minute or so later, the network ports disappear and I see nothing.

Has anyone figured out anything about this issue?

Thank you.

@Swiftnesses
Copy link

Also see this on the latest hourly build (Mac OSX), 1.8.5 worked fine however...

@facchinm
Copy link
Member

In the last two years we updated jmdns (which is being used to discover network boards) to address security and performance problems in the older versions. The boards are now added/removed based on the information coming from that library, so if a board disappears it is due to mdns reporting the "disconnection".
To be able to solve the issue we should be able to replicate it, so it would be nice if you could add to the report:

  • the OS you are using
  • the network topology and routers/AP
  • the network boards you see disappearing (Yun / MKR1000/ ESP8266 or whatever)
    Thanks!

@stonemull
Copy link

Not much help but just some feedback.

Win 7 64
PC>router ethernet via 2 dlink switches.
router tplink TD-W8980
esp8266 (yet to test with esp32)

It has been a bit intermittent and usually I needed to restart arduino IDE and network OTA devices would then show up immediately, if I did not restart the IDE then usually they would appear within 30 seconds to 10 minutes after programming, rebooting the device helped at times if it did not show after a few minutes.
At least OTA did work for me till today, though I have not used it for 3 or 4 months. tonight I needed it.
No idea what changed but with 1.8.4 and could no longer see any of my ESP8266 devices that previously worked with OTA at all. No idea why, tried restarting IDE multiple times, tried sketches I know worked previously, I did not see a network connection in 4 hours.
I have installed M5stack but can't think of any other changes that may have broken anything.
Anyway I decided to update and installed 1.8.8 .. no luck at all till I restarted the IDE with the OTA device running and it popped up immediately, now it is showing up but no amount of rebooting or waiting would get it to show previously.

@frankygoop
Copy link

frankygoop commented Dec 28, 2018

I installed IDE 1.8.1 and is displaying better the ports and quicker but OTA upload get corrupted or with error anyways. i think all problems started after a windows update (windows 10 1803).

Update
After many tries, OTA is working basically in all IDE if the port are shown. Sometime have to use Bonjour Browser to force to show in the IDE, wait few seconds, bonjour refresh and are shown sometime. Speed need to be 115200 for more reliable upload, and more important compile option SPIFF need to be set 1M. On Arduino Beta 1.9.0 are shown always and upload fine. I am almost convinced it is an Arduino IDE issue on versions from 1.8.4 to 1.8.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Uploading Uploading programs to an Arduino board Type: Bug Type: Regression Something that used to work and now doesn't
Projects
None yet
Development

No branches or pull requests

7 participants