Bug 247061 - akonadi does not recover from network redirects
Summary: akonadi does not recover from network redirects
Status: RESOLVED DUPLICATE of bug 257722
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 1.4.50
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-08 13:30 UTC by S. Burmeister
Modified: 2011-09-17 09:38 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2010-08-08 13:30:45 UTC
Version:           1.4.50 (using Devel) 
OS:                Linux

If the first access to the network is redirected, e.g. because the user has to log-in on a website before being allowed to use the web, akonadi's attempt to retrieve emails is redirected/stuck as well. Same happens if the user does have access to the local network but needs to establish a VPN connection to get internet access.

After the internet connection was established akonadi still fails to get the email, maybe because it is stuck and still waiting or because the DNS it uses for the mailbox is not valid because it was the redirected one.

Clicking on "check mail" in kmail does not help, restarting kmail does not help either and waiting and acceptable amount of time fails as well.

If one restarts akonadi it works.

Since "mobile" people tend to not restart their notebook or KDE but suspend and resume they would have to restart akonadi each time they get a redirect on the first network access.

I'm not sure how to get around this issue, but restarting akonadi does not seem to be the best solution.

Reproducible: Always
Comment 1 S. Burmeister 2010-08-09 17:25:30 UTC
The konsole output while akonadi is stuck looks like this:

[akonadiserver] checking if request for item 593 has been processed...
[akonadiserver] request for item 593 processed, error: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
[akonadiserver] ItemRetrieverException :  Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[akonadiserver] posting retrieval request for item 594  there are  1  queues and  0  items in mine
[akonadiserver] processing retrieval request for item 594  parts: ("RFC822")  of resource: "akonadi_imap_resource_3"
[akonadiserver] checking if request for item 594 has been processed...
[akonadiserver] request for item 594 still pending - waiting
[akonadiserver] continuing
[akonadiserver] checking if request for item 594 has been processed...
[akonadiserver] request for item 594 processed, error: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
[akonadiserver] ItemRetrieverException :  Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Comment 2 Murz 2010-08-19 13:37:09 UTC
Same problem on kdepim 4.5 beta1, see every time new records in  ~/.local/share/akonadi/akonadiserver.error:

ItemRetrieverException :  Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 

But the internet connection is stable, available at boot time.
Comment 3 Murz 2010-08-19 13:48:41 UTC
How I can know which resource generate this error? And from which source it can't receive reply?
Comment 4 MartinG 2010-10-24 21:44:38 UTC
Same here, Fedora Rawhide:
akonadi-1.4.1-1.fc15.x86_64
kdepimlibs-akonadi-4.5.2-1.fc15.x86_64
Comment 5 Kevin Ottens 2011-09-17 09:38:28 UTC
OK, 257722 and 247061 are duplicates I think. Keeping 257722 although it's newer as the wording pins down the root cause better (or at least it's easier for me to spot it in the list). ;-)

*** This bug has been marked as a duplicate of bug 257722 ***