You are not logged in.
Hi,
I am having problems syncing offlineimap with my gmail (apps) account. The relevant part of my offlineimaprc file is:
[Repository Gmail-Remote]
type = Gmail
remoteuser = roy@roylemmon.com
remotepasseval = mailpasswd("gmail")
realdelete = no
maxconnections = 3
folderfilter = lambda folder: folder not in ['[Gmail]/All Mail','[Gmail]/Important','[Gmail]/Starred',]
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
If I then run the command:
offlineimap -a Gmail -d ALL
the (long) output is shown below. There seems to be some authority problem with offlineimap and Gmail doesn't like the access. I have searched for a solution (xoauth2 issue ?) but it is not clear to me how to solve this. Is it a well known problem now ?
Thanks for your help.
Cheers
Roy.
OfflineIMAP 6.7.0
Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
Now debugging for imap: IMAP protocol debugging
Now debugging for maildir: Maildir repository debugging
Now debugging for thread: Threading debugging
Now debugging for : Other offlineimap related sync messages
Account sync Gmail:
[thread]: Register new thread 'Account sync Gmail' (account 'Gmail')
[imap]: Using authentication mechanisms ['GSSAPI', 'XOAUTH2', 'CRAM-MD5', 'PLAIN', 'LOGIN']
[maildir]: MaildirRepository initialized, sep is '.'
*** Processing account Gmail
Establishing connection to imap.gmail.com:993
[imap]: 41:26.78 Account sync Gmail imaplib2 version 2.52
[imap]: 41:26.78 Account sync Gmail imaplib2 debug level 5, buffer level 3
imap.gmail.com writer:
[imap]: 41:26.84 imap.gmail.com writer starting
imap.gmail.com reader:
[imap]: 41:26.84 imap.gmail.com reader starting using poll
Account sync Gmail:
[imap]: 41:26.84 Account sync Gmail _request_push(continuation, welcome, {}) = OFCD0
imap.gmail.com reader:
[imap]: 41:26.84 imap.gmail.com reader poll => [(4, 1)]
Account sync Gmail:
[imap]: 41:26.84 Account sync Gmail welcome:OFCD0.ready.wait
imap.gmail.com reader:
[imap]: 41:26.84 imap.gmail.com reader rcvd 69
[imap]: 41:26.84 imap.gmail.com reader < * OK Gimap ready for requests from 193.62.115.175 sd20mb68391565wjb\r\n
imap.gmail.com handler:
[imap]: 41:26.94 imap.gmail.com handler starting
[imap]: 41:26.94 imap.gmail.com handler _put_response(* OK Gimap ready for requests from 193.62.115.175 sd20mb68391565wjb)
[imap]: 41:26.94 imap.gmail.com handler untagged_responses[OK] 0 += ["Gimap ready for requests from 193.62.115.175 sd20mb68391565wjb"]
[imap]: 41:26.94 imap.gmail.com handler _request_pop(continuation, (False, '* OK Gimap ready for requests from 193.62.115.175 sd20mb68391565wjb')) [0] = OFCD0
[imap]: 41:26.94 imap.gmail.com handler welcome:OFCD0.ready.set
[imap]: 41:26.94 imap.gmail.com handler state_change_free.set
Account sync Gmail:
[imap]: 41:26.95 Account sync Gmail _get_untagged_response(OK) => ['Gimap ready for requests from 193.62.115.175 sd20mb68391565wjb']
[imap]: 41:26.95 Account sync Gmail state => NONAUTH
[imap]: 41:26.95 Account sync Gmail [async] CAPABILITY ()
[imap]: 41:26.95 Account sync Gmail state_change_pending.acquire
[imap]: 41:26.95 Account sync Gmail state_change_pending.release
[imap]: 41:26.95 Account sync Gmail _request_push(OFCD1, CAPABILITY, {}) = OFCD1
[imap]: 41:26.95 Account sync Gmail data=OFCD1 CAPABILITY
[imap]: 41:26.95 Account sync Gmail CAPABILITY:OFCD1.ready.wait
imap.gmail.com writer:
[imap]: 41:26.95 imap.gmail.com writer > OFCD1 CAPABILITY\r\n
imap.gmail.com reader:
[imap]: 41:26.97 imap.gmail.com reader poll => [(4, 1)]
[imap]: 41:26.97 imap.gmail.com reader rcvd 222
[imap]: 41:26.97 imap.gmail.com reader < * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH\r\n
[imap]: 41:26.97 imap.gmail.com reader < OFCD1 OK Thats all she wrote! sd20mb68391565wjb\r\n
imap.gmail.com handler:
[imap]: 41:26.97 imap.gmail.com handler _put_response(* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH)
[imap]: 41:26.97 imap.gmail.com handler untagged_responses[CAPABILITY] 0 += ["IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-"]
[imap]: 41:26.97 imap.gmail.com handler _put_response(OFCD1 OK Thats all she wrote! sd20mb68391565wjb)
[imap]: 41:26.97 imap.gmail.com handler _request_pop(OFCD1, ('OK', ['Thats all she wrote! sd20mb68391565wjb'])) [0] = OFCD1
[imap]: 41:26.97 imap.gmail.com handler CAPABILITY:OFCD1.ready.set
[imap]: 41:26.97 imap.gmail.com handler state_change_free.set
Account sync Gmail:
[imap]: 41:26.97 Account sync Gmail _get_untagged_response(CAPABILITY) => ['IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SAS
[imap]: 41:26.97 Account sync Gmail _untagged_response(OK, ?, CAPABILITY) => ['IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SAS
[imap]: 41:26.97 Account sync Gmail CAPABILITY: ('IMAP4REV1', 'UNSELECT', 'IDLE', 'NAMESPACE', 'QUOTA', 'ID', 'XLIST', 'CHILDREN', 'X-GM-EXT-1', 'XYZZY', 'SASL-IR', 'AUTH=XOAUTH2', 'AUTH=PLAIN', 'AUTH=PLAIN-CLIENTTOKEN', 'AUTH=OAUTHBEARER', 'AUTH=XOAUTH')
[imap]: Attempting XOAUTH2 authentication
[imap]: 41:26.97 Account sync Gmail [sync] AUTHENTICATE ('XOAUTH2',)
[imap]: 41:26.97 Account sync Gmail state_change_pending.acquire
[imap]: 41:26.97 Account sync Gmail _request_push(OFCD2, AUTHENTICATE, {}) = OFCD2
[imap]: 41:26.97 Account sync Gmail data=OFCD2 AUTHENTICATE XOAUTH2
[imap]: 41:26.97 Account sync Gmail _request_push(continuation, AUTHENTICATE, {}) = OFCD3
[imap]: 41:26.97 Account sync Gmail AUTHENTICATE:OFCD3.ready.wait
imap.gmail.com writer:
[imap]: 41:26.97 imap.gmail.com writer > OFCD2 AUTHENTICATE XOAUTH2\r\n
imap.gmail.com reader:
[imap]: 41:26.98 imap.gmail.com reader poll => [(4, 1)]
[imap]: 41:26.98 imap.gmail.com reader rcvd 4
[imap]: 41:26.98 imap.gmail.com reader < + \r\n
imap.gmail.com handler:
[imap]: 41:26.98 imap.gmail.com handler _put_response(+ )
[imap]: 41:26.98 imap.gmail.com handler _request_pop(continuation, (True, '')) [1] = OFCD3
[imap]: 41:26.98 imap.gmail.com handler AUTHENTICATE:OFCD3.ready.set
Account sync Gmail:
[imap]: 41:26.98 Account sync Gmail continuation => True,
[imap]: 41:26.98 Account sync Gmail _request_push(continuation, AUTHENTICATE, {}) = OFCD4
[imap]: 41:26.98 Account sync Gmail write literal size 1
[imap]: 41:26.98 Account sync Gmail AUTHENTICATE:OFCD4.ready.wait
imap.gmail.com writer:
[imap]: 41:26.99 imap.gmail.com writer > *\r\n
imap.gmail.com reader:
[imap]: 41:27.00 imap.gmail.com reader poll => [(4, 1)]
[imap]: 41:27.00 imap.gmail.com reader rcvd 66
[imap]: 41:27.00 imap.gmail.com reader < OFCD2 BAD Client aborted AUTHENTICATE command. sd20mb68391565wjb\r\n
imap.gmail.com handler:
[imap]: 41:27.00 imap.gmail.com handler _put_response(OFCD2 BAD Client aborted AUTHENTICATE command. sd20mb68391565wjb)
[imap]: 41:27.00 imap.gmail.com handler _request_pop(OFCD2, ('BAD', ['Client aborted AUTHENTICATE command. sd20mb68391565wjb'])) [1] = OFCD2
[imap]: 41:27.00 imap.gmail.com handler AUTHENTICATE:OFCD2.ready.set
[imap]: 41:27.00 imap.gmail.com handler _request_pop(continuation, (False, 'OFCD2 BAD Client aborted AUTHENTICATE command. sd20mb68391565wjb')) [0] = OFCD4
[imap]: 41:27.00 imap.gmail.com handler AUTHENTICATE:OFCD4.ready.set
[imap]: 41:27.00 imap.gmail.com handler state_change_free.set
[imap]: 41:27.00 imap.gmail.com handler BAD response: Client aborted AUTHENTICATE command. sd20mb68391565wjb
Account sync Gmail:
[imap]: 41:27.00 Account sync Gmail continuation => False, OFCD2 BAD Client aborted AUTHENTICATE command. sd20mb68391565wjb
[imap]: 41:27.00 Account sync Gmail AUTHENTICATE:OFCD2.ready.wait
[imap]: 41:27.00 Account sync Gmail last 20 log messages:
[imap]: 41:26.84 imap.gmail.com writer starting
[imap]: 41:26.84 imap.gmail.com reader starting using poll
[imap]: 41:26.94 imap.gmail.com handler starting
[imap]: 41:26.95 Account sync Gmail state => NONAUTH
[imap]: 41:26.95 Account sync Gmail [async] CAPABILITY ()
[imap]: 41:26.97 Account sync Gmail CAPABILITY: ('IMAP4REV1', 'UNSELECT', 'IDLE', 'NAMESPACE', 'QUOTA', 'ID', 'XLIST', 'CHILDREN', 'X-GM-EXT-1', 'XYZZY', 'SASL-IR', 'AUTH=XOAUTH2', 'AUTH=PLAIN', 'AUTH=PLAIN-CLIENTTOKEN', 'AUTH=OAUTHBEARER', 'AUTH=XOAUTH')
[imap]: 41:26.97 Account sync Gmail [sync] AUTHENTICATE ('XOAUTH2',)
[imap]: 41:27.00 imap.gmail.com handler BAD response: Client aborted AUTHENTICATE command. sd20mb68391565wjb
[imap]: 41:27.00 Account sync Gmail state_change_pending.release
XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. sd20mb68391565wjb']. Data: OFCD2 AUTHENTICATE XOAUTH2
[imap]: Attempting PLAIN authentication
[imap]: 41:27.00 Account sync Gmail [sync] AUTHENTICATE ('PLAIN',)
[imap]: 41:27.00 Account sync Gmail state_change_pending.acquire
[imap]: 41:27.00 Account sync Gmail _request_push(OFCD5, AUTHENTICATE, {}) = OFCD5
[imap]: 41:27.00 Account sync Gmail data=OFCD5 AUTHENTICATE PLAIN
[imap]: 41:27.00 Account sync Gmail _request_push(continuation, AUTHENTICATE, {}) = OFCD6
[imap]: 41:27.00 Account sync Gmail AUTHENTICATE:OFCD6.ready.wait
imap.gmail.com writer:
[imap]: 41:27.00 imap.gmail.com writer > OFCD5 AUTHENTICATE PLAIN\r\n
imap.gmail.com reader:
[imap]: 41:27.02 imap.gmail.com reader poll => [(4, 1)]
[imap]: 41:27.02 imap.gmail.com reader rcvd 4
[imap]: 41:27.02 imap.gmail.com reader < + \r\n
imap.gmail.com handler:
[imap]: 41:27.02 imap.gmail.com handler _put_response(+ )
[imap]: 41:27.02 imap.gmail.com handler _request_pop(continuation, (True, '')) [1] = OFCD6
[imap]: 41:27.02 imap.gmail.com handler AUTHENTICATE:OFCD6.ready.set
Account sync Gmail:
[imap]: 41:27.02 Account sync Gmail continuation => True,
[imap]: __plainhandler: returning roy@roylemmon.com (passwd hidden for log)
[imap]: 41:27.07 Account sync Gmail _request_push(continuation, AUTHENTICATE, {}) = OFCD7
[imap]: 41:27.07 Account sync Gmail write literal size 40
[imap]: 41:27.07 Account sync Gmail AUTHENTICATE:OFCD7.ready.wait
imap.gmail.com writer:
[imap]: 41:27.07 imap.gmail.com writer > AHJveUByb3lsZW1tb24uY29tAEZyb2RzaGFtMTIz\r\n
imap.gmail.com reader:
[imap]: 41:27.56 imap.gmail.com reader poll => [(4, 1)]
[imap]: 41:27.56 imap.gmail.com reader rcvd 464
[imap]: 41:27.56 imap.gmail.com reader < * NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburjMNaOLVdCoUMuTyZ4Kwu28oOnsxLL5XhJ17dg-Xc0niUWSOAoZbHUIDkOeAW6ne0qK8vbSFe6LXklDIX4XdvApdUQLwn2EjRrIrONoQdiXiqKFSIQ-tdtIODzMaiagsKffFDZqfY2DM8GRLCE5yk-MwcjwvO_nfw5Mjmwr3ZRBmzcJIb__nFEF8uIWH82WGjtyEuBmfS-LponkRHL6sUmzRTAizetV1bW-D0YiPmFUT7fi0] Web login required.\r\n
[imap]: 41:27.56 imap.gmail.com reader < OFCD5 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)\r\n
imap.gmail.com handler:
[imap]: 41:27.56 imap.gmail.com handler _put_response(* NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburjMNaOLVdCoUMuTyZ4Kwu28oOnsxLL5XhJ17dg-Xc0niUWSOAoZbHUIDkOeAW6ne0qK8vbSFe6LXklDIX4XdvApdUQLwn2EjRrIrONoQdiXiqKFSIQ-tdtIODzMaiagsKffFDZqfY2DM8GRLCE5yk-MwcjwvO_nfw5Mjmwr3ZRBmzcJIb__nFEF8uIWH82WGjtyEuBmfS-LponkRHL6sUmzRTAizetV1bW-D0YiPmFUT7fi0] Web login required.)
[imap]: 41:27.56 imap.gmail.com handler untagged_responses[NO] 0 += ["[WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburj"]
[imap]: 41:27.56 imap.gmail.com handler untagged_responses[WEBALERT] 0 += ["https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburjMNaOLVdCoU"]
[imap]: 41:27.56 imap.gmail.com handler _request_pop(continuation, (False, '* NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburjMNaOLVdCoUMuTyZ4Kwu28oOnsxLL5XhJ17dg-Xc0niUWSOAoZbHUIDkOeAW6ne0qK8vbSFe6LXklDIX4XdvApdUQLwn2EjRrIrONoQdiXiqKFSIQ-tdtIODzMaiagsKffFDZqfY2DM8GRLCE5yk-MwcjwvO_nfw5Mjmwr3ZRBmzcJIb__nFEF8uIWH82WGjtyEuBmfS-LponkRHL6sUmzRTAizetV1bW-D0YiPmFUT7fi0] Web login required.')) [1] = OFCD7
[imap]: 41:27.56 imap.gmail.com handler AUTHENTICATE:OFCD7.ready.set
[imap]: 41:27.56 imap.gmail.com handler NO response: [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburjMNaOLVdCoUMuTyZ4Kwu28oOnsxLL5XhJ17dg-Xc0niUWSOAoZbHUIDkOeAW6ne0qK8vbSFe6LXklDIX4XdvApdUQLwn2EjRrIrONoQdiXiqKFSIQ-tdtIODzMaiagsKffFDZqfY2DM8GRLCE5yk-MwcjwvO_nfw5Mjmwr3ZRBmzcJIb__nFEF8uIWH82WGjtyEuBmfS-LponkRHL6sUmzRTAizetV1bW-D0YiPmFUT7fi0] Web login required.
[imap]: 41:27.56 imap.gmail.com handler _put_response(OFCD5 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure))
[imap]: 41:27.56 imap.gmail.com handler untagged_responses[ALERT] 0 += [""]
[imap]: 41:27.56 imap.gmail.com handler _request_pop(OFCD5, ('NO', ['[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)'])) [0] = OFCD5
[imap]: 41:27.56 imap.gmail.com handler AUTHENTICATE:OFCD5.ready.set
[imap]: 41:27.56 imap.gmail.com handler state_change_free.set
[imap]: 41:27.56 imap.gmail.com handler NO response: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Account sync Gmail:
[imap]: 41:27.58 Account sync Gmail continuation => False, * NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsburjMNaOLVdCoUMuTyZ4Kwu28oOnsxLL5XhJ17dg-Xc0niUWSOAoZbHUIDkOeAW6ne0qK8vbSFe6LXklDIX4XdvApdUQLwn2EjRrIrONoQdiXiqKFSIQ-tdtIODzMaiagsKffFDZqfY2DM8GRLCE5yk-MwcjwvO_nfw5Mjmwr3ZRBmzcJIb__nFEF8uIWH82WGjtyEuBmfS-LponkRHL6sUmzRTAizetV1bW-D0YiPmFUT7fi0] Web login required.
[imap]: 41:27.58 Account sync Gmail AUTHENTICATE:OFCD5.ready.wait
[imap]: 41:27.58 Account sync Gmail state_change_pending.release
PLAIN authentication failed: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
[imap]: Attempting LOGIN authentication
[imap]: Attempting IMAP LOGIN authentication
[imap]: 41:27.58 Account sync Gmail [sync] LOGIN ('roy@roylemmon.com', '"---------"')
[imap]: 41:27.58 Account sync Gmail state_change_pending.acquire
[imap]: 41:27.58 Account sync Gmail _get_untagged_response(NO) => ['[WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbu
[imap]: 41:27.58 Account sync Gmail _request_push(OFCD8, LOGIN, {}) = OFCD8
[imap]: 41:27.58 Account sync Gmail data=OFCD8 LOGIN roy@roylemmon.com "-----------"
[imap]: 41:27.58 Account sync Gmail LOGIN:OFCD8.ready.wait
imap.gmail.com writer:
[imap]: 41:27.58 imap.gmail.com writer > OFCD8 LOGIN roy@roylemmon.com "----------"\r\n
imap.gmail.com reader:
[imap]: 41:27.93 imap.gmail.com reader poll => [(4, 1)]
[imap]: 41:27.93 imap.gmail.com reader rcvd 464
[imap]: 41:27.93 imap.gmail.com reader < * NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv7lVyam8oEvZyk4fgAl5ugvLqJvLjR4GoyxqG9uye8Cz1gjahMqPSx06nTKqNyvGBaXpb6Lcngd_CppqOZ65WYRu-lbtzDIVnPcEfvxmksqZhYzgTCsm0RRPOOqgALO_wRDRX0MsxiTwssuWrwDbjmnZ4aE9K8xNRcxRte06svO1z5qGdBzaL4jwxbdatnBmvFyMaPzJRqkt4DN8CXXY_UIDPqZ87Rc-BVO76DyLxMpP3bpqY] Web login required.\r\n
[imap]: 41:27.93 imap.gmail.com reader < OFCD8 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)\r\n
imap.gmail.com handler:
[imap]: 41:27.93 imap.gmail.com handler _put_response(* NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv7lVyam8oEvZyk4fgAl5ugvLqJvLjR4GoyxqG9uye8Cz1gjahMqPSx06nTKqNyvGBaXpb6Lcngd_CppqOZ65WYRu-lbtzDIVnPcEfvxmksqZhYzgTCsm0RRPOOqgALO_wRDRX0MsxiTwssuWrwDbjmnZ4aE9K8xNRcxRte06svO1z5qGdBzaL4jwxbdatnBmvFyMaPzJRqkt4DN8CXXY_UIDPqZ87Rc-BVO76DyLxMpP3bpqY] Web login required.)
[imap]: 41:27.93 imap.gmail.com handler untagged_responses[NO] 0 += ["[WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv7l"]
[imap]: 41:27.93 imap.gmail.com handler untagged_responses[WEBALERT] 0 += ["https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv7lVyam8oEvZy"]
[imap]: 41:27.93 imap.gmail.com handler NO response: [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv7lVyam8oEvZyk4fgAl5ugvLqJvLjR4GoyxqG9uye8Cz1gjahMqPSx06nTKqNyvGBaXpb6Lcngd_CppqOZ65WYRu-lbtzDIVnPcEfvxmksqZhYzgTCsm0RRPOOqgALO_wRDRX0MsxiTwssuWrwDbjmnZ4aE9K8xNRcxRte06svO1z5qGdBzaL4jwxbdatnBmvFyMaPzJRqkt4DN8CXXY_UIDPqZ87Rc-BVO76DyLxMpP3bpqY] Web login required.
[imap]: 41:27.93 imap.gmail.com handler _put_response(OFCD8 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure))
[imap]: 41:27.93 imap.gmail.com handler untagged_responses[ALERT] 0 += [""]
[imap]: 41:27.93 imap.gmail.com handler _request_pop(OFCD8, ('NO', ['[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)'])) [0] = OFCD8
[imap]: 41:27.93 imap.gmail.com handler LOGIN:OFCD8.ready.set
[imap]: 41:27.94 imap.gmail.com handler state_change_free.set
[imap]: 41:27.94 imap.gmail.com handler NO response: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Account sync Gmail:
[imap]: 41:27.95 Account sync Gmail state_change_pending.release
LOGIN authentication failed: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
ERROR: All authentication types failed:
XOAUTH2: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. sd20mb68391565wjb']. Data: OFCD2 AUTHENTICATE XOAUTH2
PLAIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
LOGIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
[' File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 263, in syncrunner\n self.__sync()\n', ' File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 326, in __sync\n remoterepos.getfolders()\n', ' File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 390, in getfolders\n imapobj = self.imapserver.acquireconnection()\n', ' File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 511, in acquireconnection\n self.__authn_helper(imapobj)\n', ' File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 423, in __authn_helper\n "failed:\\n\\t%s"% msg, OfflineImapError.ERROR.REPO)\n']
*** Finished account 'Gmail' in 0:01
[thread]: Unregister thread 'Account sync Gmail'
ERROR: Exceptions occurred during the run!
ERROR: All authentication types failed:
XOAUTH2: AUTHENTICATE command error: BAD ['Client aborted AUTHENTICATE command. sd20mb68391565wjb']. Data: OFCD2 AUTHENTICATE XOAUTH2
PLAIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
LOGIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Traceback:
File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 263, in syncrunner
self.__sync()
File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 326, in __sync
remoterepos.getfolders()
File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 390, in getfolders
imapobj = self.imapserver.acquireconnection()
File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 511, in acquireconnection
self.__authn_helper(imapobj)
File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 423, in __authn_helper
"failed:\n\t%s"% msg, OfflineImapError.ERROR.REPO)
Offline