• 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

WIFI_Web_Server_Outputs Ardunio Code

Q&A Forum › WIFI_Web_Server_Outputs Ardunio Code
0 Vote Up Vote Down
Bill Wilson asked 5 years ago
5 Answers
0 Vote Up Vote Down
Bill Wilson answered 5 years ago

The question is, when I run the program it works, however if wait several seconds between sending response my web server times out and says the ESP32 server not responding. How do I stop the time out problem.

Bill

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hello Bill,
Are you using Google Chrome as your web browser?
Can you try to follow this procedure to add a timeout timer in your code: https://rntlab.com/question/solved-esp32-web-server-drops-connection-crashes/
Adding those lines of code should fix your problem. Let me know your results. Regards,
Rui

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hello Bill,

Are you using Google Chrome as your web browser?

Can you try to follow this procedure to add a timeout timer in your code: https://rntlab.com/question/solved-esp32-web-server-drops-connection-crashes/

Adding those lines of code should fix your problem. Let me know your results. Regards,
Rui

0 Vote Up Vote Down
Bill Wilson answered 5 years ago

Rui
The code change worked.  Note, when I ran the orig. code on my ipad with google chrome I had no problem. I never had a problem with Windows 8.1 iexplore.  Case closed
BillW 

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Thanks for letting me know it worked! For some reason, newer Chrome version or some browser versions leave the connection open. Using that small trick ensure that the connection is always closes after a X number of seconds.
Regards,
Rui

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.