hang (iCloud) - ERR#35 'Resource temporarily unavailable'
mailbox synchronizer
Brought to you by:
ossi
Hello, today, I have problems with iCloud synchronizing, mbsync just hangs, short output:
23:33:37 pf@pf-bsd:~ $ mbsync -V inbox
Reading configuration file /home/pf/.mbsyncrc
C: 0/1 B: 0/1 M: +0/0 0/0 #0/0 S: +0/0 0/0 #0/0
Channel pf-iCloud
Opening master store pf-iCloud-remote...
Resolving imap.mail.me.com... ok
Connecting to imap.mail.me.com (17.178.102.88:993)...
Opening slave store pf-iCloud-local...
Long ouput with FreeBSD "truss" (something like strace on Linux):
http://pastebin.com/raw/q3hd20BX
Can you see something from system calls trace?
Maybe, Apple reconfigured something on iCloud, but mbsync can report something usefull instead of hang. Thanks!
Problem was in internet provider router, after router restart, no HTTP timeouts to some addresses and no mbsync hangs.
But in case of network errors (timeouts?), mbsync can exit with error message...
yes, proper timeout handling is already implemented in master.
That's really great news! Timeouts will solve even more weird states (try to run longer mbsync and close laptop lid/suspend while mbsync is running, then resume... for example). Thanks for that work!