Gmail: Mailsync Error 134

There are multiple reports of Mailsync 134 errors on trying to connect Gmail. There’s quite an extensive history, so see the bug reports. (I won’t be migrating the comments.)

I am experiencing the same error but I might have an idea about the cause. I have two computers with the exact same setup. Both running Arch linux. My laptop had the same issue until I travelled to London. When I was there I changed the timezone on my computer and shortly after I was able to add my Google account. Could this problem have something to do with the country or the clock (oauth)? I am still unable to connect my google account on my stationery computer located in iceland (GMT0). I am a programmer myself and with help I could provide you with some debug information.

1 Like

I am also having the same issue while connecting to GMail. In my current location, it is also not possible to access gmail without using a socks5 proxy or VPN. I am using KDE Neon 5.21 User Edition. I configured the proxy settings from the system. I have also tried through VPN but the issue remains the same. Please find a way so that we can access the gmail in mailspring. This is the only issue that I am having now. Other than that, I am enjoying using mailspring.

I had this issue on Archlinux with the yay install, trying to use OAuth on my Lenovo X1 Carbon. I found the problem was with my /etc/resolv.conf file.

I had misconfigured that file so the only uncommented line was not a correct nameserver command. I corrected it, ran systemctl restart systemd-resolvd to pick up the changes, and attempted OAuth again successfully.

My fixed /etc/resolv.conf:

nameserver 1.1.1.1
nameserver 8.8.8.8

Not sure I have anything to add, other than I also am experiencing this. Running opensuse tumbleweed. On two computers, it will not connect to my gmail account, but connects to my gmx account just fine. On my laptop, I tried removing the conf file and re-inputting the info. Now it won’t connect to either account on the laptop (lol).

This all started for me when the electron apps broke on an update. So, for both mailspring and discord, I have to use the --disable-gpu-sandbox argument to get them to open at all. I have no idea if this is related or not.

EDIT: on a whim, I tried the flatpak app, and it is working correctly now (yay)! I’ll update again if it craps out on me in the next few days.

I have this issue today, 14th July 2023.

Other accounts (Yahoo, Hotmail, Zohomail, icloud) are fine.

A sync issues appeared this Sunday 8/13. Emails go fine just after the Reconnect procedure. A test smtp message goes ok. But all Google accounts are marked with the sync problem. I think Mailsprint tries to read some folder that was deleted on a Google side (I didn’t make this). I’m not sure. But not synced folder is not a reason to mark entire connection scary red.

Blockquote
Mailspring Version: 1.11.0-6193b33c
Platform: win32
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com


15336 [2023-08-14 09:00:38.815] [metadataExpiration] [info] Scanning for expired metadata
15336 [2023-08-14 09:00:38.815] [metadataExpiration] [info] – Will wake for next expiration in 7200sec
15336 [2023-08-14 09:02:38.509] [background] [info] Syncing folder list…
15336 [2023-08-14 09:02:38.640] [background] [info] Sync loop deleting unlinked messages with phase 1.
15336 [2023-08-14 09:02:38.640] [background] [info] Sync loop complete.
15336 [2023-08-14 09:04:38.643] [background] [info] Syncing folder list…
15336 [2023-08-14 09:04:38.704] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 70507 - 74344, Heavy: false
15336 [2023-08-14 09:04:38.923] [background] [info] - [Gmail]/All Mail: remote=400, local=400, remoteUID=eAx9EsHpE8…
15336 [2023-08-14 09:04:38.957] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 93833, Heavy: false
15336 [2023-08-14 09:04:39.137] [background] [info] - [Gmail]/Trash: remote=248, local=248, remoteUID=BY2K61inGrzzqmGoUnDTLBSzxaaiH3Xay4Vk75UG3
15336 [2023-08-14 09:04:39.166] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 1740, Heavy: false
15336 [2023-08-14 09:04:39.252] [background] [info] - [Gmail]/Spam: remote=7, local=7, remoteUID=9PNVFJStjj…
15336 [2023-08-14 09:04:39.252] [background] [info] Sync loop deleting unlinked messages with phase 2.
15336 [2023-08-14 09:04:39.252] [background] [info] Sync loop complete.
15336 [2023-08-14 09:06:39.257] [background] [info] Syncing folder list…
15336 [2023-08-14 09:06:39.321] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 1 - 0, Heavy: false
15336 [2023-08-14 09:06:40.304] [background] [info] - [Gmail]/All Mail: remote=2489, local=2489, remoteUID=eAx9EsHpE8ko…
15336 [2023-08-14 09:06:40.346] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 0, Heavy: false
15336 [2023-08-14 09:06:40.508] [background] [info] - [Gmail]/Trash: remote=248, local=248, remoteUID=BY2K61inGrz…
15336 [2023-08-14 09:06:40.537] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 0, Heavy: false
15336 [2023-08-14 09:06:40.618] [background] [info] - [Gmail]/Spam: remote=7, local=7, remoteUID=9PNVFJStjj…
15336 [2023-08-14 09:06:40.618] [background] [info] Sync loop deleting unlinked messages with phase 1.
15336 [2023-08-14 09:06:40.618] [background] [info] Sync loop complete.
15336 [2023-08-14 09:07:33.139] [foreground] [info] Idle exited with code 0
15336 [2023-08-14 09:07:33.178] [foreground] [info] syncFolderChangesViaCondstore - [Gmail]/All Mail: modseq 8337260 to 8337336, uidnext 74344 to 74346
15336 [2023-08-14 09:07:33.232] [foreground] [info] syncFolderChangesViaCondstore - Changes since HMODSEQ 8337260: 2 changed, 0 vanished
15336 [2023-08-14 09:07:33.344] [foreground] [info] Idling on folder [Gmail]/All Mai

How to fix that?

Just wondering what’s causing the silence?