• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

OTAWebUpdater with async webserber : new router

Q&A Forum › Category: ESP32 › OTAWebUpdater with async webserber : new router
0 Vote Up Vote Down
Jean Pierre Daviau asked 4 years ago

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?

Question Tags: new router rethrow the dices
19 Answers
0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

The loginIndex web page is uploaded.  with admin user – password
The serverIndex  is the one that  trigger  the  ERR_CONNECTION_TIMED_OUT  .

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

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

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

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
 

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

ROUTER
 
 Modèle : Thomson – TC4400
 Adresse MAC : 5C7D7D03BFE4
 Numéro de série : CP2038HD3U5
 Vitesse de téléchargement maximale : 940 Mbps

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

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

1 Vote Up Vote Down
Steve Mercer answered 4 years ago

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.

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

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

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

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.

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

I will

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

>I will

Same problem.

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Have you tried any other web server project?

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

Yes.

https://randomnerdtutorials.com/esp32-async-web-server-espasyncwebserver-library/

It is ok.
 
 

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

 
If it was so , how could the web page appear?

https://i2.wp.com/randomnerdtutorials.com/wp-content/uploads/2018/11/serverindex.jpg?w=621&quality=100&strip=all&ssl=1

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

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.

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

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

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

???

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.”

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Is your problem fixed now?

0 Vote Up Vote Down
Jean Pierre Daviau answered 4 years ago

Yes.
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Great!
I’ll close this issue.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.