automatic mail sync stopped working (possibly after connectivity change)

asked 2014-12-29 16:23:50 +0200

Jolly-Jo gravatar image

updated 2015-02-04 11:57:11 +0200

For some reason, the mail app just now showed me that it synced 7 hours ago for the last time, even though it's set to sync at a 30-minute-interval. My account is IMAP, and that worked using another client, so no problem on my provider's side. On the Jolla, I was able to browse the web using firefox, so it's not a general connectivity issue.

The time at which it stopped syncing suggests that I had just left my own Wifi's area before sync started to fail. Manually syncing just now worked fine, I will report a bit later if automatic sync started to work again after this manual sync.

I'm on Vaarainjärvi and usually automatic sync works fine. Sometimes it misses a sync, presumably due to connectivity issues. But I have not seen it not sync for this long ever before.

Does anyone have a hint on which logs to dig to get some idea on why it stopped the automatic sync?

EDIT: It missed at least the first automatic sync after manually syncing.

EDIT2: It continued not-syncing as long as mobile data was my connection. When I got home into my Wifi area, it started working again. Also after I left home again (i.e. using mobile data again, no Wifi), it continued working. So it smells like something went wrong when the connectivity changed in the morning from Wifi to mobile data.

EDIT3: This happened to me again today, so it's not a once-in-a-lifetime problem. Retagging 'bug'. I was wondering if the connection might actually be stuck on TCP/IP level and if adjusting TCP/IP timeout parameters could provide a workaround. I.e. If the problem is that I happen to leave the Wifi area just while the mail is being checked. Any comments appreciated.

edit retag flag offensive close delete

Comments

Nope, I don't think so. I don't get any error message when updating manually and manual update fetches new messages correctly. Also, I don't see single fails here and there (I'd assume temporary connectivity issues then), but Jolla does not sync automatically even a single time in 7 hours.

Jolly-Jo ( 2014-12-29 17:53:27 +0200 )edit

Open terminal and run this 2 commands:

pkill messageserver5
killall jolla-email

Open mail app again... Should help...

Schturman ( 2014-12-30 01:24:49 +0200 )edit

Like mentioned in my EDIT, it started working again by itself. Besides, I'm more interested in helping to fix this bug than to just get sync working again. I know I can always screw my uptime and reboot...

Jolly-Jo ( 2014-12-30 09:39:45 +0200 )edit

@Jolly-Jo - Could you try to turn logs on and then once that happens send the file ?

in

/home/nemo/.config/QtProject/Messageserver.conf

enable file log and add a path for the log, like for example:

[FileLog]
Enabled=1
Path=/home/nemo/Documents/messageserver.log

Reboot the device and reproduce the problem, send me the log file to mail-logs at jolla dot com. After that turn file log off again by setting "enabled" to 0.Thanks a lot!

VDVsx ( 2015-02-04 12:33:54 +0200 )edit