HubSpot/offline

Shows offline pop-up frequently due to request timeout

basavarajayyahtrigent opened this issue · 0 comments

When offline.js makes an API call to check internet connection and if the request timesout it shows offline pop-up even though subsequent calls have succeeded. So it gives the impression that application goes offline again and again.

Example:

  1. API call-1 made to check internet connection but timedout (timeout is 10s)
  2. API call-2 made 3 seconds after the first call - succeeded.

because API call-1 timesout after 10s it shows interent is down.