On 12/9/2011 12:46 AM, Thomas Tanghus Olsen wrote: > Maybe you need to use the full path like in: >> http://myowncloud/apps/contacts/carddav.php/addressbooks/[user]/[address book]
> > Where [addressbook] would normally be 'default'. > > /Tanghus
I tried. Same result :( I used the url: http://myowncloud/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ 'myowncloud' is the address of my local installation 'test' is the user nameIf i access that url via browser, it asks for authentication, and it shows correctly the .vcf files.
Could it be exactly an authentication problem? I noticed that the ownCloud responses to the eM Client requests are '404' (not found) and not 401 (unauthorized). Consequently, the eM Client doesn't even try to send the basic authentication. Shouldn't ownCloud respond with a 401, to force eM Client to authenticate?
I attached a capture file that shows the http conversation (in .pcap (wireshark) and .txt format).
Hope this helps.
Thank you,
l.
Leon Orator<[email protected]> wrote:Hello, I installed ownCloud on Windows 7 + IIS. The web application seems to work well, but when i try to access the Contact List from a CardDAV client -in this case, em Client- i get the following error: [CalDAV / CardDAV] MailExceptions.OperationException: Subfolder synchronization for folder "testOwn" failed with following error: Not Found I tried the eM Client with other CardDAV servers (Sogo, Memotoo) and it works. The address I use in eM Client for the CardDAV server is: http://myowncloud/owncloud/apps/contacts/carddav.php/ This is the web server log: 2011-12-07 18:30:25 127.0.0.1 OPTIONS /owncloud/apps/contacts/carddav.php/ - 80 - 127.0.0.1 eM+Client/3.5.12280.0 200 0 0 4 2011-12-07 18:30:25 127.0.0.1 PROPFIND /owncloud/apps/contacts/carddav.php/ - 80 - 127.0.0.1 eM+Client/3.5.12280.0 404 0 123 5 2011-12-07 18:30:25 127.0.0.1 REPORT /owncloud/apps/contacts/carddav.php/ - 80 - 127.0.0.1 eM+Client/3.5.12280.0 404 0 2 19 2011-12-07 18:30:25 127.0.0.1 PROPFIND /owncloud/apps/contacts/carddav.php/ - 80 - 127.0.0.1 eM+Client/3.5.12280.0 404 0 123 2 It seems it can't find the proper resource. Could it be an IIS configuration problem, maybe related to WebDAV support? Or is someting wrong with the ownCloud installation? And by the way, could you suggest a tool to test the CardDAV server? I mean, a desktop application that allows you to send CardDAV commands and see the response from the server? Thank you. Leon _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
capture.pcap
Description: Binary data
No. Time Source Destination Protocol Length
Info
344 344.772720 127.0.0.1 127.0.0.1 HTTP 322
OPTIONS /owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1
Frame 344: 322 bytes on wire (2576 bits), 322 bytes captured (2576 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: wg-netforce (3359), Dst Port: http
(80), Seq: 1, Ack: 1, Len: 282
Hypertext Transfer Protocol
OPTIONS /owncloud/apps/contacts/carddav.php/addressbooks/test/default/
HTTP/1.1\r\n
[Expert Info (Chat/Sequence): OPTIONS
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Message: OPTIONS
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: OPTIONS
Request URI:
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/
Request Version: HTTP/1.1
User-Agent: eM Client/3.5.12280.0\r\n
Accept-Encoding: gzip, deflate,gzip, deflate\r\n
Content-Type: text/xml; charset=utf-8\r\n
Accept: text/xml\r\n
Host: myowncloud\r\n
Content-Length: 0\r\n
Connection: Keep-Alive\r\n
\r\n
[Full request URI:
http://myowncloud/owncloud/apps/contacts/carddav.php/addressbooks/test/default/]
No. Time Source Destination Protocol Length
Info
346 344.787721 127.0.0.1 127.0.0.1 HTTP 355
HTTP/1.1 200 OK
Frame 346: 355 bytes on wire (2840 bits), 355 bytes captured (2840 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: http (80), Dst Port: wg-netforce
(3359), Seq: 1, Ack: 283, Len: 315
Hypertext Transfer Protocol
HTTP/1.1 200 OK\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 200 OK\r\n]
[Message: HTTP/1.1 200 OK\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 200
Response Phrase: OK
Allow: OPTIONS, TRACE, GET, HEAD, POST, LOCK, UNLOCK\r\n
Server: Microsoft-IIS/7.5\r\n
Public: OPTIONS, TRACE, GET, HEAD, POST, PROPFIND, PROPPATCH, MKCOL, PUT,
DELETE, COPY, MOVE, LOCK, UNLOCK\r\n
DAV: 1\r\n
MS-Author-Via: DAV\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 09 Dec 2011 17:22:50 GMT\r\n
Content-Length: 0\r\n
\r\n
No. Time Source Destination Protocol Length
Info
350 344.812722 127.0.0.1 127.0.0.1 HTTP/XML 181
PROPFIND /owncloud/apps/contacts/carddav.php/addressbooks/test/default/
HTTP/1.1
Frame 350: 181 bytes on wire (1448 bits), 181 bytes captured (1448 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: wg-netforce (3359), Dst Port: http
(80), Seq: 554, Ack: 316, Len: 141
[2 Reassembled TCP Segments (412 bytes): #348(271), #350(141)]
Hypertext Transfer Protocol
PROPFIND /owncloud/apps/contacts/carddav.php/addressbooks/test/default/
HTTP/1.1\r\n
[Expert Info (Chat/Sequence): PROPFIND
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Message: PROPFIND
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: PROPFIND
Request URI:
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/
Request Version: HTTP/1.1
User-Agent: eM Client/3.5.12280.0\r\n
Accept-Encoding: gzip, deflate,gzip, deflate\r\n
Content-Type: text/xml; charset=utf-8\r\n
Accept: text/xml\r\n
Depth: 0\r\n
Host: myowncloud\r\n
Content-Length: 141\r\n
\r\n
[Full request URI:
http://myowncloud/owncloud/apps/contacts/carddav.php/addressbooks/test/default/]
eXtensible Markup Language
No. Time Source Destination Protocol Length
Info
356 344.816723 127.0.0.1 127.0.0.1 HTTP 1133
HTTP/1.1 404 Not Found (text/html)
Frame 356: 1133 bytes on wire (9064 bits), 1133 bytes captured (9064 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: http (80), Dst Port: wg-netforce
(3359), Seq: 4696, Ack: 695, Len: 1093
[4 Reassembled TCP Segments (5473 bytes): #352(1460), #353(1460), #355(1460),
#356(1093)]
Hypertext Transfer Protocol
HTTP/1.1 404 Not Found\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 404 Not Found\r\n]
[Message: HTTP/1.1 404 Not Found\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 404
Response Phrase: Not Found
Cache-Control: private\r\n
Content-Type: text/html; charset=utf-8\r\n
Server: Microsoft-IIS/7.5\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 09 Dec 2011 17:22:50 GMT\r\n
Content-Length: 5274\r\n
\r\n
Line-based text data: text/html
No. Time Source Destination Protocol Length
Info
360 344.818723 127.0.0.1 127.0.0.1 HTTP/XML 694
REPORT /owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1
Frame 360: 694 bytes on wire (5552 bits), 694 bytes captured (5552 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: wg-netforce (3359), Dst Port: http
(80), Seq: 954, Ack: 5789, Len: 654
[2 Reassembled TCP Segments (913 bytes): #358(259), #360(654)]
Hypertext Transfer Protocol
REPORT /owncloud/apps/contacts/carddav.php/addressbooks/test/default/
HTTP/1.1\r\n
[Expert Info (Chat/Sequence): REPORT
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Message: REPORT
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: REPORT
Request URI:
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/
Request Version: HTTP/1.1
User-Agent: eM Client/3.5.12280.0\r\n
Accept-Encoding: gzip, deflate,gzip, deflate\r\n
Content-Type: text/xml; charset=utf-8\r\n
Accept: text/xml\r\n
Host: myowncloud\r\n
Content-Length: 654\r\n
\r\n
[Full request URI:
http://myowncloud/owncloud/apps/contacts/carddav.php/addressbooks/test/default/]
eXtensible Markup Language
No. Time Source Destination Protocol Length
Info
365 344.820723 127.0.0.1 127.0.0.1 HTTP 1120
HTTP/1.1 404 Not Found (text/html)
Frame 365: 1120 bytes on wire (8960 bits), 1120 bytes captured (8960 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: http (80), Dst Port: wg-netforce
(3359), Seq: 10169, Ack: 1608, Len: 1080
[4 Reassembled TCP Segments (5460 bytes): #362(1460), #363(1460), #364(1460),
#365(1080)]
Hypertext Transfer Protocol
HTTP/1.1 404 Not Found\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 404 Not Found\r\n]
[Message: HTTP/1.1 404 Not Found\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 404
Response Phrase: Not Found
Cache-Control: private\r\n
Content-Type: text/html; charset=utf-8\r\n
Server: Microsoft-IIS/7.5\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 09 Dec 2011 17:22:50 GMT\r\n
Content-Length: 5261\r\n
\r\n
Line-based text data: text/html
No. Time Source Destination Protocol Length
Info
369 344.867726 127.0.0.1 127.0.0.1 HTTP/XML 398
PROPFIND /owncloud/apps/contacts/carddav.php/addressbooks/test/default/
HTTP/1.1
Frame 369: 398 bytes on wire (3184 bits), 398 bytes captured (3184 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: wg-netforce (3359), Dst Port: http
(80), Seq: 1879, Ack: 11249, Len: 358
[2 Reassembled TCP Segments (629 bytes): #367(271), #369(358)]
Hypertext Transfer Protocol
PROPFIND /owncloud/apps/contacts/carddav.php/addressbooks/test/default/
HTTP/1.1\r\n
[Expert Info (Chat/Sequence): PROPFIND
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Message: PROPFIND
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/ HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: PROPFIND
Request URI:
/owncloud/apps/contacts/carddav.php/addressbooks/test/default/
Request Version: HTTP/1.1
User-Agent: eM Client/3.5.12280.0\r\n
Accept-Encoding: gzip, deflate,gzip, deflate\r\n
Content-Type: text/xml; charset=utf-8\r\n
Accept: text/xml\r\n
Depth: 1\r\n
Host: myowncloud\r\n
Content-Length: 358\r\n
\r\n
[Full request URI:
http://myowncloud/owncloud/apps/contacts/carddav.php/addressbooks/test/default/]
eXtensible Markup Language
No. Time Source Destination Protocol Length
Info
374 344.877726 127.0.0.1 127.0.0.1 HTTP 1133
HTTP/1.1 404 Not Found (text/html)
Frame 374: 1133 bytes on wire (9064 bits), 1133 bytes captured (9064 bits)
Raw packet data
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Transmission Control Protocol, Src Port: http (80), Dst Port: wg-netforce
(3359), Seq: 15629, Ack: 2237, Len: 1093
[4 Reassembled TCP Segments (5473 bytes): #371(1460), #372(1460), #373(1460),
#374(1093)]
Hypertext Transfer Protocol
HTTP/1.1 404 Not Found\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 404 Not Found\r\n]
[Message: HTTP/1.1 404 Not Found\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 404
Response Phrase: Not Found
Cache-Control: private\r\n
Content-Type: text/html; charset=utf-8\r\n
Server: Microsoft-IIS/7.5\r\n
X-Powered-By: ASP.NET\r\n
Date: Fri, 09 Dec 2011 17:22:50 GMT\r\n
Content-Length: 5274\r\n
\r\n
Line-based text data: text/html
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
