Too Many Simulataneous Connections

Problem

Cannot sync due to too many simultaneous connections. I was hoping for some control over the number of simultaneous connections that mailspring makes. Like on the account page, the ability to set a maximum number. I use mailspring on several computers at once and I imagine each of them opens several connections and that ends up with me hitting the limit. Does that make sense?

Here is the error from the logs:

Mailspring Version: 1.9.1-30ef802f
Platform: win32
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com

29192 [2021-05-27 17:37:48.247] [main] [info] ------------- Starting Sync (xxxxxxx@gmail.com) ---------------
29192 [2021-05-27 17:37:48.251] [metadata] [info] Metadata delta stream starting…
29192 [2021-05-27 17:37:50.256] [background] [info] Fetching XOAuth2 access token (gmail) for xxxxxxxx
29192 [2021-05-27 17:37:50.389] [background] [info] Marking all folders as busy
29192 [2021-05-27 17:37:50.390] [background] [info] Syncing folder list…
29192 [2021-05-27 17:37:51.994] [background] [info] Syncing folder list…
29192 [2021-05-27 17:37:52.686] [background] [info] Sync loop deleting unlinked messages with phase 2.
29192 [2021-05-27 17:37:52.694] [background] [info] Sync loop complete.
29192 [2021-05-27 17:37:53.074] [foreground] [critical]


*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“loginIfNeeded”,“key”:“ErrorGmailTooManySimultaneousConnections”,“retryable”:false,“what”:“Unknown exception”}

*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“loginIfNeeded”,“key”:“ErrorGmailTooManySimultaneousConnections”,“retryable”:false,“what”:“Unknown exception”}

Context

Apparently gmail only supports 15 simultaneous connections and won’t accept new ones.

Email Provider

gmail

Setup

  • OS and Version:
    Windows 10 20H2
  • Installation Method:
    Installer
  • Mailspring Version:
    v1.9.1

Thanks,
Paul

I have this problem too - does anyone know of a solution? @rog1039 did you ever solve it?

I ended up switching to EmClient.