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"></t:requestserverversion></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:indexedfielduri></t:extendedfielduri></t:extendedfielduri></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:constant></t:extendedfielduri></t:contains><t:contains containmentmode="Prefixed" containmentcomparison="IgnoreCase"><t:indexedfielduri fielduri="contacts:EmailAddress" fieldindex="EmailAddress1"><t:constant value="k"></t:constant></t:indexedfielduri></t:contains><t:contains containmentmode="Prefixed" containmentcomparison="IgnoreCase"><t:extendedfielduri propertytag="0x3a11" propertytype="String"><t:constant value="k"></t:constant></t:extendedfielduri></t:contains></t:or></m:restriction><m:sortorder><t:fieldorder order="Descending"><t:extendedfielduri propertytag="0xe23" propertytype="Integer"></t:extendedfielduri></t:fieldorder></m:sortorder><m:parentfolderids><t:distinguishedfolderid id="user-content-contacts"></t:distinguishedfolderid></m:parentfolderids></m:indexedpageitemview></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"></t:requestserverversion></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:indexedfielduri></t:extendedfielduri></t:extendedfielduri></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:constant></t:extendedfielduri></t:contains><t:contains containmentmode="Prefixed" containmentcomparison="IgnoreCase"><t:indexedfielduri fielduri="contacts:EmailAddress" fieldindex="EmailAddress1"><t:constant value="k"></t:constant></t:indexedfielduri></t:contains><t:contains containmentmode="Prefixed" containmentcomparison="IgnoreCase"><t:extendedfielduri propertytag="0x3a11" propertytype="String"><t:constant value="k"></t:constant></t:extendedfielduri></t:contains></t:or></m:restriction><m:sortorder><t:fieldorder order="Descending"><t:extendedfielduri propertytag="0xe23" propertytype="Integer"></t:extendedfielduri></t:fieldorder></m:sortorder><m:parentfolderids><t:distinguishedfolderid id="user-content-contacts"></t:distinguishedfolderid></m:parentfolderids></m:indexedpageitemview></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.

MongoDB Logo MongoDB