Pithikos / python-websocket-server

A simple fully working websocket-server in Python with no external dependencies
MIT License
1.14k stars 384 forks source link

2nd or 3rd client happens onopen() is called very long time (more than 40 seconds) after open webpage or reload webpage. #84

Closed howard-ht-liu closed 2 years ago

howard-ht-liu commented 4 years ago

Hi, I have a question: 2nd or 3rd client happens onopen() is called very long time (more than 40 seconds) after open webpage or reload webpage. During this long time, browser's loading icon always shows loading animation. [Step to reproduce]

  1. websocket_server: ubuntu 18.4.
  2. first Android device's browser (chrome) open the page and reload many times. Util now, onopen() behaves normal.
  3. 2nd or 3rd Android device's browser (chrome or safari) open the page and then happens onopen() is called very long time (more than 40 seconds) after open webpage or reload webpage.

Do you have any suggestion to it? Thanks. Howard.

Pithikos commented 2 years ago

This seems like an issue outside the library. Closing