Defect #62

Getting 500 Internal Server Error while storing rls-services document

Added by Saúl Ibarra Corretgé over 5 years ago. Updated about 2 years ago.

Status:Closed Start date:
Priority:Low Due date:
Assignee:Saúl Ibarra Corretgé % Done:

0%

Category:XCAP server
Target version:-

Description

openxcap version 0.9.9

While trying to store(uri = "/xcap-root/rls-services/global/index") the following rls-service document

<?xml version="1.0" encoding="UTF-8"?>
 <rls-services xmlns="urn:ietf:params:xml:ns:rls-services" 
  xmlns:rl="urn:ietf:params:xml:ns:resource-lists" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <service uri="sip:s3-1@192.168.166.150">
     <resource-list>http://xcap-root@192.168.166.150/resource-lists/users/sip:s3-      1@192.168.166.150/resource-list.xml/~~/resource-lists/list[@name=%22default%22]
    </resource-list>
    <packages> <package>presence</package> </packages>  
  </service> 

  <service uri="sip:s3-1_lis1@192.168.166.150">
   <list name="s3-1">
    <entry uri="sip:c3-1@192.168.166.150"/>
   </list>
   <packages>
    <package>presence</package>
   </packages>
  </service>
 </rls-services>

Error ======
am getting following error

Exception rendering:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/web2/stream.py", line 407, in _read
    self._gotData(result)
  File "/usr/lib/python2.5/site-packages/twisted/web2/stream.py", line 418, in _gotData
    result.callback(None)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 178, in _finished_reading
    d = self.authenticate(request)
  File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 116, in authenticate
    request.xcap_uri = parseNodeURI(uri, AuthenticationConfig.default_realm)
  File "/usr/lib/python2.5/site-packages/xcap/uri.py", line 200, in parseNodeURI
    return XCAPUri(xcap_root, resource_selector, default_realm)
  File "/usr/lib/python2.5/site-packages/xcap/uri.py", line 180, in __init__
    if not self.user.domain:
exceptions.AttributeError: 'NoneType' object has no attribute 'domain'

Is there any anything I might be missing?

Regards,
Nathan

History

Updated by Redmine Admin over 5 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

A newer version, perhaps? 0.9.9 is ancient, please try 1.0.6 instead.

Also available in: Atom PDF