Aircoookie / Espalexa

Alexa voice control for ESP8266/ESP32 (including brightness and color!)
MIT License
529 stars 135 forks source link

receiving [E][WebServer.cpp:633] _handleRequest(): request handler not found Asyncwebserver #190

Open larryl79 opened 2 years ago

larryl79 commented 2 years ago

I ve got a code for set ledstrip color on ESP32 with ESPALEXA_ASYNC enabled and receiving a loads of message on console:

[E][WebServer.cpp:633] _handleRequest(): request handler not found

even when calling / or /api/lights

code: https://pastebin.com/Vtv4erBd

Alberthacos commented 1 year ago

Did you solve it? I am having the same problem. I was checking the file Espalexa.h and found this:

 #ifdef ARDUINO_ARCH_ESP32
  #include <WiFi.h>
  #include <WebServer.h> //if you get an error here please update to ESP32 arduino core 1.0.0
 #else
  #include <ESP8266WebServer.h>
  #include <ESP8266WiFi.h>
 #endif
#endif

I'm trying, but yet can not solve it

Edit: I solve it with this