· 6 years ago · Feb 18, 2020, 07:36 PM
1POST /video-cut-tool-back-end/video-cut-tool-back-end/send/upload 200 112881.569 ms - 54
2Upload sent
3Hit Send
4Your Video Mode is : single
5Your video upload to commons is : true
6You Video Audio Disablity is : false
7Video Rotation : false
8Video Crop : true
9Video trim into multiple videos : false
10Video trim in to single video : true
11Rotate Video : -1
12downloading video tmp/tmp-2-1582053592901
13user token { key: '<>',
14 secret: '<>' }
15POST /video-cut-tool-back-end/video-cut-tool-back-end/send/upload 200 56.583 ms - 2
16parsed content { batchcomplete: '',
17 warnings:
18 { main:
19 { '*': 'A POST request was made without a "Content-Type" header. This does not work reliably.\nSubscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.' } },
20 query:
21 { tokens: { csrftoken: '<>+\\' } } }
22parsed body { error:
23 { code: 'verification-error',
24 info: 'File extension ".mp4" does not match the detected MIME type of the file (video/webm).',
25 details: [ 'filetype-mime-mismatch', 'mp4', 'video/webm' ],
26 '*': 'See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.' },
27 servedby: 'mw1230' }
28{ code: 'verification-error',
29 info: 'File extension ".mp4" does not match the detected MIME type of the file (video/webm).',
30 details: [ 'filetype-mime-mismatch', 'mp4', 'video/webm' ],
31 '*': 'See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.' }
32_http_outgoing.js:491
33 throw new Error('Can\'t set headers after they are sent.');
34 ^
35
36Error: Can't set headers after they are sent.
37 at validateHeader (_http_outgoing.js:491:11)
38 at ServerResponse.setHeader (_http_outgoing.js:498:3)
39 at ServerResponse.header (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/express/lib/response.js:767:10)
40 at ServerResponse.send (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/express/lib/response.js:170:12)
41 at wikiUpload.uploadFileToMediawiki (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/routes/index.js:205:30)
42 at Request.request [as _callback] (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/models/wikiUploadUtils.js:72:18)
43 at Request.self.callback (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/request/request.js:185:22)
44 at emitTwo (events.js:126:13)
45 at Request.emit (events.js:214:7)
46 at Request.<anonymous> (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/request/request.js:1161:10)
47npm ERR! code ELIFECYCLE
48npm ERR! errno 1
49npm ERR! video-cut-tool-back-end@0.0.1 start: `node ./bin/www`
50npm ERR! Exit status 1
51npm ERR!
52npm ERR! Failed at the video-cut-tool-back-end@0.0.1 start script.
53npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
54
55npm ERR! A complete log of this run can be found in:
56npm ERR! /data/project/video-cut-tool-back-end/.npm/_logs/2020-02-18T19_19_53_501Z-debug.log