Webdav bug
Hi,
I have a problem with my webdav connection (which works fine by the way in omnifocus, omnioutliner and omnigraffle!). I can't connect. Omniplan always returns 403 forbidden. It feels as if Omniplan doesn't send the required authorization data to the server or something... It would be great if you fixed this. I recall I had similar problems when I trailed with Mac version. |
Setting the details of the webdav configuration in OmniPlan is a bit confusing, and it is much, much more likely that you've gotten that wrong. Call up the support ninjas and they'll help you get it straightened out.
|
In my case WebDAV connection works, but synchronization works only with iPad, not with Mac.
|
Don't think that this is a configuration problem. In the meantime, my wireshark conversation looks like this (anonymized). One thing I can imagine here that may cause a problem is that my username for the webdav server is (due to the provider forcing it) something [email]XXX@web.dav[/email], i.e., with an @-sign. The other is that Omniplan is doing something wrong with the authorization. I'd be happy to provide the Omnigroup staff a test account on this server to debug this:
PROPFIND /webdav/apps/omniplan/ HTTP/1.1 Host: XXXXX.livedisk.df.eu:80 User-Agent: OmniPlan-iPad/152.0.167800 CFNetwork/548.1.4 Darwin/11.0.0 Content-Length: 142 Accept: text/xml Content-Type: text/xml; charset="utf-8" Depth: 0 Accept-Language: de-de Accept-Encoding: gzip, deflate Connection: keep-alive <?xml version="1.0" encoding="utf-8" standalone="no"?> <propfind xmlns="DAV:"><prop><getetag/><current-user-privilege-set/></prop></propfind> HTTP/1.1 403 Forbidden Date: Thu, 07 Jun 2012 18:47:12 GMT Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.8e-fips-rhel5 Content-Length: 223 Keep-Alive: timeout=10, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /webdav/apps/omniplan/ on this server.</p> </body></html> ---- Just for the fun of it, this is what the conversation looks like with Omnioutliner (same account) which works fine. Though I don't quite get why also Omnioutliner always tries again without authorization info once it fails: PROPFIND /webdav/apps/omnioutliner/ HTTP/1.1 Host: XXXXX.livedisk.df.eu User-Agent: OmniOutliner-iPad/154.3.0.163910 Darwin/5.1.1 (J2aAP) (bnz%20iPad3) Content-Length: 177 Accept: text/xml,application/xml Depth: 0 Content-Type: text/xml; charset="utf-8" Accept-Language: de-de Accept-Encoding: gzip, deflate Connection: keep-alive <?xml version="1.0" encoding="utf-8" standalone="no"?> <propfind xmlns="DAV:"> <prop> <resourcetype/> <getcontentlength/> <getlastmodified/> </prop> </propfind> --- HTTP/1.1 401 Authorization Required Date: Thu, 07 Jun 2012 18:56:58 GMT Server: Apache/2.2.21 (Unix) DAV/2 WWW-Authenticate: Digest realm="webdav", nonce="iD/XXXX", algorithm=MD5, qop="auth" Content-Length: 401 Content-Type: text/html; charset=iso-8859-1 Keep-Alive: timeout=10, max=100 Connection: Keep-Alive <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Authorization Required</title> </head><body> <h1>Authorization Required</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> </body></html> After that, Omnioutliner tries again with authorization: --- PROPFIND /webdav/apps/omnioutliner/ HTTP/1.1 Host: XXXXXX.livedisk.df.eu User-Agent: OmniOutliner-iPad/154.3.0.163910 Darwin/5.1.1 (J2aAP) (bnz%20iPad3) Content-Length: 177 Accept: text/xml,application/xml Depth: 0 Content-Type: text/xml; charset="utf-8" Accept-Language: de-de Accept-Encoding: gzip, deflate [B]Authorization: Digest username="XXXXX@web.dav", realm="webdav", nonce="iD/XXXXX", uri="/webdav/apps/omnioutliner/", response="XXXX", algorithm="MD5", cnonce="XXXX", nc=00000001, qop="auth"[/B] Connection: keep-alive <?xml version="1.0" encoding="utf-8" standalone="no"?> <propfind xmlns="DAV:"> <prop> <resourcetype/> <getcontentlength/> <getlastmodified/> </prop> </propfind> --- HTTP/1.1 207 Multi-Status Date: Thu, 07 Jun 2012 18:56:58 GMT Server: Apache/2.2.21 (Unix) DAV/2 Authentication-Info: rspauth="XXXXX", cnonce="XXXXX", nc=00000001, qop=auth Content-Length: 571 Content-Type: text/xml; charset="utf-8" Keep-Alive: timeout=10, max=100 Connection: Keep-Alive <?xml version="1.0" encoding="utf-8"?> <D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:"> <D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/" xmlns:g0="DAV:"> <D:href>/webdav/apps/omnioutliner/</D:href> <D:propstat> <D:prop> <lp1:resourcetype><D:collection/></lp1:resourcetype> <lp1:getlastmodified>Thu, 07 Jun 2012 16:05:35 GMT</lp1:getlastmodified> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> <D:propstat> <D:prop> <g0:getcontentlength/> </D:prop> <D:status>HTTP/1.1 404 Not Found</D:status> </D:propstat> </D:response> </D:multistatus> ---- PROPFIND /webdav/apps/omnioutliner/ HTTP/1.1 Host: XXXXX.livedisk.df.eu User-Agent: OmniOutliner-iPad/154.3.0.163910 Darwin/5.1.1 (J2aAP) (bnz%20iPad3) Content-Length: 177 Accept: text/xml,application/xml Depth: 1 Content-Type: text/xml; charset="utf-8" Accept-Language: de-de Accept-Encoding: gzip, deflate Connection: keep-alive <?xml version="1.0" encoding="utf-8" standalone="no"?> <propfind xmlns="DAV:"> <prop> <resourcetype/> <getcontentlength/> <getlastmodified/> </prop> </propfind> --- HTTP/1.1 401 Authorization Required Date: Thu, 07 Jun 2012 18:56:59 GMT Server: Apache/2.2.21 (Unix) DAV/2 WWW-Authenticate: Digest realm="webdav", nonce="XXXX=XXXX", algorithm=MD5, qop="auth" Content-Length: 401 Content-Type: text/html; charset=iso-8859-1 Keep-Alive: timeout=10, max=99 Connection: Keep-Alive <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Authorization Required</title> </head><body> <h1>Authorization Required</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> </body></html> ---- I hope this helps to find the problem. |
Thanks for posting the log! In the OmniPlan log, the server responds with "403 Forbidden" (which means it won't let us access that URL no matter how we authenticate), while in the OmniOutliner log it responds with "401 Authorization Required" which indicates that we should retry with credentials.
If you're sure the /omniplan/ path on the server exists and is configured the same way as the /omnioutliner/ path, then it sounds like the fastest way for us to debug this would be to set up a test account as you offered. Could you contact our tech support team directly at [email]omniplan-ipad@omnigroup.com[/email] to arrange this (and reference this thread and log)? Thanks! |
Yes, the path does exist. I'm setting up the account now.
|
Only Port 80 and nothing to find
I set up the webdav server on my MacBook Pro, which had succeeded.
2 things are faulty with your synchronization with webdav: - I cannot use a different port for webdav connection than port 80, because after given http input string into Omniplan for iPad requester, Omniplan for iPad throws the port definition away; that's bad. - After the successful test of my webdav connectivity with the button "Test Connection", which responded with "Account verified", I cannot see my Omniplan for Mac file there; my webdav query out of GoodReader shows me this file and I could downloaded it without any problem. Best Regards, FEN |
All times are GMT -8. The time now is 10:11 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.