[OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1

CheeWii quanwei87 at gmail.com
Sat Jul 10 04:53:55 CEST 2010


Hi Adrian,

    What you said is really the existing problem. Because without
http_proxy, I cannot connect to W3C.org.

    This morning,I move my PC to another place, where it can connet to w3c
directly ,need not any http_proxy. Then SIPSIMPLEClient and OpenXCAP
interoperate successfully!

    Thank you all~  :)

CheeWii


2010/7/7 Adrian Georgescu <ag at ag-projects.com>

> The http client needs to fetch the schema to check the document against
> from w3c. Maybe this fails though is not obvious.
>
> Adrian
>
>
>   On Jul 7, 2010, at 10:36 AM, CheeWii wrote:
>
>   Hi Saúl,
>
>     Thanks for your reply ,but I'm  afraid that http_proxy is not the root
> of this problem.
>
>     Because I have do the same test:
>
>     root at shenhua-ims:~# unset http_proxy
>     root at shenhua-ims:~# unset HTTP_PROXY
>     root at shenhua-ims:~# echo $http_proxy
>
>     root at shenhua-ims:~# echo $HTTP_PROXY
>
>     root at shenhua-ims:~#
>
>     root at shenhua-ims:~# xcap-icon
> Traceback (most recent call last):
>   File "/usr/local/bin/xcap-icon", line 25, in <module>
>     from sipsimple.payloads.icon import Icon, Data
>   File "/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py", line 41,
> in <module>
>     class Icon(XMLRootElement):
>   File "/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py", line
> 418, in __init__
>     cls._xml_schema =
> etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,
> cls._xml_schema_file), 'r')))
>   File "xmlschema.pxi", line 85, in lxml.etree.XMLSchema.__init__
> (src/lxml/lxml.etree.c:101873)
> lxml.etree.XMLSchemaParseError: Operation in progress
> root at shenhua-ims:~#
>
> So, I think whether it is related to my XCAP-ROOT, because xcap-icon cannot
> connect to my xcap server. And I don't know how a http_proxy can impact
> xcap-icon function.
>
>
> This is my sipsimpleclient configuration, you can use it to have a test.
>
> Accounts:
>     10000 at 202.204.22.248:
>         enabled = true
>         auth:
>             password = 10000
>         xcap:
>             xcap_root = "http://202.204.22.248/xcap-root"
>
>
> CheeWii
>
>
>
> 2010/7/7 Saúl Ibarra Corretgé <saul at ag-projects.com>
>
>> Hi,
>>
>
>
>> This is it. I just replicated your setup environment (with an HTTP
>> proxy) and get the error:
>>
>> saghul at ubuntu:~$ xcap-icon
>> Traceback (most recent call last):
>>   File "/usr/bin/xcap-icon", line 25, in <module>
>>     from sipsimple.payloads.icon import Icon, Data
>>   File "/usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py", line
>> 41, in <module>
>>     class Icon(XMLRootElement):
>>   File "/usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py",
>> line 418, in __init__
>>     cls._xml_schema =
>> etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir,
>> cls._xml_schema_file), 'r')))
>>   File "xmlschema.pxi", line 85, in lxml.etree.XMLSchema.__init__
>> (src/lxml/lxml.etree.c:101873)
>> lxml.etree.XMLSchemaParseError: failed to load HTTP resource
>> saghul at ubuntu:~$ unset HTTP_PROXY
>> saghul at ubuntu:~$
>> saghul at ubuntu:~$
>> saghul at ubuntu:~$
>> saghul at ubuntu:~$ xcap-icon
>> You need to specify the opperation: GET, PUT or DELETE
>> saghul at ubuntu:~$
>>
>>  _______________________________________________
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100710/a3343b4a/attachment.htm 


More information about the Users mailing list