View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000080 | easycwmp | Help | public | 2015-09-01 15:44 | 2015-09-29 17:51 |
Reporter | Indu | Assigned To | mohamed.kallel | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Summary | 0000080: Easycwmp is unable to send inform message to the freeACS server | ||||
Description | We are using FreeACS as ACS server (ubuntu) and easycwmp as TR-069 client on centos. Started ubus via command: /usr/sbin/ubusd -s /tmp/ubus.sock Ran easycwmp using command: /usr/sbin/easycwmpd -f -b The client is connected to the server but not sending inform message. The connection is closed with the error message: mxml: Mismatched close tag </head> under parent <link>! rpc_inform(230): parse Inform xml message from ACS failed * Closing connection #0 Please let us know if we have missed anything in the configuration. [root@localhost easycwmp]# vi /etc/config/easycwmp # easycwmp uci configuration config local option interface eth0 option port 7547 option ubus_socket /var/run/ubus.sock option date_format %FT%T%z option username easycwmp option password easycwmp option provisioning_code '' #Logging levels: Critic=0, Warning=1, Notice=2, Info=3, Debug=4 option logging_level '3' config acs # option url http://192.168.1.110:8080/openacs/acs option url http://10.19.147.11/web/login option username "admin" option password "xaps" # option parameter_key '' option periodic_enable 'true' option periodic_interval '180' option periodic_time '0001-01-01T00:00:00Z' config device option manufacturer easycwmp option oui jwnr2000 option product_class easycwmp option serial_number FFFFFF123456 option hardware_version example_hw_version option software_version example_sw_version option username easycwmp option password easycwmp ~ Logs: [root@localhost log]# /usr/sbin/easycwmpd -f -g 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=easycwmp config_init_local(77):: easycwmp.@local[0].password=easycwmp config_init_local(94):: easycwmp.@local[0].logging_level=3 config_init_acs(159):: easycwmp.@acs[0].url=http://10.19.147.11:80/login config_init_acs(165):: easycwmp.@acs[0].username=admin config_init_acs(177):: easycwmp.@acs[0].periodic_enable=1 config_init_acs(183):: easycwmp.@acs[0].periodic_interval=100 config_init_acs(189):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z main(287): ubus initialization failed +++ HTTP SERVER CONFIGURATION +++ NOT BOUND TO IP port: '7547' --- HTTP SERVER CONFIGURATION --- +++ HTTP CLIENT CONFIGURATION +++ http_client_init(43):: url: http://10.19.147.11:80/login http_client_init(49):: ssl_verify: SSL certificate validation disabled. --- HTTP CLIENT CONFIGURATION --- * About to connect() to 10.19.147.11 port 80 (#0) * Trying 10.19.147.11... * connected * Connected to 10.19.147.11 (10.19.147.11) port 80 (#0) > POST /login HTTP/1.1 Host: 10.19.147.11 User-Agent: easycwmp Content-Type: text/html; charset=utf-8 Content-Length: 3190 Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 200 OK < Server: Apache-Coyote/1.1 * Added cookie JSESSIONID="3BE6A8AC3168EEAEDCC24637E5720D7D" for domain 10.19.147.11, path /, expire 0 < Set-Cookie: JSESSIONID=3BE6A8AC3168EEAEDCC24637E5720D7D; Path=/; HttpOnly < Content-Type: text/html;charset=utf-8 < Transfer-Encoding: chunked < Date: Mon, 31 Aug 2015 12:58:59 GMT < +++ RECEIVED HTTP RESPONSE (PART) +++ <!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 ac--- RECEIVED HTTP RESPONSE (PART) --- +++ RECEIVED HTTP RESPONSE (PART) +++ tion="/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"></font> </form> </div> </center> </body> </html> --- RECEIVED HTTP RESPONSE (PART) --- * Connection #0 to host 10.19.147.11 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"></font> </form> </div> </center> </body> </html> --- RECEIVED HTTP RESPONSE --- mxml: Mismatched close tag </head> under parent <link>! rpc_inform(230): parse Inform xml message from ACS failed * Closing connection #0 | ||||
Steps To Reproduce | 1) Run FreeAcs server. 2)Start ubus via command: /usr/sbin/ubusd -s /tmp/ubus.sock 3)Run easycwmp using command: /usr/sbin/easycwmpd -f -b | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
Your free acs does not return a valid inform response message. Please check if you have put a valid url in the easycwmp config |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-09-01 15:44 | Indu | New Issue | |
2015-09-21 22:21 | mohamed.kallel | Note Added: 0000276 | |
2015-09-29 17:51 | mohamed.kallel | Status | new => resolved |
2015-09-29 17:51 | mohamed.kallel | Resolution | open => no change required |
2015-09-29 17:51 | mohamed.kallel | Assigned To | => mohamed.kallel |