Why does my phone keep signing out my account?
I use fruux for a shared calendar. I can connect OK and see calendar fine. However, the phone keeps signing out of the account. I haven't changed the credentials and can sign back in again fine. It so sends a notification stating that fruux account needs to be updated. It happens to a lesser degree with Google accounts.
in my case, this happens with Gmail and Facebook, although a bit irregularly. It also happens sometimes with my Exchange account.
bilgy_no1 ( 2015-10-29 08:00:50 +0200 )editIf this happens to you, please do the following:
devel-su -p journalctl -b | grep CredentialsNeedUpdate
and send the output to me (after redacting any personal / sensitive information) at: chris dot adams at jolla dot com so that I can investigate the root cause.From the other comments in this thread, it sounds like a captive portal redirect is being wrongly reported to the sync plugin as an authentication failure... I'd love to get complete logs of that case, so if you can reliably reproduce can you please do the following:
1) edit /etc/systemd/journald.conf and set RateLimitBurst=5000 and RateLimitInterval=10s, then reboot your device if you had to change those
2) restart the sync daemon with extra debugging logs enabled:
3) leave that one running in a terminal, and open up a new terminal to collect logs from CardDAV plugin:
4) leave that one running also, and open up yet another terminal to collect logs from CalDAV plugin:
5) trigger the condition which causes the "account signed out" notification to occur (presumably moving into wifi range and then triggering a sync via Settings|Accounts->Longpress->Sync, but that's a guess?)
Send the logs of the two journalctl terminals to chris dot adams at jolla dot com after redacting personal information (usernames/passwords, vCard / iCal details etc) and I will investigate.
Thanks!
chris.adams ( 2015-11-03 05:15:58 +0200 )edit@chris.adams tried step 2. issue: complains that unit MSYNCD......service not loaded.
DarkTuring ( 2016-10-31 06:20:25 +0200 )editi figured it out:
reboot phone, activate dev mode
Perform action to login and logout of Fruux, wifi on off synch etc, to replicate error with Fruux or account logins, then in terminal enter
journalctl -b | grep CredentialsNeedUpdate > CredentialsNeedUpdate.txt
should export it.
DarkTuring ( 2016-11-03 06:55:27 +0200 )edit