Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

OSX 10.9 - Mavericks webdav client broken

My company provides a webdav server solution for OS X webdav clients.


Since OS X 10.9 upgrade, many webdav actions including dragging a file onto a webdav mount using Finder and editing files using MS office applications (Microsoft Word, Office, Powerpoint) have stopped working.


Looking at client <-> webdav server traffic, it appears that after acquiring LOCK on a file, client is not supplying lock token in subsequent requests to server, resulting in 423 responses on subsequent operations.

According to webdav spec, client needs to supply file lock-token in subsequent commands to server.


At this point, webdav mount also gets disconnected with following error in dmesg.


Sandbox: QuickLookSatelli(41334) deny network-outbound /private/tmp/.webdavUDS.YlINRf

webdav_sendmsg: sock_connect() = 1

webdav_close_mnomap: no cache file

webdav server: https://server.com/webdav/: connection is dead

webdav_sendmsg: sock_connect() = 61

webdav_sendmsg: sock_connect() = 61


I confirmed that this is not a problem with 10.8 or earlier versions.


Has anyone else seen this problem and have a solution ?


Thanks

OSX Webdav-OTHER, OS X Mavericks (10.9)

Posted on Oct 25, 2013 5:22 PM

Reply
56 replies

Jan 29, 2014 10:06 AM in response to etresoft

I have no real speed issues with SMB inside of the network but through VPN it is painfully slow (for all users or just one at a time) using OS X but perfectly fine for Windows machines or when we use other protocols like AFP.


For us running Webdav from IIS 7 on W08 server is very fast for Finder, IOS etc. As stated in this thread and numerous other threads across the internets Finder has the -36 error issue where it does not allow for dragging and dropping of files. Interestingly enough though in Finder I can create a new folder in a directory with no issue via Webdav connection in OS X.


With all that said I have been using CyberDuck for years for SFTP etc. and it supports Webdav so I have some users experiementing with that tool and it works like SMB in house (most of my users already have it installed). So hopefully it is fixed soon or someone in some thread has a fix that makes a difference.

Jan 29, 2014 11:57 AM in response to keithfromvirginia beach

keithfromvirginia beach wrote:


I have no real speed issues with SMB inside of the network but through VPN it is painfully slow (for all users or just one at a time) using OS X but perfectly fine for Windows machines or when we use other protocols like AFP.

That is a different issue. I suggest you create a new thread for this problem.


For us running Webdav from IIS 7 on W08 server is very fast for Finder, IOS etc. As stated in this thread and numerous other threads across the internets Finder has the -36 error issue where it does not allow for dragging and dropping of files. Interestingly enough though in Finder I can create a new folder in a directory with no issue via Webdav connection in OS X.

That doesn't sound like anything being being reported in this thread. I'm quite sure that dragging and dropping works fine. Any Finder errors are essentially meaningless. The only thing more meaningless is what you might see across the internets. There is no way to tell what server those people are running, what files they are dragging and dropping, and pretty much what the problem is.


If you can get detailed logs from your file server, you should submit your own bug report. IIS is something that Apple actively supports. Do not assume that anyone is going to see this thread and issue any fixes because of it. Your problem seems different.

Jan 29, 2014 2:05 PM in response to Egnyte

What we see here is the following with Mavericks:


  • with Apache Webserver : works
  • Apache Tomcat : broken


Code that worked with previous OSX versions stopped working after upgrading to Mavericks. Browsing works, uploading not. The problem is that the Finder generates all kind of WebDAV Locks and looses the lock token in following requests, thus can't unlock the lock. This is when you get the error message.


Apple seems only to support (or test) IIS and Apache Webserver. My collegue told me bug is known to the apple dev team. So, hopefully it will be fixed with any following Mavericks update. Knock, knock...

Jan 29, 2014 2:55 PM in response to gnaegi

This is good to know. I am running IIS 7 Webdav. As I mentioned before the perfomance and functions are as expected when using something like Cyberduck vs Finder. Meaning they work properly with Cyberduck but not with Finder.


I will continue to hunt for a solution and maybe even use my dev account to download the latest OS X dev builds.

Jan 29, 2014 4:24 PM in response to Egnyte

Egnyte wrote:


Have you tested that ?

Yes. Apparently gnaegi has too.


Apache is open source. So is the WebDAV in OS X. Apparently "Egnyte" isn't just your anonymized handle but the name of your company that sells a WebDAV server. I guess you have the source for that too. According to your "Careers" page, you even have employees. If you are have evidence that Mavericks is doing something wrong, there is no one better to track down what the problem is. Why does the bug not affect Apache? Why does the bug not affect my software?


Apparently, Tomcat is doing funky thinks with locks, or at least it used to. http://grokbase.com/t/tomcat/users/01b77qq5et/tomcats-webdav

Is your software doing something similar?

Jan 30, 2014 9:42 AM in response to keithfromvirginia beach

I was not suggesting they weren't reputable. I just didn't know they were a company as opposed to just someone's online name chosen at random. But that does lead back to my last question. A company, especially a company like that, should have resources to deal with such a problem. Anyone with any experience at all with WebDAV would consider client software to be a serious factor to consider. The OS X WebDAV client has a long history as one of the most stable, and slowest, WebDAV clients you can find. Try the Windows WebDAV client sometime. Or, rather, the "clients". Virtually every version of Windows has had a significanly different WebDAV client requiring significant server configuration changes. I am not pointing that out to trash Windows. If you host WebDAV services, you have to be aware of all the various flavours of Windows WebDAV clients and work with them all. But, as is typical with corporate IT, that doesn't apply to the Mac. Windows requires "configuration changes" with each version but the Mac has "bugs". It is all in how you word it, eh?


Clearly, Egnyte's only response to this issue is to blame Apple. Egnyte's customers are correct. Mavericks has been available now for over seven months. That is plenty of time do test and debug a WebDAV locking issue. I (one person, working part time, and horribly overworked on many other projects) was able to write a WebDAV server, from scratch, in less time and put it on the Mac App Store. Plus, my server works with Mavericks. Why can't a corporation, employing 51-200 people working full time, do better than me?

Jan 30, 2014 10:26 AM in response to etresoft

hey etresoft, relax!


Your post is really beyond. I don't get it, do you want Apple to become the new MS where bugs must be accepted?


It is absolutely not liek you describe. Software that worked with Lion and Mountain Lion is broken with Mavericks. Our product which uses WebDAV code from Tomcat7 works flawlessly with Win XP, Vista, 7, 8 native WebDAV mount, even though you explained how difficult those clients can be. Curiously this time only the Mavericks client does not work.


It is difficult to say where the bugs is, we spent a lot of time debugging and compared the http requests from Tomcat and Apache code with sniffers. But could not find and relevant difference. It could be in Apples code, it could be in the server code. Nobody really knows. Most software bugs can be solved on both sides, and apple has sure some special code in their client to work well with IIE and Apache. This is why we suspect it works with Apache, because Finder detects that this is an Apache server and then does something different than in other cases.


It would be nice if they also tested with Tomcat7, this is all I ask for. Tomcat7 WebDAV implementation is also used by many people around there.


Curios: does your great WebDAV server support WebDAV locking at all? Did you write from scratch or did yo use Apple's developer API to build the server? This might explain why your server works.


BTW: the reference to Tomcat you linked is from 2001 - boy are you kidding?? Do you know what OSX version was released in 2001 - it was 10.0! At that time few Mac users had ever heard of WebDAV.

Jan 30, 2014 11:06 AM in response to gnaegi

I think there are some valid points in many of the posts here. I am running Windows Server 2008 with IIS7 and webdav. If Apple coded for that specifically I would think it would work fine and it does not. Again I can use many other webdav clients and have tried many and they all work fine it is only the OS X finder implementation that does not work properly.

Jan 30, 2014 11:42 AM in response to gnaegi


gnaegi wrote:


do you want Apple to become the new MS where bugs must be accepted?


No. I want bugs to be fixed. There is only one route to getting bugs fixed, and it isn't in this forum.


Software that worked with Lion and Mountain Lion is broken with Mavericks. Our product which uses WebDAV code from Tomcat7 works flawlessly with Win XP, Vista, 7, 8 native WebDAV mount, even though you explained how difficult those clients can be. Curiously this time only the Mavericks client does not work.

I'm sorry, but that is not the way that software bugs work. Software must be written to published standards, in this case RFC 4918. These standards say nothing about client or server versions. They just specify what a client or server must do. Beyond that, both clients and servers are free to change their software in any way as long as it continues to comply with the standard. The greater they deviate from accepted practice, the more likely that there will be compatibility problems. Software that is (relatively) bug free will continue to work when either client and/or server code changes, as it always does. Sometimes, software works in spite of bugs and valid changes might expose them.


It is difficult to say where the bugs is, we spent a lot of time debugging and compared the http requests from Tomcat and Apache code with sniffers. But could not find and relevant difference. It could be in Apples code, it could be in the server code. Nobody really knows. Most software bugs can be solved on both sides, and apple has sure some special code in their client to work well with IIE and Apache. This is why we suspect it works with Apache, because Finder detects that this is an Apache server and then does something different than in other cases.

The only custom code in Apple's WebDAV software that I have seen is for IIS. It could be a problem with Apple's code, but I don't see it. I don't see how you can claim that software breaks with Tomcat but works with Apache and that you don't see any difference between the two. If there is no difference, then both work fine and the problem is now resolved.


It would be nice if they also tested with Tomcat7, this is all I ask for. Tomcat7 WebDAV implementation is also used by many people around there.

Why should Apple test with Tomcat? Why shouldn't Tomcat test with Mavericks? It seems Tomcat is the one doing something unusal with locking. I know a fair bit about WebDAV but had no idea that Tomcat had its own WebDAV server implementation. Tomcat is a Java environment for corporate IT, not anything that regular people would ever use.


Curios: does your great WebDAV server support WebDAV locking at all? Did you write from scratch or did yo use Apple's developer API to build the server? This might explain why your server works.


Yes. It fully supports the WebDAV protocol. That is required because the OS X WebDAV client is one of the few to require locking. Hmmm... Tomcat does funky things with locking and most clients don't support locking. OS X requires locking and has problems with Tomcat... Ah. Never mind. I'm sure there is no correlation there. 🙂


All software is based on APIs at some level. Tomcat uses the Java APIs. There are no APIs from Apple that provides assistance with writing WebDAV software, or even server software of any kind for that matter. While I did use Objective-C instead of Java, all of my WebDAV and HTTP server code is 100% my own. Only the lowest levels of networking operations use any Apple APIs. I just sat down with the RFC and implemented it. Locking with Mavericks works as expected. I do optimize for OS X's behaviour, but that is on a much higher level.


BTW: the reference to Tomcat you linked is from 2001 - boy are you kidding?? Do you know what OSX version was released in 2001 - it was 10.0! At that time few Mac users had ever heard of WebDAV.

I know nothing about Tomcat. Has it changed since then? Has the specific, very unusual method for handling WebDAV lock tokens changed since then? I don't use Tomcat so I don't care. I use Mavericks, Mountain Lion, Apache, and my own servers and they all work fine with each other. If this is an Apple bug, then it is the responsibility of Tomcat users to identify where it is broken, under what circumstances, and send a bug report to Apple. Apple may fix it and may not. Any fix will come later rather than sooner. If you, or your customers, depend on Tomcat to work with Mavericks, then you might want to consider exercising your open source rights and changing the Tomcat server yourself. Isn't that the whole point of open source? Why then are all of these open source users sitting on their hands and waiting for a proprietary software vendor to do something? It doesn't take a rocket scientist to realize that 3rd party corporate Java-based IT services are not big priorities for Apple.

Jan 30, 2014 12:08 PM in response to Egnyte

OK so I just submitted my sysdiagnose to Apple for my bug report 🙂 I also just found something very odd. I can get finder to succeed in transferring a file but only a very small one. I transfered two different 4kb file and it worked I tried a 50kb, 20kb,12kb, and it failed (have not found the magic point at which it fails). I am also able to create new folders in finder on the mounted drive.


So what in the heck would be in the code allowing it to copy really small files but nothing larger than 4kb... Again this webdav works fine with other clients just not OS X finder.

OSX 10.9 - Mavericks webdav client broken

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.