Cant add gmail ERR_SSL_PROTOCOL_ERROR

Hi,

i have few emails already in mailspring and i wanted to add new one, so i clicked on the gmail thingy, it popped up in chrome, clicked specific account and then when i click those checkboxes, next screen is this:


(translation:
This website cannot provide a secure connection
The website 127.0.0.1 returned an invalid response.
Try running Windows Network Diagnostics.)
Everything is working, but that final step of adding gmail seem to be “broken”

Is there any fix for this?

Best regards,
neyo

The ERR_SSL_PROTOCOL_ERROR on 127.0.0.1 happens during the Gmail OAuth flow. Mailspring starts a local server on port 12141 to receive the authentication callback from Google — the error means the browser tried to connect to that local server using HTTPS when it expected plain HTTP. This is commonly caused by browser extensions (like HTTPS Everywhere or similar) that force HTTPS on all connections including localhost, or by a VPN/proxy that’s intercepting local traffic. Try disabling browser extensions temporarily and attempting the login again. Alternatively, add the account manually using IMAP/SMTP with a Gmail App Password.