2.5.1.beta1+11 - WBXML Decoder - unhandled TAG - ResolveRecipients:MaxPictures



  • Hi guys.

    I just became aware of an error in my logs while testing a backend fix. Running z-push 2.5.1.beta1+11

    I have a new laptop that doesn’t have any of the JIRA stuff on it, otherwise I would try to figure it out myself. How do I trigger a call to ResolveRecipients? It’s been a long time since I looked at that part of the code.

    I can see that you have a resolverecipientspictures object in syncobjects that is defined for AS >= 14.1

    The zimbra backend reports as AS14

    19/08/2019 23:08:35 [ 2647] [DEBUG] cmd=‘Sync’ devType=‘SamsungDevice’ devId=‘sec1dc3…a381’ getUser=‘myUser’ from=‘81…208’ version=‘2.5.1.beta1+11’ method=‘POST’
    19/08/2019 23:08:35 [ 2647] [DEBUG] Used timezone ‘Europe/Dublin’
    19/08/2019 23:08:35 [ 2647] [DEBUG] Including backend file: ‘/usr/share/z-push/backend/zimbra/zimbra.php’
    19/08/2019 23:08:35 [ 2647] [DEBUG] Request::ProcessHeaders() ASVersion: 14.0

    19/08/2019 23:08:34 [28146] [WBXML] I  <ResolveRecipients:ResolveRecipients>
    19/08/2019 23:08:34 [28146] [WBXML] I   <ResolveRecipients:To>
    19/08/2019 23:08:34 [28146] [WBXML] I   myUser
    19/08/2019 23:08:34 [28146] [WBXML] I   </ResolveRecipients:To>
    19/08/2019 23:08:34 [28146] [WBXML] I   <ResolveRecipients:Options>
    19/08/2019 23:08:34 [28146] [WBXML] I    <ResolveRecipients:Picture>
    19/08/2019 23:08:34 [28146] [WBXML] I     <ResolveRecipients:MaxPictures>
    19/08/2019 23:08:34 [28146] [WBXML] I      1
    19/08/2019 23:08:34 [28146] [ERROR] WBXMLDecoder->getElementEndTag(): could not read end tag in '/usr/share/z-push/lib/request/resolverecipients.php:44'. Please enable the LOGLEVEL_WBXML and send the log to the Z-Push dev team.
    19/08/2019 23:08:34 [28146] [WBXML] I     </ResolveRecipients:MaxPictures>
    19/08/2019 23:08:34 [28146] [WBXML] I    </ResolveRecipients:Picture>
    19/08/2019 23:08:34 [28146] [WBXML] I   </ResolveRecipients:Options>
    19/08/2019 23:08:34 [28146] [WBXML] I  </ResolveRecipients:ResolveRecipients>
    19/08/2019 23:08:34 [28146] [FATAL] WBXMLException: Unknown error in ResolveRecipients->Handle() - code: 0 - file: /usr/share/z-push/lib/request/requestprocessor.php:117
    19/08/2019 23:08:34 [28146] [FATAL] WBXML 10K debug data: REMOVED=
    19/08/2019 23:08:34 [28146] [ INFO] User-agent: 'Android-SAMSUNG-SM-G950F/101.9'
    19/08/2019 23:08:34 [28146] [FATAL] Exception: (WBXMLException) - Unknown error in ResolveRecipients->Handle()
    

    I only see it logged for Samsung devices so, perhaps this is a Samsung bug making an unsupported request but, regardless, it is causing lots of [FATAL] errors.


  • Kopano

    Hi liverpoolfcfan,

    it’s possible to trigger ResolveRecipients by creating a new meeting and then checking the attendees’ free-busy times or by composing an encrypted email.

    I’m not sure right now if ResolveRecipients are called when you start typing something in “to” or “cc” fields when composing a new email and wait for the results from the server. That might be device-specific thing.

    Manfred



  • Hi @Manfred

    Weirdly, the instances I have found seem to be mostly unrelated to meeting requests. They almost all seem to be sandwiched between the end of a ping cycle, and the Start of a sync. In each case the resolve recipients request is passing over the email address of the user themselves.

    Vincent


Log in to reply