[OpenSIPS-Users] OpenXCAP and Presence with SNOM version 8.2.29

Saúl Ibarra Corretgé saul at ag-projects.com
Thu May 27 08:34:50 CEST 2010


Hi,

On 27/5/10 4:21 AM, osiris123d wrote:
>
> I set up Snom to work off of port 80 and the ngrep capture of port 80 on the
> openxcap server is
>
> ####
> T 2010/05/26 20:28:39.863832 7X.XX.8.XX8:2108 ->  17X.XXX.XXX.XX4:80 [AP]
> ....?...;..<&p&!\...\...+...........(m..J....................d.b....
> ####
>
> And the snom log says
> [1] 23/12/2001 18:01:08: webclient: request
> xcap.ae.com:80https://xcap.ae.com:80/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index
> stopped due to no response from server
> [5] 23/12/2001 18:01:08: XCAPclient: server did not provide an etag
> [5] 23/12/2001 18:01:08: XCAPclient: Retrieving directory failed with
> error-code 408 and message:
>
>
> I am not able to get a clear ngrep capture but I can tell you for a fact
> that on the client side I am not sending a doubled up url of
> https://xcap.ae.comhttps://xcap.ae.com
>

Looks like the Snom uses SSL anyway.

> I believe the first line in the openxcap access.log verifies this.
>
> 7X.XX.XX.XX8 'GET
> https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX27X2XX0@irock.com/index
> HTTP/
> 1.1' 404 0 179 'Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)' -
> TRACEBACK (most recent call last):
>            File
> "/usr/lib/python2.5/site-packages/twisted/web2/channel/http.py", line 412,
> in processRequest
>              self.request.process()
>            File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",
> line 299, in process
>              d.callback(None)
>            File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
> line 280, in callback
>              self._startRunCallbacks(result)
>            File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
> line 354, in _startRunCallbacks
>              self._runCallbacks()
>          ---<exception caught here>  ---
>            File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
> line 371, in _runCallbacks
>              self.result = callback(self.result, *args, **kw)
>            File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",
> line 296, in<lambda>
>              d.addCallback(lambda res, req: res.renderHTTP(req), self)
>            File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line
> 335, in renderHTTP
>              d = self.authenticate(request)
>            File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line
> 225, in authenticate
>              xcap_uri = parseNodeURI(uri, AuthenticationConfig.default_realm)
>            File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line
> 94, in parseNodeURI
>              raise ResourceNotFound("XCAP root not found for URI: %s" %
> node_uri)
>          xcap.errors.ResourceNotFound: XCAP root not found for URI:
> https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX27X2XX0@irock.com/index
>
>
> I am running the OpenXCAP 1.2.0
>

Can you do a quick test? Paste the URL on your browser and check the 
logs. I tested a similar URL myself and couldn't get that traceback.


-- 
Saúl Ibarra Corretgé
AG Projects



More information about the Users mailing list