• 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 9 months 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 9 months 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] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

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

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