Error to connect imap.gmail.com

Marcos Colpani <[email protected]>
Newsgroups gmane.mail.imap.offlineimap.general
Message-ID <[email protected]>
Hi,

I get the error below when I try connect to imap.gmail.com:

OfflineIMAP 7.2.2
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v2.57 (bundled), Python v2.7.15, OpenSSL 1.1.1a  20 Nov 2018
Account sync gmail:
 *** Processing account gmail
 Establishing connection to imap.gmail.com:993 (gmail-remote)
 PLAIN authentication failed: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
 LOGIN authentication failed: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
 ERROR: All authentication types failed:
	PLAIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
	LOGIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
 *** Finished account 'gmail' in 0:01
ERROR: Exceptions occurred during the run!
ERROR: All authentication types failed:
	PLAIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
	LOGIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)

Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 283, in syncrunner
    self.__sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 359, in __sync
    remoterepos.getfolders()
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 452, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 586, in acquireconnection
    self.__authn_helper(imapobj)
  File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 459, in __authn_helper
    "failed:\n\t%s"% msg, OfflineImapError.ERROR.REPO)

I check my password/credentials and it's ok.

I appreciate any help...

Thanks,

Colpshift

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.