GMail two-phase auth still not working
Hello all,
unfortunatelly the Google two-phase authentication is still not working for gMail. Our company has migrated to gMail/gApps as standard communication interface with two-phase auth enabled. Scenario:
1) no account defined except my personal IMAP & Jolla
2) I create Google account
3) enter credentials, enter sent SMS code, approve everything, everything seems fine.
then:
a) contacts get synchronized (one time only)
b) calendar gets synchronized (one time only)
c) mails seem to be trying to synchronize but finally fail, since then in notifications the "Account needs to be updated" message is nearly persistent
d) the instant messaging (Hangouts) works (!!), which really strange (my presence is "online" and everything seems to be fine, messages get delivered, etc)
e) and also, when I deleted the gMail account for this test, the whole call history disappeared :-((
Right now I must use the gMail android app to read my job-mail, which is kind of annoying - I've purchased Jolla to be more-or-less without Android :-(
I've got the latest Sailfish (1.0.4.20) version, and my gMail didn't work for past three Sailfish versions.
--Z
My personal google account works just fine with the sms-auth, but I don't currently have any paid google apps for business-accounts. Will test this real-soon-now..
tigeli ( 2014-03-29 00:08:01 +0200 )editMy Google Apps for Business is working. It seems now to work also through regular Google account synchronisation as well as through Microsoft Exchange connector. Before 1.0.4.20 I used the Exchange connector to synchronise my email, calendar and contacts.
Karri Huhtanen ( 2014-03-29 12:09:44 +0200 )editHi Mr. Zdeeck,
Thanks for the report. Do you have developer mode enabled, and if so, are you willing to help me debug this issue?
If so, can you please try the following, and then send me the logs to chris dot adams at jolla dot com -- thanks!
systemctl --user stop msyncd.service
wait for a few seconds
wait for a few seconds
SOCIALD_LOGGING_LEVEL=3 devel-su -p msyncd
then in a different terminal:
dbus-send --session --type=method_call --print-reply --dest=com.meego.msyncd /synchronizer com.meego.msyncd.startSync string:'google.Contacts'
and also
dbus-send --session --type=method_call --print-reply --dest=com.meego.msyncd /synchronizer com.meego.msyncd.startSync string:'google.Calendars'
That should give me enough debugging logs to figure out what is going on, in your particular case.
Thanks!
Chris.
chris.adams ( 2014-04-08 07:24:24 +0200 )editHello Chris,
sorry for the delayed answer, but I was on the way-too-long trip to answer in the wilds of South Asia. Now I'm back and ready to hack&debug! ;-)
To be honest like 3 weeks ago I've realized that Google Contacts are kind-of synchronized and the same works for the Calendar. I cannot search through our company shared contact book (as with N900 and Exchange connector), which is kind of dumb (and gMail native android client is definitely able to do this) - but this is, I guess, only missing feature. Concerning Calendar the situation is also so-so - the events/meetings status (accepted/mayber/declined/unanswered) and details (attendees) is not shown in my calendar, but at least it's somehow working.
I went through your instructions and the logs seem OK. On the other hand GMail (e-mail) synchronization still doesn't work. I would like to send you logs from mail sync, but I just don't know where to look.... :-(((
Please, guys, do the debugging/hacking much easier - why don't we have logs for every component in reasonable verbosity level switched on by default and rotate them after lets say 1M? No dbus sh*t, no services, no cryptic components. Just good ol' plain tail -f /var/log/.... ?
Cheers,
--Z
Mr. Zdeeck ( 2014-05-21 22:29:28 +0200 )edit