View Issue Details

IDProjectCategoryView StatusLast Update
0000161easycwmpHelppublic2017-01-27 16:22
Reporterdanlee Assigned Tomohamed.kallel  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformWindows PCOSUbuntuOS Version16.04.1 LTS
Summary0000161: Creating Inform xml message is failed.
DescriptionHello,

I have installed latest version (1.3.4) of EasyCWMP to my Ubuntu server and when I run easycwmp daemon as a root, creating an Inform XML message is failed as you see below. I have not changed any easycwmp default config (/opt/dev/easycwmp/ext/openwrt/config) that defines ACS server.
Do you have any idea why creating an Inform XML message is failed and where do I need to look at the code to debug and troubleshoot the issue? Please let me know. Thanks.

dlee@ubuntu:/opt/dev/easycwmp$ sudo /usr/sbin/easycwmpd -f -b
2016-08-19 08:00:46 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2016-08-19 08:00:46 [easycwmp] NOTICE - add event '1 BOOT'
2016-08-19 08:00:46 [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=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://192.168.1.110:8080/openacs/acs
config_init_acs(165):: easycwmp.@acs[0].username=easycwmp
config_init_acs(171):: easycwmp.@acs[0].password=easycwmp
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
2016-08-19 08:00:46 [easycwmp] NOTICE - init periodic inform: reference time = -62135568422, interval = 100
2016-08-19 08:00:46 [easycwmp] NOTICE - external: execute update_value_change
2016-08-19 08:00:46 [easycwmp] NOTICE - daemon started
2016-08-19 08:00:46 [easycwmp] NOTICE - external: execute inform device_id
2016-08-19 08:00:46 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2016-08-19 08:00:46 [easycwmp] CRITICAL - error occured when trying to write to the pipe
cwmp_init_deviceid(642): in device you must define product_class
2016-08-19 08:00:46 [easycwmp] NOTICE - external script exit
2016-08-19 08:00:46 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2016-08-19 08:00:46 [easycwmp] NOTICE - add event '1 BOOT'
+++ HTTP SERVER CONFIGURATION +++
NOT BOUND TO IP
port: '7547'
--- HTTP SERVER CONFIGURATION ---
2016-08-19 08:00:46 [easycwmp] NOTICE - http server initialized
2016-08-19 08:00:46 [easycwmp] NOTICE - entering main loop
2016-08-19 08:00:46 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: http://192.168.1.110:8080/openacs/acs
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2016-08-19 08:00:46 [easycwmp] NOTICE - configured acs url http://192.168.1.110:8080/openacs/acs
2016-08-19 08:00:46 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
2016-08-19 08:00:47 [easycwmp] NOTICE - sending Inform failed
2016-08-19 08:00:47 [easycwmp] NOTICE - external: execute apply service
2016-08-19 08:00:47 [easycwmp] NOTICE - external script exit
2016-08-19 08:00:47 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2016-08-19 08:00:47 [easycwmp] NOTICE - end session failed
2016-08-19 08:00:47 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1
2016-08-19 08:00:54 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: http://192.168.1.110:8080/openacs/acs
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2016-08-19 08:00:54 [easycwmp] NOTICE - configured acs url http://192.168.1.110:8080/openacs/acs
2016-08-19 08:00:54 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
2016-08-19 08:00:54 [easycwmp] NOTICE - sending Inform failed
2016-08-19 08:00:54 [easycwmp] NOTICE - external: execute apply service
2016-08-19 08:00:54 [easycwmp] NOTICE - external script exit
2016-08-19 08:00:54 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2016-08-19 08:00:54 [easycwmp] NOTICE - end session failed
2016-08-19 08:00:54 [easycwmp] NOTICE - retry session in 15 sec, RetryCount = 2
2016-08-19 08:01:09 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: http://192.168.1.110:8080/openacs/acs
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2016-08-19 08:01:09 [easycwmp] NOTICE - configured acs url http://192.168.1.110:8080/openacs/acs
2016-08-19 08:01:09 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
Steps To ReproduceRun easycwmpd as root
TagsNo tags attached.
e-mail notification

Activities

danlee

2016-08-19 17:28

reporter   ~0000531

I will check details of xml_prepare_inform_message() in xml.c

danlee

2016-08-19 18:24

reporter   ~0000532

I think that the root cause of failure to create an Inform XML message is due to the following error.

2016-08-19 08:00:46 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2016-08-19 08:00:46 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2016-08-19 08:00:46 [easycwmp] CRITICAL - error occured when trying to write to the pipe

mohamed.kallel

2016-08-19 18:36

administrator   ~0000533

what is the output of the following command?

sudo easycwmp get value

and what is the output of the command?

ls -l /usr/share/easycwmp/functions/

danlee

2016-08-19 19:54

reporter   ~0000534

Hello,

Following is the output of the command that you requested:

dlee@ubuntu:~$ sudo bash easycwmp get value
{ "parameter": "InternetGatewayDevice.DeviceInfo.SpecVersion", "value": "1.0" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.ProvisioningCode", "value": "" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.Manufacturer", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.ManufacturerOUI", "value": "FFFFFF" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.ProductClass", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.SerialNumber", "value": "FFFFFF123456" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.HardwareVersion", "value": "example_hw_version" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.SoftwareVersion", "value": "example_sw_version" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.UpTime", "value": "173", "type": "xsd:unsignedInt" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.DeviceLog", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.URL", "value": "http:\/\/192.168.1.110:8080\/openacs\/acs" }
{ "parameter": "InternetGatewayDevice.ManagementServer.Username", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.ManagementServer.Password", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.PeriodicInformEnable", "value": "1", "type": "xsd:boolean" }
{ "parameter": "InternetGatewayDevice.ManagementServer.PeriodicInformInterval", "value": "100", "type": "xsd:unsignedInt" }
{ "parameter": "InternetGatewayDevice.ManagementServer.PeriodicInformTime", "value": "2016-08-18T00:00:00Z", "type": "xsd:dateTime" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ConnectionRequestURL", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ConnectionRequestUsername", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ConnectionRequestPassword", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ParameterKey", "value": "" }

dlee@ubuntu:~$ ls -l /usr/share/easycwmp/functions/
total 4
lrwxrwxrwx 1 root root 54 Aug 16 16:20 common -> /opt/dev/easycwmp/ext/openwrt/scripts/functions/common
lrwxrwxrwx 1 root root 59 Aug 16 16:21 device_info -> /opt/dev/easycwmp/ext/openwrt/scripts/functions/device_info
lrwxrwxrwx 1 root root 58 Aug 16 16:21 lan_device -> /opt/dev/easycwmp/ext/openwrt/scripts/functions/lan_device
lrwxrwxrwx 1 root root 65 Aug 16 16:21 management_server -> /opt/dev/easycwmp/ext/openwrt/scripts/functions/management_server

mohamed.kallel

2016-08-20 12:09

administrator   ~0000535

Could you please execute the 1st command without bash. Just

sudo easycwmp get value

Do not add bash as you did.

Most probably your /bin/sh is not linking to the bash.
Check with:
ls -l /bin/sh

You should got something like that:

lrwxrwxrwx 1 root root 4 Dec 25 2014 /bin/sh -> bash

if not, please change your /bin/sh to bash

danlee

2016-08-23 19:30

reporter   ~0000536

After making /bin/sh to link to bash, I have re-run easycwmp daemon and it seems the error message of "error occured when trying to write to the pipe" is gone, but it looks like nothing happens. Any thoughts or ideas?
  

dlee@ubuntu:~$ ls -al /bin/sh
lrwxrwxrwx 1 root root 9 Aug 22 06:59 /bin/sh -> /bin/bash

dlee@ubuntu:/opt/dev/easycwmp/ext/openwrt/config$ sudo /usr/sbin/easycwmpd -f -b
2016-08-23 10:23:27 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2016-08-23 10:23:27 [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=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://192.168.1.110:8080/openacs/acs
config_init_acs(165):: easycwmp.@acs[0].username=easycwmp
config_init_acs(171):: easycwmp.@acs[0].password=easycwmp
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
2016-08-23 10:23:28 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2016-08-23 10:23:28 [easycwmp] NOTICE - init periodic inform: reference time = -62135568422, interval = 100
2016-08-23 10:23:28 [easycwmp] NOTICE - external: execute update_value_change
2016-08-23 10:23:28 [easycwmp] NOTICE - daemon started
2016-08-23 10:23:28 [easycwmp] NOTICE - external: execute inform device_id
cwmp_init_deviceid(642): in device you must define product_class
2016-08-23 10:23:28 [easycwmp] NOTICE - external script exit

mohamed.kallel

2016-08-24 10:19

administrator   ~0000537

Try to execute the following command:

$ sudo easycwmp --json-input

You should get the prompt "easycwmp>"

And then under the easycwmp prompt, execute the following json command:

{"command": "inform", "class": "device_id"}

What is your output?

danlee

2016-08-24 17:04

reporter   ~0000538

The command "sudo easycwmp get value" shows parameter values, but the json command under the easycwmp prompt shows nothing. Where should I look at as a next step?


dlee@ubuntu:~$ sudo easycwmp get value
{ "parameter": "InternetGatewayDevice.DeviceInfo.SpecVersion", "value": "1.0" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.ProvisioningCode", "value": "" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.Manufacturer", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.ManufacturerOUI", "value": "FFFFFF" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.ProductClass", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.SerialNumber", "value": "FFFFFF123456" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.HardwareVersion", "value": "example_hw_version" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.SoftwareVersion", "value": "example_sw_version" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.UpTime", "value": "611", "type": "xsd:unsignedInt" }
{ "parameter": "InternetGatewayDevice.DeviceInfo.DeviceLog", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.URL", "value": "http:\/\/192.168.1.110:8080\/openacs\/acs" }
{ "parameter": "InternetGatewayDevice.ManagementServer.Username", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.ManagementServer.Password", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.PeriodicInformEnable", "value": "1", "type": "xsd:boolean" }
{ "parameter": "InternetGatewayDevice.ManagementServer.PeriodicInformInterval", "value": "100", "type": "xsd:unsignedInt" }
{ "parameter": "InternetGatewayDevice.ManagementServer.PeriodicInformTime", "value": "0001-01-01T00:00:00Z", "type": "xsd:dateTime" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ConnectionRequestURL", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ConnectionRequestUsername", "value": "easycwmp" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ConnectionRequestPassword", "value": "" }
{ "parameter": "InternetGatewayDevice.ManagementServer.ParameterKey", "value": "" }
dlee@ubuntu:~$ sudo easycwmp --json-input
easycwmp>
{"command": "inform", "class": "device_id"}
easycwmp>

danlee

2016-08-24 17:26

reporter   ~0000539

Following is building and running test program for json-c.

dlee@ubuntu:/opt/git/json-c$ sudo make check
Making check in .
make[1]: Entering directory '/opt/git/json-c'
make[1]: Leaving directory '/opt/git/json-c'
Making check in tests
make[1]: Entering directory '/opt/git/json-c/tests'
make test_util_file test1 test2 test4 testReplaceExisting test_parse_int64 test_null test_cast test_double_serializer test_parse test_locale test_charcase test_printbuf test_set_serializer test_compare test1Formatted test2Formatted
make[2]: Entering directory '/opt/git/json-c/tests'
  CC test_util_file.o
  CC strerror_override.o
  CCLD test_util_file
  CC test1.o
  CCLD test1
  CC test2.o
  CCLD test2
  CC test4.o
  CCLD test4
  CC testReplaceExisting.o
  CCLD testReplaceExisting
  CC test_parse_int64.o
  CCLD test_parse_int64
  CC test_null.o
  CCLD test_null
  CC test_cast.o
  CCLD test_cast
  CC test_double_serializer.o
  CCLD test_double_serializer
  CC test_parse.o
  CCLD test_parse
  CC test_locale.o
  CCLD test_locale
  CC test_charcase.o
  CCLD test_charcase
  CC test_printbuf.o
  CCLD test_printbuf
  CC test_set_serializer.o
  CCLD test_set_serializer
  CC test_compare.o
  CCLD test_compare
  CC test1Formatted-test1.o
  CC test1Formatted-parse_flags.o
  CCLD test1Formatted
  CC test2Formatted-test2.o
  CC test2Formatted-parse_flags.o
  CCLD test2Formatted
make[2]: Leaving directory '/opt/git/json-c/tests'
make check-TESTS
make[2]: Entering directory '/opt/git/json-c/tests'
make[3]: Entering directory '/opt/git/json-c/tests'
PASS: test_util_file.test
PASS: test1.test
PASS: test2.test
PASS: test4.test
PASS: testReplaceExisting.test
PASS: test_parse_int64.test
PASS: test_null.test
PASS: test_cast.test
PASS: test_double_serializer.test
PASS: test_parse.test
PASS: test_locale.test
PASS: test_charcase.test
PASS: test_printbuf.test
PASS: test_set_serializer.test
PASS: test_compare.test
============================================================================
Testsuite summary for json-c 0.12.99
============================================================================
# TOTAL: 15
# PASS: 15
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/opt/git/json-c/tests'
make[2]: Leaving directory '/opt/git/json-c/tests'
make[1]: Leaving directory '/opt/git/json-c/tests'

mohamed.kallel

2016-08-24 17:36

administrator   ~0000540

Output of

$ sudo easycwmp inform device_id

?

mohamed.kallel

2016-08-24 17:37

administrator   ~0000541

Try also to execute the following command:

$ sudo easycwmp --json-input


And then under the easycwmp prompt, execute the following json command:

{"command": "get", "class": "value"}

What is your output?

danlee

2016-08-24 18:23

reporter   ~0000542

When you compile libubox, it is necessary to add "#include <json/bits.h>" to the file of jshn.c and blobmsg_json.c. Otherwise, there is a compilation error because it doesn't recognize the is_error() function.

dlee@ubuntu:/opt/git/libubox$ sudo make
Scanning dependencies of target jshn
[ 2%] Building C object CMakeFiles/jshn.dir/jshn.c.o
/opt/git/libubox/jshn.c: In function ‘jshn_parse’:
/opt/git/libubox/jshn.c:162:6: error: implicit declaration of function ‘is_error’ [-Werror=implicit-function-declaration]
  if (is_error(obj) || json_object_get_type(obj) != json_type_object) {
      ^
cc1: all warnings being treated as errors
CMakeFiles/jshn.dir/build.make:62: recipe for target 'CMakeFiles/jshn.dir/jshn.c.o' failed
make[2]: *** [CMakeFiles/jshn.dir/jshn.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jshn.dir/all' failed
make[1]: *** [CMakeFiles/jshn.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


/opt/git/libubox/blobmsg_json.c: In function ‘__blobmsg_add_json’:
/opt/git/libubox/blobmsg_json.c:78:6: error: implicit declaration of function ‘is_error’ [-Werror=implicit-function-declaration]
  if (is_error(obj))
      ^
cc1: all warnings being treated as errors
CMakeFiles/blobmsg_json.dir/build.make:62: recipe for target 'CMakeFiles/blobmsg_json.dir/blobmsg_json.c.o' failed
make[2]: *** [CMakeFiles/blobmsg_json.dir/blobmsg_json.c.o] Error 1
CMakeFiles/Makefile2:178: recipe for target 'CMakeFiles/blobmsg_json.dir/all' failed
make[1]: *** [CMakeFiles/blobmsg_json.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

mohamed.kallel

2016-08-24 18:27

administrator   ~0000543

Or use json-c-0.11 version will sove the problem

danlee

2016-08-24 18:33

reporter   ~0000544

I have re-installed all the dependent modules and easycwmp. After that, I can verify that the json command for querying device_id works okay. Also, the easycwmp client daemon is trying to send an Inform XML message to the ACS server. As a next step, I will modify the default ACS server and test how easycwmp interacts with the real ACS server. You can close this issue. Thanks.
   

dlee@ubuntu:/opt/dev/easycwmp$ sudo easycwmp --json-input
easycwmp>
{"command": "inform", "class": "device_id"}
{ "manufacturer": "easycwmp", "oui": "FFFFFF", "product_class": "easycwmp", "serial_number": "FFFFFF123456" }


dlee@ubuntu:/opt/dev/easycwmp$ sudo /usr/sbin/easycwmpd -f -b
2016-08-24 09:19:22 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2016-08-24 09:19:22 [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=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://192.168.1.110:8080/openacs/acs
config_init_acs(165):: easycwmp.@acs[0].username=easycwmp
config_init_acs(171):: easycwmp.@acs[0].password=easycwmp
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
2016-08-24 09:19:22 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2016-08-24 09:19:22 [easycwmp] NOTICE - init periodic inform: reference time = -62135568422, interval = 100
2016-08-24 09:19:22 [easycwmp] NOTICE - external: execute update_value_change
2016-08-24 09:19:23 [easycwmp] NOTICE - daemon started
2016-08-24 09:19:23 [easycwmp] NOTICE - external: execute inform device_id
2016-08-24 09:19:23 [easycwmp] NOTICE - external script exit
2016-08-24 09:19:23 [easycwmp] NOTICE - add event '1 BOOT'
+++ HTTP SERVER CONFIGURATION +++
NOT BOUND TO IP
port: '7547'
--- HTTP SERVER CONFIGURATION ---
2016-08-24 09:19:23 [easycwmp] NOTICE - http server initialized
2016-08-24 09:19:23 [easycwmp] NOTICE - entering main loop
2016-08-24 09:19:23 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: http://192.168.1.110:8080/openacs/acs
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2016-08-24 09:19:23 [easycwmp] NOTICE - configured acs url http://192.168.1.110:8080/openacs/acs
2016-08-24 09:19:23 [easycwmp] NOTICE - external script init
2016-08-24 09:19:23 [easycwmp] NOTICE - external: execute inform parameter
2016-08-24 09:19:23 [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[2]">
     <EventStruct>
      <EventCode>0 BOOTSTRAP</EventCode>
      <CommandKey />
     </EventStruct>
     <EventStruct>
      <EventCode>1 BOOT</EventCode>
      <CommandKey />
     </EventStruct>
    </Event>
    <MaxEnvelopes>1</MaxEnvelopes>
    <CurrentTime>2016-08-24T09:19:23-07:00</CurrentTime>
    <RetryCount>0</RetryCount>
    <ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[10]">
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
      <Value xsi:type="xsd:string">example_hw_version</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.Manufacturer</Name>
      <Value xsi:type="xsd:string">easycwmp</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</Name>
      <Value xsi:type="xsd:string">FFFFFF</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.ProductClass</Name>
      <Value xsi:type="xsd:string">easycwmp</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.SerialNumber</Name>
      <Value xsi:type="xsd:string">FFFFFF123456</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
      <Value xsi:type="xsd:string">example_sw_version</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
      <Value xsi:type="xsd:string">1.0</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
    </ParameterList>
   </cwmp:Inform>
  </soap_env:Body>
 </soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Trying 192.168.1.110...
* connect to 192.168.1.110 port 8080 failed: No route to host
* Failed to connect to 192.168.1.110 port 8080: No route to host
* Closing connection 0

Issue History

Date Modified Username Field Change
2016-08-19 17:12 danlee New Issue
2016-08-19 17:28 danlee Note Added: 0000531
2016-08-19 18:24 danlee Note Added: 0000532
2016-08-19 18:36 mohamed.kallel Note Added: 0000533
2016-08-19 19:54 danlee Note Added: 0000534
2016-08-20 12:09 mohamed.kallel Note Added: 0000535
2016-08-23 19:30 danlee Note Added: 0000536
2016-08-24 10:19 mohamed.kallel Note Added: 0000537
2016-08-24 17:04 danlee Note Added: 0000538
2016-08-24 17:26 danlee Note Added: 0000539
2016-08-24 17:36 mohamed.kallel Note Added: 0000540
2016-08-24 17:37 mohamed.kallel Note Added: 0000541
2016-08-24 18:23 danlee Note Added: 0000542
2016-08-24 18:27 mohamed.kallel Note Added: 0000543
2016-08-24 18:33 danlee Note Added: 0000544
2017-01-27 16:22 mohamed.kallel Status new => resolved
2017-01-27 16:22 mohamed.kallel Resolution open => no change required
2017-01-27 16:22 mohamed.kallel Assigned To => mohamed.kallel