EasyCwmp - easycwmp
View Issue Details
0000350easycwmp[All Projects] Bugpublic2018-08-10 15:022018-10-01 09:01
okraits 
 
highmajoralways
newopen 
OpenWRTLEDE 17.01
0000350: easycwmp doesn't send a DownloadResponse for the second of two consecutive downloads
If two download requests appear within a short period of time, then easycwmp doesn't send a DownloadResponse for the second download request.

Thus the ACS thinks that the download request wasn't successful and retries the whole session.
Send two download requests to easycwmp closely one after the other.
Attached you find the ACS log and the easycwmp log.
No tags attached.
log easycwmp.log (11,464) 2018-08-10 15:02
http://support.easycwmp.org/file_download.php?file_id=121&type=bug
log acs.log (21,647) 2018-08-10 15:02
http://support.easycwmp.org/file_download.php?file_id=122&type=bug
? dump.pcap (70,462) 2018-08-28 14:20
http://support.easycwmp.org/file_download.php?file_id=123&type=bug
Issue History
2018-08-10 15:02okraitsNew Issue
2018-08-10 15:02okraitsFile Added: easycwmp.log
2018-08-10 15:02okraitsFile Added: acs.log
2018-08-15 11:01mohamed.kallelNote Added: 0000902
2018-08-15 11:02mohamed.kallelNote Edited: 0000902bug_revision_view_page.php?bugnote_id=902#r379
2018-08-27 11:05okraitsNote Added: 0000903
2018-08-27 11:52mohamed.kallelNote Added: 0000904
2018-08-28 14:20okraitsFile Added: dump.pcap
2018-08-28 14:20okraitsNote Added: 0000906
2018-09-03 15:34okraitsNote Added: 0000909
2018-10-01 09:01okraitsNote Added: 0000919

Notes
(0000902)
mohamed.kallel   
2018-08-15 11:01   
(edited on: 2018-08-15 11:02)
I checked the easycwmp.log.
The easycwmp is sending the download response for each download request:



Fri Aug 10 14:26:57 2018 daemon.notice easycwmpd: received Download method from the ACS
Fri Aug 10 14:26:57 2018 daemon.notice easycwmpd: add download: delay = 0 sec, url = https://host:7567/test, [^] FileType = '12 Other File', CommandKey = '16523cdd9bd0000'
Fri Aug 10 14:26:57 2018 daemon.notice easycwmpd: send DownloadResponse to the ACS
Fri Aug 10 14:26:58 2018 daemon.notice easycwmpd: received Download method from the ACS
Fri Aug 10 14:26:58 2018 daemon.notice easycwmpd: add download: delay = 0 sec, url = https://host:7567/test_1533903958.1886573.sh, [^] FileType = '11 Shell Script', CommandKey = '16523cdd9bd0100'
Fri Aug 10 14:26:58 2018 daemon.notice easycwmpd: send DownloadResponse to the ACS

(0000903)
okraits   
2018-08-27 11:05   
Well, it says so in the log but if you look at the SOAP XML log in acs.log you see that easycwmp actually doesn't send a DownloadResponse for the second download request (although it sends one for the first download request) but already a Download Event in the next inform without having confirmed the second download request.
(0000904)
mohamed.kallel   
2018-08-27 11:52   
do you have pcap file?
(0000906)
okraits   
2018-08-28 14:20   
Please see attached file dump.pcap.
(0000909)
okraits   
2018-09-03 15:34   
Any news on this one?
(0000919)
okraits   
2018-10-01 09:01   
Could you please have a look at this issue? I would greatly appreciate it.