-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
3.1.0 with ESP32 C6 - SimpleTime.ino produces mutex not ready errors #10754
Comments
@me-no-dev - I confirm the issue. |
I am getting the same error. Is there any fix to it? I am unable to make HTTP GET calls. Even the Async Server is broken now. Everything seems broken with XIAO ESP32C6 moving from XIAO ESP32C3.
Gives error:
|
Another Example. While running this program, the same error on XIAO ESP32C6.
Error:
|
I can confirm that any kind of network activity, mostly |
The issue has been found, but the fix will require a new Arduino release because it is embedded into OpenThread static precompiled library. We are working to solve it. I'll post the progress in this issue thread. |
Lib Builder PR espressif/esp32-arduino-lib-builder#257 fixes this issue. |
@SuGlider Wow, you people are like |
@SuGlider I am new to these things, I explored few things, so a new ESP32 Arduino Release will happen when these milestones are completed right? These: Milestones |
I have reproduced this error on all the C6 boards I have laying around. Basically, anytime I use a domain name for anything, it blows up. If I shift to IP addresses, the problem disappears. It makes it a little cumbersome switching back and forth between chips. |
The issue is directly related to DNS resolution. ESP32 Arduino will solve it by releasing a new package version that fixes it by removing the OpenThread protocol DNS64 client feature. This shall be done soon in the beginning of 2025. At the same time OpenThread IDF Team is investigating the issue in order to fix DNS64 client. When this is solved, we shall reactivate it in the ESP32 Arduino Configuration. That shall be done by releasing again a new version package. |
FYI: An IDF fix has been tested and I confirmed that it solves this issue. Therefore, it will be merged soon to IDF and we will be able to enable back OpenThread DNS64 Client support with no problems related to WiFi DNS Client resolution as here reported. |
I think that a fix release will be released first. |
Board
M5Stack M5NanoC6
Device Description
None
Hardware Configuration
Nothing
Version
latest master (checkout manually)
IDE Name
Arduino IDE 2.3.4
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
115200
Description
3.1.0 with ESP32 C6 - SimpleTime produces mutex not ready errors
Running SimpleTime.ino example under 3.1.0 with a M5NanoC6 (ESP32 C6) produces repeated:
E (50100) OPENTHREAD: esp_openthread_task_switching_lock_acquire(38): Failed to acquire the lock because the mutex is not ready
E (50100) OPENTHREAD: esp_openthread_task_switching_lock_release(46): Failed to release the lock because the mutex is not ready
E (50111) OT_DNS64: Cannot find NAT64 prefix
No time available (yet)
Sketch
Debug Message
Other Steps to Reproduce
SimpleTime.ino on M5NanoC6 with 3.0.7 works correctly.
ESP32 & ESP32 S2 work correctly on 3.1.0.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: