Aircoookie / Espalexa

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

Alexa says device unresponsive. #75

Open daksh1305 opened 5 years ago

daksh1305 commented 5 years ago

Hey i am facing an issue with alexa i integrated esp alexa with my code.My code is designed in such a way that it opens an https server at port 8080 and espalexa is designed to work at port 80.The server which i hosted on port 8080.The problem comes when i use the port 8080 and try to on/off the lights using the web interface.When i on the device from the webinterface but try to off it using alexa.Alexa says that the device is unresponsive.However i am able to access the espalexa page at https://[ip]/espalexa and it shows the discovered devices but i am not able to use them.

Can anyone help me with it please

@Aircoookie Help would be really appretiated

Aircoookie commented 5 years ago

Hey and sorry for the late response! Can you try opening both http://[ip]/api/api/lights and https://[ip]/api/api/lights in your browser? If only the https works, your change somehow disabled the http endpoint. Feel free to post some code, maybe i can find the issue!

gannaramu commented 5 years ago

what does it mean if https doesn't work but http work?