-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
[E][WiFiGeneric.cpp:641] hostByName(): DNS Failed for CE #1595
Comments
Hardware: Description: It occurs intermittently - somewhere between 1 and 4 hours after reset. After one occurrence, the error occurs every time the device attempts a POST request. Haven't tested on an internet DNS lookup or using a LAN IP address yet.
I suppose there's a way to catch the error and reset the wifi connection that might work. I'll update this if I find a workaround. |
I'm also getting it during or after BLE scans |
This seems to happen here when a task has a priority too high (over 4) or may the wifi code isn't pinned to arduino core |
I think I found the problem: there is a task that handle the hostByName() command here This task has priority 2, so if you create other tasks with more priority, the reported bug will appear |
Having the same issue despite the update. The message "STA IP..., GW... " is logged, though, so it gets all the addresses needed. |
Nevermind that. I passed "http://hostname" instead of just "hostname". |
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: version 3.5.4/ says most up to date (Seems wrong?)
IDE name: Platform.io
Flash Frequency: 40Mhz
Upload Speed: 115200
Description:
Not sure what is happening, but this is the error I am getting:
[E][WiFiGeneric.cpp:641]
hostByName(): DNS Failed....`
I think it has to do with calling WiFi.begin(sid, pwd), but wanted to verify..
The text was updated successfully, but these errors were encountered: