Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

mdns stop working/resolving hostname.local after ~2.5 minutes after boot #561

Open
rootmax84 opened this issue Jan 3, 2023 · 4 comments

Comments

@rootmax84
Copy link

Is there any fix of this?

@JDP-Maker
Copy link

On what OS? On windows 10+ the builtin mdns is pretty strange. I disabled it and installed bonjour.

@rootmax84
Copy link
Author

On what OS? On windows 10+ the builtin mdns is pretty strange. I disabled it and installed bonjour.

Any OS. IOS, linux, macos, etc. Bonjour on windows doesn't help.

@JDP-Maker
Copy link

JDP-Maker commented Jan 5, 2023

I don't see any problems like you describe using 3.2.47.alpha and windows 10 arduino IDE 1.8.57.0. Haven't tried other versions since 3.2.47 is working for me. But as I said with windows native MDNS, the host name would come and go. But using bonjour I see host name consistently. How are you seeing the host name disappear, using Arduino IDE, or MDNS browser. I think I saw a post about Arduino IDE 2.0 having trouble with MDNS. I am using IDE version 1.8.57.0 but I have noticed by watching the MDNS browser, that if IDE is launched before esp8266 is rebooted that a restart of IDE is needed to pick up the host name. Might be if I was more patient it would appear after some time, but once I figured out restarting IDE made it come up right away I just started restarting after seeing host name in MDNS browser.

@Jerther
Copy link

Jerther commented Nov 10, 2024

I have the same problem. Fedora Linux 39. Using avahi-browse -a I can randomly see it the ESPLink appear (plus sign)

+ wlp4s0 IPv4 esp-link _arduino._tcp local

but then shortly after, it disappears (minus sign).

- wlp4s0 IPv4 esp-link _arduino._tcp local

it may come back, after a few minutes, or an hour. It seems VERY random. I thought I could make it appear by resetting the hostname setting, but I think it was just a coincidence.

The ONE time I cought it and set it as the programming port in Arduino IDE I got this error:

Resetting the board
Failed to reset the board, upload failed

It used to work fine though. I'm really not sure what has changed. Last time I used ESPLink to wirelessly program an ATMega in Arduino was more than a year ago. Software updates, security updates, who knows...

I really wish there was an easy way to manually configure the ESP Link parameters in Arduino IDE and not rely on mDNS. Should just be an ip address and a port, right?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

3 participants