Menu

#599 LDAP stop working after a certain time

v4.6.1
closed-invalid
nobody
ldap (2)
5
2018-05-24
2015-06-17
Alex
No

Hi

I've got an error in DavMail. ldap requests from Thunderbird worked well. After a certain time, DAVMail pops up an error message. No way to make it work again, even by stopping DavMail and starting a new instance of it. In the logs, I found:
Date: Wed Jun 17 16:33:55 CEST 2015 (1434551635206)
Thread: LdapConnection-51136-Search-3
Message #: 248
Level: ERROR
NDC:
Category: davmail
Message: ErrorInternalServerError An internal server error occurred. The operation failed.
request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013"/></soap:Header><soap:Body><m:FindItem Traversal="Shallow"><m:ItemShape><t:BaseShape>IdOnly</t:BaseShape><t:AdditionalProperties><t:ExtendedFieldURI PropertyTag="0x3001" PropertyType="String"/><t:ExtendedFieldURI PropertyTag="0xe23" PropertyType="Integer"/><t:IndexedFieldURI FieldURI="contacts:EmailAddress" FieldIndex="EmailAddress1"/></t:AdditionalProperties></m:ItemShape><m:IndexedPageItemView MaxEntriesReturned="100" Offset="0" BasePoint="Beginning"/><m:Restriction><t:Or><t:Contains ContainmentMode="Prefixed" ContainmentComparison="IgnoreCase"><t:ExtendedFieldURI PropertyTag="0x3001" PropertyType="String"/><t:Constant Value="k"/></t:Contains><t:Contains ContainmentMode="Prefixed" ContainmentComparison="IgnoreCase"><t:IndexedFieldURI FieldURI="contacts:EmailAddress" FieldIndex="EmailAddress1"/><t:Constant Value="k"/></t:Contains><t:Contains ContainmentMode="Prefixed" ContainmentComparison="IgnoreCase"><t:ExtendedFieldURI PropertyTag="0x3a11" PropertyType="String"/><t:Constant Value="k"/></t:Contains></t:Or></m:Restriction><m:SortOrder><t:FieldOrder Order="Descending"><t:ExtendedFieldURI PropertyTag="0xe23" PropertyType="Integer"/></t:FieldOrder></m:SortOrder><m:ParentFolderIds><t:DistinguishedFolderId Id="contacts"/></m:ParentFolderIds></m:FindItem></soap:Body></soap:Envelope>
Location: davmail.ui.tray.DavGatewayTray.displayMessage(DavGatewayTray.java:113)
Thrown:
davmail.exchange.ews.EWSException: ErrorInternalServerError An internal server error occurred. The operation failed.
request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013"/></soap:Header><soap:Body><m:FindItem Traversal="Shallow"><m:ItemShape><t:BaseShape>IdOnly</t:BaseShape><t:AdditionalProperties><t:ExtendedFieldURI PropertyTag="0x3001" PropertyType="String"/><t:ExtendedFieldURI PropertyTag="0xe23" PropertyType="Integer"/><t:IndexedFieldURI FieldURI="contacts:EmailAddress" FieldIndex="EmailAddress1"/></t:AdditionalProperties></m:ItemShape><m:IndexedPageItemView MaxEntriesReturned="100" Offset="0" BasePoint="Beginning"/><m:Restriction><t:Or><t:Contains ContainmentMode="Prefixed" ContainmentComparison="IgnoreCase"><t:ExtendedFieldURI PropertyTag="0x3001" PropertyType="String"/><t:Constant Value="k"/></t:Contains><t:Contains ContainmentMode="Prefixed" ContainmentComparison="IgnoreCase"><t:IndexedFieldURI FieldURI="contacts:EmailAddress" FieldIndex="EmailAddress1"/><t:Constant Value="k"/></t:Contains><t:Contains ContainmentMode="Prefixed" ContainmentComparison="IgnoreCase"><t:ExtendedFieldURI PropertyTag="0x3a11" PropertyType="String"/><t:Constant Value="k"/></t:Contains></t:Or></m:Restriction><m:SortOrder><t:FieldOrder Order="Descending"><t:ExtendedFieldURI PropertyTag="0xe23" PropertyType="Integer"/></t:FieldOrder></m:SortOrder><m:ParentFolderIds><t:DistinguishedFolderId Id="contacts"/></m:ParentFolderIds></m:FindItem></soap:Body></soap:Envelope>
at davmail.exchange.ews.EWSMethod.checkSuccess(EWSMethod.java:723)
at davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2381)
at davmail.exchange.ews.EwsExchangeSession.searchItems(EwsExchangeSession.java:752)
at davmail.exchange.ews.EwsExchangeSession.searchContacts(EwsExchangeSession.java:1923)
at davmail.ldap.LdapConnection$SearchRunnable.contactFind(LdapConnection.java:1575)
at davmail.ldap.LdapConnection$SearchRunnable.run(LdapConnection.java:1504)
at java.lang.Thread.run(Thread.java:745)

My system is: DavMail (latest) running on Linux Mint (Kubuntu 14.04) x86 with the latest java from Oracle installed.

Please help.

Thanx is advance

Al

Discussion

  • Alex

    Alex - 2015-06-18

    I found out, that ldap stop working if you enter an adress manually that is not in the directory. Further ldap lookups are no more possible.

    I.E.: if you enter the ardess abc@def.ghi, the error message pops up (DavMail) and new searches even with a valid adress from the directory are not possible.

     
  • Mickael Guessant

    • status: open --> closed-invalid
     
  • Mickael Guessant

    Was probably an Exchange bug

     

Log in to post a comment.