/ # easycwmpd -f -b
2019-11-29 10:15:47 [easycwmp] NOTICE - external script init
config_init_local(59):: easycwmp.@local[0].interface=eth0
config_init_local(69):: easycwmp.@local[0].port=7547
config_init_local(87):: easycwmp.@local[0].ubus_socket=/var/run/ubus.sock
config_init_local(75):: easycwmp.@local[0].username=easycwmp
config_init_local(81):: easycwmp.@local[0].password=easycwmp
config_init_local(98):: easycwmp.@local[0].logging_level=4
config_init_acs(174):: easycwmp.@acs[0].url=http://192.168.2.100:7547
config_init_acs(180):: easycwmp.@acs[0].username=easycwmp
config_init_acs(186):: easycwmp.@acs[0].password=easycwmp
config_init_acs(192):: easycwmp.@acs[0].periodic_enable=0
config_init_acs(198):: easycwmp.@acs[0].periodic_interval=100
config_init_acs(205):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z
2019-11-29 10:15:47 [easycwmp] NOTICE - external: execute update_value_change
2019-11-29 10:15:47 [easycwmp] NOTICE - daemon started
2019-11-29 10:15:47 [easycwmp] NOTICE - external: execute inform device_id
2019-11-29 10:15:47 [easycwmp] NOTICE - external script exit
2019-11-29 10:15:47 [easycwmp] NOTICE - add event '1 BOOT'
+++ HTTP SERVER CONFIGURATION +++
NOT BOUND TO IP
port: '7547'
--- HTTP SERVER CONFIGURATION ---
2019-11-29 10:15:47 [easycwmp] NOTICE - http server initialized
2019-11-29 10:15:47 [easycwmp] NOTICE - entering main loop
2019-11-29 10:15:47 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(51):: url: http://192.168.2.100:7547
http_client_init(57):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2019-11-29 10:15:47 [easycwmp] NOTICE - configured acs url http://192.168.2.100:7547
2019-11-29 10:15:47 [easycwmp] NOTICE - external script init
2019-11-29 10:15:47 [easycwmp] NOTICE - external: execute inform parameter
2019-11-29 10:15:47 [easycwmp] NOTICE - send Inform
+++ SEND HTTP REQUEST +++
1
myeasycwmp
FFFFFF
myeasycwmp
FFFFFF123456
1 BOOT
1
2019-11-29T10:15:47+08:00
0
Device.DeviceInfo.SpecVersion
1.0
Device.DeviceInfo.ProvisioningCode
Device.DeviceInfo.Manufacturer
myeasycwmp
Device.DeviceInfo.ManufacturerOUI
FFFFFF
Device.DeviceInfo.ProductClass
myeasycwmp
Device.DeviceInfo.SerialNumber
FFFFFF123456
Device.DeviceInfo.HardwareVersion
example_hw_version
Device.DeviceInfo.SoftwareVersion
example_sw_version
Device.ManagementServer.ConnectionRequestURL
Device.ManagementServer.ParameterKey
1
--- SEND HTTP REQUEST ---
* Rebuilt URL to: http://192.168.2.100:7547/
* Trying 192.168.2.100...
* Connected to 192.168.2.100 (192.168.2.100) port 7547 (#0)
> POST / HTTP/1.1
Host: 192.168.2.100:7547
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 2707
Expect: 100-continue
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Server: GenieACS/1.1.3
< SOAPServer: GenieACS/1.1.3
< Content-Type: text/xml; charset="utf-8"
< Set-Cookie: session=cc0eecdee564cbd7
< Content-Length: 522
< Date: Fri, 29 Nov 2019 02:15:48 GMT
< Connection: keep-alive
<
* Connection #0 to host 192.168.2.100 left intact
+++ RECEIVED HTTP RESPONSE +++
11
--- RECEIVED HTTP RESPONSE ---
2019-11-29 10:15:48 [easycwmp] NOTICE - receive InformResponse from the ACS
2019-11-29 10:15:48 [easycwmp] NOTICE - send empty message to the ACS
+++ SEND EMPTY HTTP REQUEST +++
* Found bundle for host 192.168.2.100: 0xd831df0
* Re-using existing connection! (#0) with host 192.168.2.100
* Connected to 192.168.2.100 (192.168.2.100) port 7547 (#0)
> POST / HTTP/1.1
Host: 192.168.2.100:7547
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
Content-Length: 0
* The requested URL returned error: 400 Bad Request
* Closing connection 0
2019-11-29 10:15:50 [easycwmp] NOTICE - LibCurl Error: The requested URL returned error: 400 Bad Request
2019-11-29 10:15:50 [easycwmp] NOTICE - sending http message failed
cwmp_handle_messages(352): sending http message failed
cwmp_inform(316): handling xml message failed
2019-11-29 10:15:50 [easycwmp] NOTICE - external: execute apply service
2019-11-29 10:15:50 [easycwmp] NOTICE - external script exit
2019-11-29 10:15:50 [easycwmp] NOTICE - end session failed
2019-11-29 10:15:50 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1
^C2019-11-29 10:15:56 [easycwmp] NOTICE - exiting
/ #