[Bug 257722] IMAP resource can't handle temporary network connection losses

Franz Fellner alpine.art.de at googlemail.com
Wed Mar 14 16:14:49 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=257722

--- Comment #23 from Franz Fellner <alpine.art.de at googlemail.com> ---
OK, for me it seems to be fixed mostly. The resources in my last post were not
"stuck", It was waiting the 30 seconds timeout (I think). Kmail just didn't
show the message (probably related to
https://bugs.kde.org/show_bug.cgi?id=266429).
But I still can make at least my web.de-account stuck:
When connection ist lost, go to the inbox, select some messages. When
connection comes up again, the resource stays Offline. There were several
possibilities after that: 

1) 30 seconds timeout -> Connection established -> Ready ->not working:
ResourceScheduler: Offline
 current task: 20 Invalid (no task) 
 queue 0 is empty
 queue 1 is empty
 queue 2 is empty
 queue 3 is empty
 queue 4 2 tasks:
  15 SyncCollection collection 69 
  16 Custom triggerCollectionExtraInfoJobs

AgentBase(akonadi_imap_resource_1): Cannot fetch item in offline mode.
AgentBase(akonadi_imap_resource_1): Cannot fetch item in offline mode.
AgentBase(akonadi_imap_resource_1): Cannot fetch item in offline mode.
AgentBase(akonadi_imap_resource_1): Cannot fetch item in offline mode.
AgentBase(akonadi_imap_resource_1): Cannot fetch item in offline mode.
AgentBase(akonadi_imap_resource_1): Cannot fetch item in offline mode.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_0): Connection lost
AgentBase(akonadi_imap_resource_0): Connection to server lost.
NotificationManager::notify ( Collection (98, /INBOX) in collection 94 modified
parts (timestamp) )
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
NotificationManager::notify ( Collection (69, /INBOX) in collection 12 modified
parts (timestamp) )
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.
AgentBase(akonadi_imap_resource_1): There is currently no session to the IMAP
server available.

(resource_0 was working, as I did not touch it while connection was down)

Then I have to restart akonadi (akonadictl restart), it does not help to just
turn the resource offline and online again.

2) It just stays "Offline", even after waiting 30 seconds. Manually turning it
Online:
2.1) nothing happens (trying to connect without any success)
2.2) It connects, says "Connection established" but does not turn "Ready"
2.3) -> see 1)

For 2) I don't have a task list, as it happend during testing, what I can do,
how to reproduce certain behaviour. In any case, the web.de-resource stays
unusable (reproducable!), when I start using it while there is no connection.
If I don't touch kmail while connection is down, everything works great after
connection was reestablished.

I will further look, if I can get tasklists for 2). But it is more difficult
ATM. Some weeks ago I had dozens of connection losses a day, somtimes 10 within
half an hour (in the evening). But since I try to find out how it behaves,
things got better connection-wise, get 3-5 connection losses per day. :( I
know, I should be happy :D

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list