Bug 908658

Summary: Not able to search contacts in evolution after LDAP server gets timeout
Product: [Fedora] Fedora Reporter: Samarjit Adhikari <samarjit.adhikari>
Component: evolution-data-serverAssignee: Matthew Barnes <mbarnes>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-09 06:09:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Samarjit Adhikari 2013-02-07 09:47:48 UTC
Created attachment 694363 [details]
screenshot

Description of problem:
Not able to search contacts in evolution after LDAP server gets timeout

Version-Release number of selected component (if applicable):
Evolution 3.6.4
Linux distro

How reproducible:


Steps to Reproduce:
1. Configure an Exchnage MAIL account with CONTACT accounts on LDAP server
2. Make sure the default contact points to LDAP Account
3. Make sure you clicked "Auto complettion" of contacts for this LDAP account
4. run evlution and go to Contact tab.
5. Go to LDAP Acccount Address Book
6. Search a name e.g. "Name1" so that LDAP could find that name
7. Now wait for another 15 mints.
8. Go to Search pane. Search another name "Name2" 
9. Observe that this search never completes
10. Observe that it gives error "Timeout was reached." (attached screenshots)
11. try to compose a new mail by clicking "new Mail Message". it will take long time to get mail composer window. Autocompletion of addresses also not works
  
Actual results:
It seems that there is timeout with ldap server and never being reconnected.
it left evolution as unusable state

Expected results:
Evolution shoukld work correctly.

Additional info:

Comment 1 Milan Crha 2013-02-08 14:12:01 UTC
Thanks for a bug report. It's a DBus timeout, I guess. Could you get a backtrace of running evolution-addressbook-factory, to see what it does when these timeouts happen, please? You should have installed debuginfo packages of the same version as binary packages at least for evolution-data-server and other evolution* packages you've installed, thus the backtrace will contain also debug information. You can get the backtrace with command like this:
  $ gdb --batch --ex "t a a bt" -pid=`pidof evolution-addressbook-factory` &>bt.txt

Comment 2 Samarjit Adhikari 2013-04-09 06:09:55 UTC
I have deleted all cached calenders in .cache/evolution folder and disable autocompletion for LDAP contacts.
It resolves my issues.