How to decode base64 encoded WBXML?

Hi supporters!

I encounter z-push crashes with 9folders NINE when marking a recurring task as done. In the log, I see things like:

 WBXMLDecoder->getElementEndTag(): could not read end tag in '/usr/share/z-push/lib/request/sync.php:533'. Please enable the LOGLEVEL_WBXML and send the log to the Z-Push dev team.

and

 WBXMLException: Unknown error in Sync->Handle() - code: 0 - file: /usr/share/z-push/lib/request/requestprocessor.php:117

I suspect NINE sends a corrupt XML structure, so I want to look at it.

Question: how do I correctly decode a WBXML Data block like this (method wanted, not the decoded data):

 WBXML 10K debug data: AwFqAEVcT0sDe2YwNWU3NGIwLTk4YzktNDQyYy05MmY0LWM5NjM5NWY0MTg1OH0xNQABUgNVOTU4NmUAAV4DMQABUwMxAAFVAzUAAVdYAzAAAVsDMQABABFFRgMxAAFIAzAAAQEBAABWR0wDMzk4OQABXQARSkYDMQABSwMgAAEBAAlgA05ld1JlY3VycmluZ1Rhc2sAAU4DMQABTQMyMDE4LTExLTA3VDIzOjAwOjAwLjAwMFoAAUwDMjAxOC0xMS0wOFQwMDowMDowMC4wMDBaAAFPWQMwAAFaAzEAAVADMAABVAMxAAFmAzAAAQFKAzEAAUsDMjAxOC0xMS0wOFQwMDowMDowMC4wMDBaAAFdAzAAAVsDMAABAQEAAEdMAzM5OTAAAV0AEUpGAzEAAUsDIAABAQAJYANOZXdSZWN1cnJpbmdUYXNrAAFOAzEAAU0DMjAxOC0xMS0wOFQyMzowMDowMC4wMDBaAAFMAzIwMTgtMTEtMDlUMDA6MDA6MDAuMDAwWgABT1kDMAABWgMwAAFQAzAAAVQDMQABZgMwAAEBSgMwAAFdAzAAAVsDMAABAQEAAElNA1U5NTg2ZTo1NmNhYmY0NDNiOTU0ZDBjOGNhZWRhYjg0MjA4ZmRmMGE0MDAwMDAwMDAwMAABAQEBAQE=

Muchas gracias,

Peter

Hmm. It seems I have the same problem as Darian here:
https://forum.kopano.io/topic/1815/completing-recurrent-tasks-breaks-sync

Great, I’ll look at it. Thank you.

Well, updated z-push from 2.4.4 to 2.4.5 released yesterday seems to have the recurring task problem fixed. Still testing …