Skip to content

Can't send email when the gmail was left open and the pc went to sleep for a while

Can't send email when the gmail was left open and the pc went to sleep for a while.

Steps:

  1. Open Gmail and authenticate the extension
  2. Leave the Gmail open
  3. Go to lunch or some other activity that will take you 1+ hours
  4. Come back
  5. Try to send email

Actual: You get error Can't send Email Expected: The extension should check if there is valid authentication before trying to send the email. If it doesn't to get new.

Errors in the background.html:

Failed to load resource: net::ERR_INTERNET_DISCONNECTED
iframe:8 Uncaught (in promise) Error: Network Error
    at e.exports (iframe:8)
    at XMLHttpRequest.p.onerror (iframe:8)
iframe:8 Object
rosengeorgiev.dev.vereign.com/api/event/getNewEvents:1 Failed to load resource: net::ERR_INTERNET_DISCONNECTED
iframe:8 Uncaught (in promise) Error: Network Error
    at e.exports (iframe:8)
    at XMLHttpRequest.p.onerror (iframe:8)
iframe:8 Uncaught TypeError: Cannot read property 'authentication' of null
    at iframe:8

debug log: Debug_log__18_.txt

Video:

draft-2

Edited by Rosen Georgiev