pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
73 stars 59 forks source link

External script error 9002, when HTTP GET request from ACS received. #22

Open cbuilder opened 8 years ago

cbuilder commented 8 years ago

I tested it at OpenWrt 15.05. When download request is handling and http get was received:

Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: start download url = http://192.168.2.4:9673/test/iot/tools/get_firmware?ticketid=33195&cmdkey=Test&filename=openwrt-sunxi-Cubieboard2-rootfs.6.20.204.tar.gz, FileType = '1 Firmware Upgrade Image', CommandKey = 'Test' Fri Apr 15 11:36:01 2016 daemon.err easycwmpd[1029]: +++ RECEIVED HTTP REQUEST +++ Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: external script init Fri Apr 15 11:36:01 2016 daemon.err easycwmpd[1029]: http_digest_auth_fail_response(335):: http_digest_auth_fail_response: header: Digest realm="realm@easycwmp",qop="auth",nonce="e0fa3e31f048e3e02010612a29850a7700000018",opaque="328458fab28345ae87ab3210a8513b14eff452a2"--- RECEIVED HTTP REQUEST --- Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: external: execute download Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: add event '7 TRANSFER COMPLETE' Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: add event 'M Download' Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: download error: 'Internal error' Fri Apr 15 11:36:01 2016 daemon.notice easycwmpd: external script exit

I investigated this issue and found that status == NULL at cwmp_download_launch() function. This bug simple to test with web browser or something like curl.

pivasoftware commented 8 years ago

could you please open this ticket in the official issue tracking system of EasyCwmp: support.easycwmp.org