• 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

Chrome makes an extra connection

Q&A Forum › Category: ESP32 › Chrome makes an extra connection
0 Vote Up Vote Down
Jean Pierre Daviau asked 5 years ago

HI,
 
“A common issue that happens when building a web server using client.print() is that Google Chrome makes an extra connection – it creates a new client and lefts the connection opened.
That’s possible the reason for you to say that “It seem to be related to the opening of an already opened browser at the url”.
This is somehow problematic because it doesn’t allow any client to connect until that random connection is closed. To solve that issue, we create a timer that closes all the connections after a predetermined number of seconds.”
How do you do that?
 
Regards
 
JPD

Question Tags: chrome, ESP32, extra connections
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
It is explained here: https://rntlab.com/question/solved-esp32-web-server-drops-connection-crashes/
Alternatively, you can build your web servers using the AsyncWebServer library. This problem doesn’t happen.
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.