View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000213 | easycwmp | Help | public | 2017-04-12 16:52 | 2017-04-12 16:52 |
Reporter | mayuri2017 | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Ubuntu | OS | 14.04 | ||
Summary | 0000213: rpc_inform(229): parse Inform xml message from ACS failed | ||||
Description | Hi We are trying to use easycwmp client (1.5.2) and freeacs server, but facing this issue while trying to communicate. After doing all installation, running below steps: /usr/sbin/ubusd -s /var/run/ubus.sock #Finally run easycwmpd as root: /usr/sbin/easycwmpd -f -b | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
error_log.txt (8,499 bytes)
root@oc:/home/oc# /usr/sbin/easycwmpd -f -b 2017-04-11 15:21:48 [easycwmp] NOTICE - add event '0 BOOTSTRAP' 2017-04-11 15:21:48 [easycwmp] NOTICE - add event '1 BOOT' 2017-04-11 15:21:48 [easycwmp] NOTICE - add event '2 PERIODIC' 2017-04-11 15:21:48 [easycwmp] NOTICE - external script init config_init_local(55):: easycwmp.@local[0].interface=eth0 config_init_local(65):: easycwmp.@local[0].port=7547 config_init_local(83):: easycwmp.@local[0].ubus_socket=/var/run/ubus.sock config_init_local(71):: easycwmp.@local[0].username=oc config_init_local(77):: easycwmp.@local[0].password=123 config_init_local(94):: easycwmp.@local[0].logging_level=3 config_init_acs(159):: easycwmp.@acs[0].url=http://127.0.0.1:8080/web/login config_init_acs(165):: easycwmp.@acs[0].username=admin config_init_acs(171):: easycwmp.@acs[0].password=xaps config_init_acs(177):: easycwmp.@acs[0].periodic_enable=1 config_init_acs(183):: easycwmp.@acs[0].periodic_interval=100 config_init_acs(190):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z 2017-04-11 15:21:48 [easycwmp] NOTICE - init periodic inform: reference time = -62135618008, interval = 100 2017-04-11 15:21:48 [easycwmp] NOTICE - external: execute update_value_change 2017-04-11 15:21:48 [easycwmp] NOTICE - daemon started 2017-04-11 15:21:48 [easycwmp] NOTICE - external: execute inform device_id 2017-04-11 15:21:48 [easycwmp] NOTICE - external script exit 2017-04-11 15:21:48 [easycwmp] NOTICE - add event '1 BOOT' +++ HTTP SERVER CONFIGURATION +++ NOT BOUND TO IP port: '7547' --- HTTP SERVER CONFIGURATION --- 2017-04-11 15:21:48 [easycwmp] NOTICE - http server initialized 2017-04-11 15:21:48 [easycwmp] NOTICE - entering main loop 2017-04-11 15:21:48 [easycwmp] NOTICE - start session +++ HTTP CLIENT CONFIGURATION +++ http_client_init(50):: url: http://127.0.0.1:8080/web/login http_client_init(56):: ssl_verify: SSL certificate validation disabled. --- HTTP CLIENT CONFIGURATION --- 2017-04-11 15:21:48 [easycwmp] NOTICE - configured acs url http://127.0.0.1:8080/web/login 2017-04-11 15:21:48 [easycwmp] NOTICE - external script init 2017-04-11 15:21:48 [easycwmp] NOTICE - external: execute inform parameter 2017-04-11 15:21:48 [easycwmp] NOTICE - send Inform +++ SEND HTTP REQUEST +++ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap_env:Envelope xmlns:soap_env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap_enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-2"> <soap_env:Header> <cwmp:ID soap_env:mustUnderstand="1">1</cwmp:ID> </soap_env:Header> <soap_env:Body> <cwmp:Inform> <DeviceId> <Manufacturer>easycwmp</Manufacturer> <OUI>FFFFFF</OUI> <ProductClass>easycwmp</ProductClass> <SerialNumber>FFFFFF123456</SerialNumber> </DeviceId> <Event soap_enc:arrayType="cwmp:EventStruct[3]"> <EventStruct> <EventCode>0 BOOTSTRAP</EventCode> <CommandKey /> </EventStruct> <EventStruct> <EventCode>1 BOOT</EventCode> <CommandKey /> </EventStruct> <EventStruct> <EventCode>2 PERIODIC</EventCode> <CommandKey /> </EventStruct> </Event> <MaxEnvelopes>1</MaxEnvelopes> <CurrentTime>2017-04-11T15:21:48+05:00</CurrentTime> <RetryCount>0</RetryCount> <ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[10]"> <ParameterValueStruct> <Name>Device.DeviceInfo.HardwareVersion</Name> <Value xsi:type="xsd:string">example_hw_version</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.Manufacturer</Name> <Value xsi:type="xsd:string">easycwmp</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.ManufacturerOUI</Name> <Value xsi:type="xsd:string">FFFFFF</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.ProductClass</Name> <Value xsi:type="xsd:string">easycwmp</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.ProvisioningCode</Name> <Value xsi:type="xsd:string"></Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.SerialNumber</Name> <Value xsi:type="xsd:string">FFFFFF123456</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.SoftwareVersion</Name> <Value xsi:type="xsd:string">example_sw_version</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.DeviceInfo.SpecVersion</Name> <Value xsi:type="xsd:string">1.0</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.ManagementServer.ConnectionRequestURL</Name> <Value xsi:type="xsd:string"></Value> </ParameterValueStruct> <ParameterValueStruct> <Name>Device.ManagementServer.ParameterKey</Name> <Value xsi:type="xsd:string"></Value> </ParameterValueStruct> </ParameterList> </cwmp:Inform> </soap_env:Body> </soap_env:Envelope> --- SEND HTTP REQUEST --- * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0) > POST /web/login HTTP/1.1 Host: 127.0.0.1:8080 User-Agent: easycwmp Content-Type: text/xml; charset="utf-8" SOAPAction: Content-Length: 2899 Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 200 OK * Server Apache-Coyote/1.1 is not blacklisted < Server: Apache-Coyote/1.1 * Added cookie JSESSIONID="CA334927FD2BE987602CAEA04B745199" for domain 127.0.0.1, path /web/, expire 0 < Set-Cookie: JSESSIONID=CA334927FD2BE987602CAEA04B745199; Path=/web/; HttpOnly < Content-Type: text/html;charset=utf-8 < Transfer-Encoding: chunked < Date: Tue, 11 Apr 2017 09:51:49 GMT < * Connection #0 to host 127.0.0.1 left intact +++ RECEIVED HTTP RESPONSE +++ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>FreeACS Web Web | login</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <link rel="icon" type="image/png" href="images/fusion.ico"> <link rel="stylesheet" type="text/css" href="css/xapsweb.css" /> <link rel="stylesheet" type="text/css" href="css/context.css" /> <link rel="stylesheet" type="text/css" href="css/colors/default.css" /> <link rel="stylesheet" href="css/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> <script src="javascript/jquery-1.4.4.js"></script> <script src="javascript/jquery.sha1.js"></script> <script> jQuery(document).ready(function($){ $("input[type='text']:first", document.form1).focus(); $("#loginForm").submit(function(){ $loginPassword = $("input[name='password']:first"); if($loginPassword.val()!=""){ $loginPassword.val($.sha1($loginPassword.val())); return true; } return false; }); }); </script> </head> <body> <center> <div class="center_box" id="bodylogon"> <form action="/web/login" id="loginForm" method="post" class="unit"> <fieldset id="logondiv"> <legend>FreeACS</legend> <table> <tr> <td align="right"> User: </td> <td> <input name="username" type="text" maxlength="50" style="width:120px;" /> </td> </tr> <tr> <td align="right"> Password: </td> <td> <input name="password" type="password" maxlength="50" style="width:120px;" /> </td> </tr> <tr> <td align="right" colspan="2"> <input name="login" type="submit" value="Login" /> </td> </tr> </table> </fieldset> <font color="red"><b></b></font> </form> </div> </center> </body> </html> --- RECEIVED HTTP RESPONSE --- mxml: Mismatched close tag </head> under parent <link>! rpc_inform(229): parse Inform xml message from ACS failed 2017-04-11 15:21:49 [easycwmp] NOTICE - sending Inform failed 2017-04-11 15:21:49 [easycwmp] NOTICE - external: execute apply service 2017-04-11 15:21:49 [easycwmp] NOTICE - external script exit 2017-04-11 15:21:49 [easycwmp] NOTICE - end session failed 2017-04-11 15:21:49 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1 ^C2017-04-11 15:21:51 [easycwmp] NOTICE - exiting root@oc:/home/oc# |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-12 16:52 | mayuri2017 | New Issue | |
2017-04-12 16:52 | mayuri2017 | File Added: error_log.txt |