View Issue Details

IDProjectCategoryView StatusLast Update
0000439easycwmpBugpublic2022-03-24 02:36
Reporterwqtest Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0000439: openwrt [easycwmp] CRITICAL - error occured when trying to write to the pipe
Descriptionroot@OpenWrt:/# /home/bin/easycwmpd -f -b
2022-03-24 09:04:16 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2022-03-24 09:04:16 [easycwmp] NOTICE - add event '1 BOOT'
2022-03-24 09:04:16 [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.189:3333
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
2022-03-24 09:04:16 [easycwmp] NOTICE - init periodic inform: reference time = n/a, interval = 100
2022-03-24 09:04:16 [easycwmp] NOTICE - external: execute update_value_change
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] NOTICE - daemon started
2022-03-24 09:04:16 [easycwmp] NOTICE - external: execute inform device_id
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
cwmp_init_deviceid(642): in device you must define product_class
2022-03-24 09:04:16 [easycwmp] NOTICE - external script exit
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] NOTICE - add event '1 BOOT'
2022-03-24 09:04:16 [easycwmp] NOTICE - interface eth0 has ip 192.168.1.204
+++ HTTP SERVER CONFIGURATION +++
ip: '192.168.1.204'
port: '7547'
--- HTTP SERVER CONFIGURATION ---
2022-03-24 09:04:16 [easycwmp] NOTICE - http server initialized
2022-03-24 09:04:16 [easycwmp] NOTICE - entering main loop
2022-03-24 09:04:16 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: http://192.168.1.189:3333
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2022-03-24 09:04:16 [easycwmp] NOTICE - configured acs url http://192.168.1.189:3333
2022-03-24 09:04:16 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
2022-03-24 09:04:16 [easycwmp] NOTICE - sending Inform failed
2022-03-24 09:04:16 [easycwmp] NOTICE - external: execute apply service
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] NOTICE - external script exit
2022-03-24 09:04:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2022-03-24 09:04:16 [easycwmp] NOTICE - end session failed
2022-03-24 09:04:16 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1
^C2022-03-24 09:04:17 [easycwmp] NOTICE - exiting
Steps To Reproduceeasycwmp version: 1.5.2
root@OpenWrt:/# /home/bin/easycwmp.sh --json-input
easycwmp>
{"command": "inform", "class": "device_id"}
{ "manufacturer": "easycwmp", "oui": "FFFFFF", "product_class": "easycwmp", "serial_number": "FFFFFF123456" }


root@OpenWrt:/# /home/bin/easycwmp.sh get value
{ "parameter": ".DeviceInfo.SpecVersion", "value": "1.0" }
{ "parameter": ".DeviceInfo.ProvisioningCode", "value": "" }
{ "parameter": ".DeviceInfo.Manufacturer", "value": "easycwmp" }
{ "parameter": ".DeviceInfo.ManufacturerOUI", "value": "FFFFFF" }
{ "parameter": ".DeviceInfo.ProductClass", "value": "easycwmp" }
{ "parameter": ".DeviceInfo.SerialNumber", "value": "FFFFFF123456" }
{ "parameter": ".DeviceInfo.HardwareVersion", "value": "example_hw_version" }
{ "parameter": ".DeviceInfo.SoftwareVersion", "value": "example_sw_version" }
{ "parameter": ".DeviceInfo.UpTime", "value": "56031", "type": "xsd:unsignedInt" }
{ "parameter": ".DeviceInfo.DeviceLog", "value": "" }
{ "parameter": ".DeviceInfo.MemoryStatus.Total", "value": "125944" }
{ "parameter": ".DeviceInfo.MemoryStatus.Free", "value": "63312" }
{ "parameter": ".ManagementServer.URL", "value": "http:\/\/192.168.1.189:3333" }
{ "parameter": ".ManagementServer.Username", "value": "" }
{ "parameter": ".ManagementServer.Password", "value": "" }
{ "parameter": ".ManagementServer.PeriodicInformEnable", "value": "1", "type": "xsd:boolean" }
{ "parameter": ".ManagementServer.PeriodicInformInterval", "value": "100", "type": "xsd:unsignedInt" }
{ "parameter": ".ManagementServer.PeriodicInformTime", "value": "0001-01-01T00:00:00Z", "type": "xsd:dateTime" }
{ "parameter": ".ManagementServer.ConnectionRequestURL", "value": "http:\/\/192.168.1.204:7547\/" }
{ "parameter": ".ManagementServer.ConnectionRequestUsername", "value": "easycwmp" }
{ "parameter": ".ManagementServer.ConnectionRequestPassword", "value": "" }
{ "parameter": ".ManagementServer.ParameterKey", "value": "" }

TagsNo tags attached.
e-mail notification

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-03-24 02:36 wqtest New Issue