-
Notifications
You must be signed in to change notification settings - Fork 13.3k
MDNS queryservice results in crashes and wdts #2169
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
Comments
have the same problem. Will also look into this... |
Possibly related to #2020? |
@sticilface Could you please enable debug logging in ESP8266mDNS.cpp and paste the output? |
Sorry i seemed to have missed your request for more info. will do. (i actually wrote my own lib to do service discovery.. with a semi-sort of group back off feature to reduce traffic.) |
Can you guys test this PR?
|
I am still getting the wdt reset on first run followed by an unrecoverable crash loop after reset with the new mdns -- I have to re-flash to stop the crash loop. EDIT: It was a code problem on my part -- wasn't setting |
@sticilface The PR referenced above was merged. Is this issue still valid in latest git? |
Closing in view of #5442 with a full rewrite of mdns. |
Using MDNS.queryservice results in wdt when there are more than one (maybe 2+) esps advertising and querying services on the network. average uptime is about 1 min.
advertising using this
searching using this in loop
several issue i think here:
should maybe be moved async and handled in the handle(), and packets dealt with as they arrive and removed from the buffer, to stop the buffer being filled before processing starts..
interestingly there are stack traces occurring within the wdt resets... that are in _parsePacket()
The text was updated successfully, but these errors were encountered: