<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">XCAP root not found for URI:<br><a href="https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index">https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index</a><div><br></div><div>Don't you see that the configuration is plain wrong:</div><div><br></div><div><a href="https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index">https://xcap.ae.comhttps://xcap.ae.com:443</a></div><div><br></div><div>What do you expect the server to do more then telling you the XCAP root is not found?</div><div><br></div><div>Adrian</div><div><br></div><div><a href="https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index"></a><br><div><div>On May 26, 2010, at 5:36 AM, osiris123d wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>I just did a wireshark capture of a snom 8.2.29 phone sending a XCAP HTTPS<br>request to OpenXCAP and I think OpenXCAP is somehow mutating the resource<br>path.<br><br><br>The phone sends the correct path and all<br>253<span class="Apple-tab-span" style="white-space:pre">        </span>22:09:18.629127<span class="Apple-tab-span" style="white-space:pre">        </span>192.168.0.7<span class="Apple-tab-span" style="white-space:pre">        </span>173.203.87.134<span class="Apple-tab-span" style="white-space:pre">        </span>HTTP<span class="Apple-tab-span" style="white-space:pre">        </span>GET<br><a href="https://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index">https://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index</a><br>HTTP/1.1 <br><br>But OpenXCAP replies with an error<br>254<span class="Apple-tab-span" style="white-space:pre">        </span>22:09:18.685811<span class="Apple-tab-span" style="white-space:pre">        </span>173.203.87.134<span class="Apple-tab-span" style="white-space:pre">        </span>192.168.0.7<span class="Apple-tab-span" style="white-space:pre">        </span>HTTP<span class="Apple-tab-span" style="white-space:pre">        </span>HTTP/1.1 404 Not Found <br>(text/plain)<br><br><br>Here is what the OpenXCAP access.log says (You will notice that the first<br>two logs are the snom phone and after that is a successful access log of a<br>Counterpath Bria client)<br><br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index<br>HTTP/<br>1.1' 404 0 179 'Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)' -<br>TRACEBACK (most recent call last):<br> File<br>"/usr/lib/python2.5/site-packages/twisted/web2/channel/http.py", line 412,<br>in processRequest<br> self.request.process()<br> File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",<br>line 299, in process<br> d.callback(None)<br> File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",<br>line 280, in callback<br> self._startRunCallbacks(result)<br> File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",<br>line 354, in _startRunCallbacks<br> self._runCallbacks()<br> --- <exception caught here> ---<br> File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",<br>line 371, in _runCallbacks<br> self.result = callback(self.result, *args, **kw)<br> File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",<br>line 296, in <lambda><br> d.addCallback(lambda res, req: res.renderHTTP(req), self)<br> File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line<br>335, in renderHTTP<br> d = self.authenticate(request)<br> File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line<br>225, in authenticate<br> xcap_uri = parseNodeURI(uri, AuthenticationConfig.default_realm)<br> File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line<br>94, in parseNodeURI<br> raise ResourceNotFound("XCAP root not found for URI: %s" %<br>node_uri)<br> xcap.errors.ResourceNotFound: XCAP root not found for URI:<br>https://xcap.ae.comhttps://xcap.aethercommunica<br>tions.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index<br>HTTP/<br>1.1' 404 0 179 'Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)' -<br>TRACEBACK (most recent call last):<br> File<br>"/usr/lib/python2.5/site-packages/twisted/web2/channel/http.py", line 412,<br>in processRequest<br> self.request.process()<br> File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",<br>line 299, in process<br> d.callback(None)<br> File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",<br>line 280, in callback<br> self._startRunCallbacks(result)<br> File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",<br>line 354, in _startRunCallbacks<br> self._runCallbacks()<br> --- <exception caught here> ---<br> File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",<br>line 371, in _runCallbacks<br> self.result = callback(self.result, *args, **kw)<br> File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",<br>line 296, in <lambda><br> d.addCallback(lambda res, req: res.renderHTTP(req), self)<br> File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line<br>335, in renderHTTP<br> d = self.authenticate(request)<br> File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line<br>225, in authenticate<br> xcap_uri = parseNodeURI(uri, AuthenticationConfig.default_realm)<br> File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line<br>94, in parseNodeURI<br> raise ResourceNotFound("XCAP root not found for URI: %s" %<br>node_uri)<br> xcap.errors.ResourceNotFound: XCAP root not found for URI:<br>https://xcap.ae.comhttps://xcap.aethercommunica<br>tions.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX9@irock.com/contacts-re<br>source-list.xml HTTP/1.1' 401 0 141 - -<br>REQUEST headers:<br> Host: xcap.ae.com<br> Accept: */*<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX9@irock.com/contacts-re<br>source-list.xml HTTP/1.1' 401 0 141 - -<br>REQUEST headers:<br> Host: xcap.ae.com<br> Accept: */*<br> Authorization: Basic c2lwOjkwMTI3MzIwMDlAaXJvY2suY29tOmIxNjdpbnV4<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/org.openmobilealliance.pres-rules/users/sip:9XX2XX2XX9@ir<br>ock.com/pres-rules HTTP/1.1' 401 0 141 - -<br>REQUEST headers:<br> If-None-Match: "6d574e8b6b37e2daa799343d467a6bb4"<br> Host: xcap.ae.com<br> Accept: */*<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/org.openmobilealliance.pres-rules/users/sip:9XX2XX2XX9@ir<br>ock.com/pres-rules HTTP/1.1' 401 0 141 - -<br>REQUEST headers:<br> If-None-Match: "6d574e8b6b37e2daa799343d467a6bb4"<br> Host: xcap.ae.com<br> Accept: */*<br> Authorization: Basic c2lwOjkwMTI3MzIwMDlAaXJvY2suY29tOmIxNjdpbnV4<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX9@irock.com/resource-li<br>st.xml HTTP/1.1' 401 0 141 - -<br>REQUEST headers:<br> If-None-Match: "02df545fb141ee66255d9afeef3e69e3"<br> Host: xcap.ae.com<br> Accept: */*<br>7X.XX.XXX.XXX 'GET<br>https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX9@irock.com/resource-li<br>st.xml HTTP/1.1' 401 0 141 - -<br>REQUEST headers:<br> If-None-Match: "02df545fb141ee66255d9afeef3e69e3"<br> Host: xcap.ae.com<br> Accept: */*<br> Authorization: Basic c2lwOjkwMTI3MzIwMDlAaXJvY2suY29tOmIxNjdpbnV4<br><br><br><br>The only config I put on the Snom phone was<br><br>xcap_tbook_sync_interval!: 7200<br>xcap_server_name!: xcap.ae.com<br>xcap_server_port!: 443<br>xcap_directory_auid!: xcap-root@irock.com/resource-lists<br>xcap_dir_doc_name!: index<br><br><br><br>Also here is the snom log that shows that the https:xcap.ae.com is being<br>repeated for some reason<br><br>[5] 23/12/2001 18:01:40: XCAPclient: server did not provide an etag<br>[5] 23/12/2001 18:01:40: XCAPclient: Retrieving directory failed with<br>error-code 404 and message:<br>XCAP root not found for URI:<br>https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index<br>[5] 23/12/2001 18:21:42: XCAPclient: server did not provide an etag<br>[5] 23/12/2001 18:21:42: XCAPclient: Retrieving directory failed with<br>error-code 404 and message:<br>XCAP root not found for URI:<br>https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index<br>-- <br>View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5101671.html<br>Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br><br>_______________________________________________<br>Users mailing list<br>Users@lists.opensips.org<br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br><br></div></blockquote></div><br></div></body></html>