Page 1 of 1

WebDAV upload problem with Mac OS X

PostPosted:Tue Feb 21, 2012 10:57 am
by mateuszknapik
Hello.
I've successfully installed OpenKM 5.1.9 on Windows Vista x64 box, but unfortunately, I've problem with accessing it via WebDAV using CyberDuck 4.2.1 (build 9350). Logging in works well, but when I try to upload a file all I get is
Code: Select all
The server failed to respond with a valid HTTP response.
. I believe it's something with passing Expect: 100-continue argument (I've read that earlier versions of CyberDuck had problems with servers which didn't reply to it).
Here's log from CyberDuck:
Code: Select all
PROPFIND /OpenKM/webdav/okm_root/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset=utf-8
Content-Length: 99
Host: 192.168.1.65:8080
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
WWW-Authenticate: Basic realm="OpenKM WebDAV Server"
Content-Type: text/html;charset=utf-8
Content-Length: 948
Date: Tue, 21 Feb 2012 10:47:39 GMT
PROPFIND /OpenKM/webdav/okm_root/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset=utf-8
Content-Length: 99
Host: 192.168.1.65:8080
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
Authorization: Basic bWF0ZXVzemtuYXBpa0B0cmFuc2tldC5wbDpwb3phYmVrMg==
HTTP/1.1 207 Multi-Status
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Date: Tue, 21 Feb 2012 10:47:51 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 1053
PROPFIND /OpenKM/webdav/okm_root/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset=utf-8
Content-Length: 99
Host: 192.168.1.65:8080
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
Authorization: Basic bWF0ZXVzemtuYXBpa0B0cmFuc2tldC5wbDpwb3phYmVrMg==
HTTP/1.1 207 Multi-Status
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Date: Tue, 21 Feb 2012 10:48:20 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 1053
PROPFIND /OpenKM/webdav/okm_root/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset=utf-8
Content-Length: 99
Host: 192.168.1.65:8080
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
Authorization: Basic bWF0ZXVzemtuYXBpa0B0cmFuc2tldC5wbDpwb3phYmVrMg==
HTTP/1.1 207 Multi-Status
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Date: Tue, 21 Feb 2012 10:48:30 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 1053
Other WebDAV software, like Total Commander with WebDAV plugin or Interarchy works without problems.
Can you give me some advice?
BR
Mateusz

Re: WebDAV upload problem with Mac OS X

PostPosted:Sat Feb 25, 2012 3:37 pm
by mateuszknapik
I've found this: http://milton-users.96038.n3.nabble.com ... 41142.html
Maybe this information would help with my problem?
BR
Mateusz

Re: WebDAV upload problem with Mac OS X

PostPosted:Wed Feb 29, 2012 11:08 pm
by pavila
Added in our issue tracking at http://issues.openkm.com/view.php?id=2073.

I have just commited the source modification, please get the night build from http://integration.openkm.com and confirm if is fixed.

Re: WebDAV upload problem with Mac OS X

PostPosted:Fri Mar 02, 2012 6:32 pm
by mateuszknapik
I've tested lastest nightly and I can confirm, that now it works great with Cyberduck :)
Thank you for your help.
Best regards
Mateusz

Re: WebDAV upload problem with Mac OS X

PostPosted:Fri Mar 02, 2012 10:02 pm
by pavila
Thanks for the feedback and for providing the solution :P

Re: WebDAV upload problem with Mac OS X

PostPosted:Wed Mar 14, 2012 11:02 am
by mateuszknapik
Hello again :)
I don't know if this is qualifing for a new thread, but I think I've found another bug in WebDAV implementation.
Namely, when I try to overwrite a file, to which I have read-only permissions, it gets status: Edited by [username] and owner of this file (who has full permissions set in security tab) cannot edit it or unlock it. WebDAV application (Cyberduck) returns error.
Here's log from Cyberduck:
Code: Select all
HTTP/1.1 207 Multi-Status
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Date: Wed, 14 Mar 2012 11:00:09 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 16170
PROPFIND /OpenKM/webdav/okm_root/PLANOWANIE/2012/PLANOWANIE%20seryjna%20T2.xls HTTP/1.1
Depth: 1
Content-Type: text/xml; charset=utf-8
Content-Length: 99
Host: 127.0.0.1:4433
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
Authorization: Basic bWF0ZXVzemtuYXBpa0B0cmFuc2tldC5wbDpwb3phYmVrMg==
HTTP/1.1 207 Multi-Status
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Date: Wed, 14 Mar 2012 11:00:42 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 1166
PUT /OpenKM/webdav/okm_root/PLANOWANIE/2012/PLANOWANIE%20seryjna%20T2.xls HTTP/1.1
Expect: 100-continue
Content-Length: 45056
Content-Type: application/vnd.ms-excel
Host: 127.0.0.1:4433
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
Authorization: Basic bWF0ZXVzemtuYXBpa0B0cmFuc2tldC5wbDpwb3phYmVrMg==
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Content-Type: text/html
Transfer-Encoding: chunked
Date: Wed, 14 Mar 2012 11:00:48 GMT
Connection: close
PROPFIND /OpenKM/webdav/okm_root/PLANOWANIE/2012/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset=utf-8
Content-Length: 99
Host: 127.0.0.1:4433
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.6.8) (i386)
Authorization: Basic bWF0ZXVzemtuYXBpa0B0cmFuc2tldC5wbDpwb3phYmVrMg==
HTTP/1.1 207 Multi-Status
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
Date: Wed, 14 Mar 2012 11:00:52 GMT
Content-Type: text/xml;charset=UTF-8
Content-Length: 16170
Update:
I've tested Interarchy and AnyClient and I always get the same results.

Best regards
Mateusz Knapik

Re: WebDAV upload problem with Mac OS X

PostPosted:Wed Mar 14, 2012 4:10 pm
by pavila
Please, don't mix problems in the same thread.

Re: WebDAV upload problem with Mac OS X

PostPosted:Wed Mar 14, 2012 4:15 pm
by mateuszknapik
Ok, I'll create a new thread. Please delete my previous post :)

Re: WebDAV upload problem with Mac OS X

PostPosted:Fri Mar 16, 2012 10:10 am
by pavila
Please, add a link to the new created post so users can follow the new one.

Re: WebDAV upload problem with Mac OS X

PostPosted:Fri Mar 16, 2012 5:25 pm
by mateuszknapik