Hi,
I use Evolution as a mail program to connect to gmail to receive and send to the opensuse mailing list (opensuse@opensuse.org). About a week or so ago, it all of a sudden stopped connecting to my gmail account.
The reason given by Evolution is:
The reported error was “Error reading data from TLS socket: The specified session has been invalidated for some reason.”.
I’ve checked through all my settings in the account preferences in Evolution with reference to instructions given by gmail for imap at:
“This issue occurs after the update of gnutls library to version 3.6.7-lp150.9.1.
As quick workaround return to version 3.6.2-lp150.6.1. This solved the issue on my end.”
It solved the problem for me too, I DL
libgnutls30-3.6.2-lp150.3.2.x86_64.rpm (Leap15.0) and libgnutls30-3.6.2-lp151.3.2.x86_64.rpm (Leap15.1) and it’s important to put a lock on these version(s) otherwise they will be updated to libgnutls30-3.6.7… Next update.
Just a “+1” post, getting the same “Error writing data to TLS socket: The specified session has been invalidated for some reason.” issue with gmail (g suite accounts) since at least 10 days under an fully up to date Opensuse Leap 15.0. Connecting to the accounts over terminal (openssl) or other clients is working fine.
I tried quite a lot of things in the mean time (compiling from source, trying to install tumbleweed packages, etc.), without success unfortunately. Why is the evolution version (3.26.6) under 15.0 (and especially the unreleased 15.1) so old compared to the live releases from the gnome project ? cf. https://repology.org/project/evolution/versions : all red for Suse excepted for Tumbleweed. Current stable release would be 3.32.2 according to https://wiki.gnome.org/Apps/Evolution (last release in May 2019).
Can we hope for a version bump in a near future, or what would you suggest ? Getting back to Thunderbird in the mean time but ready to test anything, I will also try the libgnutls downgrade mentioned in this thread.
It’s also my solution for dealing with Microsoft accounts …
Despite trusting Google somewhat more than my mistrust of the Redmond people, I remain cautious with my Gmail account and prefer to not access such e-Mail accounts directly with open source e-Mail clients – especially those e-Mail clients which Google and Microsoft seem to regard as being “hard competition” to their own e-Mail client products …
Interesting workaround, but not usable in my case (multiple accounts, many folders, etc.). And OAUTH is working fine, so I have no special fear for security issues (excepted about the outdated libs, and also the very outdated evolution version…
Thanks for the replies to my problem. I reverted to libgnutls 3.6.2 and that has fixed the issue, and I can connect to the opensuse mail list with Evolution using the gmail account once again.
I think that you should think about restoring your G Suite. But before doing so, you’ll need a G Suite backup solution like this one https://spinbackup.com/products/google-apps-backup/. Cybersecurity and protecting your data is vital.