Hi,
I have code that worked perfectly for a year.
But since I changed my old Dlink-645 for a new 5G – 2.4G router from EBOX. I have an ERR_CONNECTION_TIMED_OUT (to long to answer).
What are my options?
The loginIndex web page is uploaded. with admin user – password
The serverIndex is the one that trigger the ERR_CONNECTION_TIMED_OUT .
Hi.
I think that error means that the ESP32 is not establishing a connection with the router.
What is exactly the example that you are following?
Regards,
Sara
https://randomnerdtutorials.com/esp32-over-the-air-ota-programming/
If it was so , how could the web page appear?
https://www.dropbox.com/s/omonvndokza67pp/login.png?dl=0
JPD
ROUTER
Modèle : Thomson – TC4400
Adresse MAC : 5C7D7D03BFE4
Numéro de série : CP2038HD3U5
Vitesse de téléchargement maximale : 940 Mbps
Hi.
Yes. You are right. In that case, it shouldn’t be a program of the router.
Did you change anything on the code, or are you just trying the sample example?
Regards,
Sara
Does the new router have DHCP server turned on? Are there enough IP Addresses available? Does it have 2.4GHz turned on? These are things the ESP32 requires. Is there any kind of firewall? Do you have to specify MAC addresses in the router? How are the antennas different (ie. perhaps the ESP32 needs to be closer to the new router).
WiFi issues are difficult to troubleshoot.
Did you change anything on the code? No
Does the new router have DHCP server turned on? YES
Does it have 2.4GHz turned on? Yes
The 20 years old DLink – 645 no antenna.
192.xxx.1.2xx
24:62:ab:e1:11:c4
BR-LAN
Are there enough IP Addresses available? Yes
JPD
Did you try bringing the ESP32 closer to the router?
Note that the DLink645 would have had antennas. They were probably internal. A router would never work without antennas.
If it was so , how could the web page appear?
True. I guess we both made an assumption which was incorrect.
I guess the best idea would be to update all of the libraries used to the latest versions. Also, try a different ESP32.
As Steve suggested try updating everything. Including your ESP32 boards installation.
If it doesn’t work, I suggest that you try this library for OTA updates: https://github.com/ayushsharma82/ElegantOTA
We’ll release a tutorial about this next week.
Regards,
Sara
???
I resetted to default Everything works!
From the provider. “Concrètement il n’y a pas de configuration à faire avec le routeur SR905.
Il suffit d’entré le SSID et le mot de passe de votre connexion dans le fichier de configuration de votre ESP32 et le tout devrais fonctionner.”