After updating my Zimbra (Community) to version 8.7 (from 8.6, latest patch) the sync client doesn't work anymore. When I try to sync I get the following error:
be.re.io.IOException
at be.re.webdav.cmd.Sync$ListenerAdapter.exception(Sync.java:5605)
at be.re.webdav.cmd.Sync.getTree(Sync.java:2029)
at be.re.webdav.cmd.Sync.run(Sync.java:3855)
at be.re.webdav.cmd.Sync.run(Sync.java:3822)
at be.re.webdav.cmd.Sync.main(Sync.java:2706)
Caused by: be.re.io.IOException
at be.re.webdav.Util.readPropertyList(Util.java:2441)
at be.re.webdav.Util.readPropertyList(Util.java:2371)
at be.re.webdav.cmd.Sync.getTree(Sync.java:1967)
... 3 more
Caused by: java.lang.NullPointerException
at be.re.webdav.cmd.Sync.getRecord(Sync.java:1647)
at be.re.webdav.cmd.Sync.access$1900(Sync.java:77)
at be.re.webdav.cmd.Sync$1.handle(Sync.java:1993)
at be.re.webdav.Util.readPropertyList(Util.java:2510)
at be.re.webdav.Util.readPropertyList(Util.java:2433)
... 5 more
Can you run it with "-Dbe.re.http.trace -Dbe.re.http.no-compress", remove the lines with the Authorization header and attach the result to this ticket?
Hello,
Is this what you wanted?
Regards,
Angelo
Hello Angelo,
Indeed, that is it.
Is it possible to have a temporary test-account on your site? If so, you can send the details to werner.donne@pincette.biz.
Best regards,
Werner.
Fixed in release 1.1.6.
On my Calcluate boxes it works now, but one (chakra) I get the following:
be.re.io.IOException
at be.re.webdav.cmd.Sync$ListenerAdapter.exception(Sync.java:5449)
at be.re.webdav.cmd.Sync.getTree(Sync.java:2058)
at be.re.webdav.cmd.Sync.getTree(Sync.java:1939)
at be.re.webdav.cmd.Sync.getTree(Sync.java:2073)
at be.re.webdav.cmd.Sync.run(Sync.java:3683)
at be.re.webdav.cmd.Sync.run(Sync.java:3650)
at be.re.webdav.cmd.Sync.main(Sync.java:2499)
Caused by: be.re.io.IOException
at be.re.webdav.Util.readPropertyList(Util.java:2426)
at be.re.webdav.Util.readPropertyList(Util.java:2356)
at be.re.webdav.cmd.Sync.getTree(Sync.java:2001)
... 5 more
Caused by: java.lang.NullPointerException
at be.re.webdav.cmd.Sync.getRecord(Sync.java:1683)
at be.re.webdav.cmd.Sync.access$2100(Sync.java:78)
at be.re.webdav.cmd.Sync$1.handle(Sync.java:2023)
at be.re.webdav.Util.readPropertyList(Util.java:2495)
at be.re.webdav.Util.readPropertyList(Util.java:2418)
... 7 more
Can I have a test-account on that one as well?
Hello,
Your account is active again, same one as before. Chakra as well as Calculate use OpenJDK, but slightly differente versions:
Chakra:
openjdk version "1.8.0_92"
OpenJDK Runtime Environment (build 1.8.0_92-b14)
OpenJDK 64-Bit Server VM (build 25.92-b14, mixed mode)
Calculate:
openjdk version "1.8.0_101"
OpenJDK Runtime Environment (IcedTea 3.1.0) (Gentoo icedtea-3.1.0)
OpenJDK 64-Bit Server VM (build 25.101-b13, mixed mode)
On Calculate it works now (2 systems), but not on the Chakra one.
Regards,
Angelo
I can't imagine that the OS nor the small difference in Java runtime version have anything to do with it. Is the encoding of the filenames on the filesystem the same on both systems?
On my work Calculate and on the Chakra it's en_US.UTF-8
Regards,
Angelo
BTISHW: on the Chakra box the account has a pw with a . in it, should this be percent encoded as well?
Hello Angelo,
If you put the password in the URL, in the authority part, then escaping may be necessary. However, this is not the case for the dot. Anyway, when there is a problem with the password the server would reply with the status code 401. The exception shows you were already passed that, so it is a bug in WebDAV-Sync.
Is it possible for me to connect to that Chakra box through ssh? I could then run the command with the debug port on, to which I would connect via an ssh-tunnel. I can send you my public key so you can give me access temporarily without giving a password.
Best regards,
Werner.
Sorry, but seeing this machine is work related I can't give you access. I understand troubleshooting will be difficult and if there is any way I can help you I will, but not this way :)
Regards,
Angelo
I understand.
There is something else we can try. Can you run it as follows:
java -Dbe.re.webdav-sync.trace -Dbe.re.http.trace -Dbe.re.http.no-compress -jar webdav_sync.jar ... > output
Don't forget to remove the "Authorization" lines. Send the output to my personal address, because there may be documents in the response stream.
Werner.