Error to connect imap.gmail.com

Marcos Colpani marcos.colpani at gmail.com
Tue Feb 19 00:31:51 GMT 2019


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



More information about the OfflineIMAP-project mailing list