Hi,
I followed the first touch example and finally reached the last step on "Publish the application". The build seems to be successful but in the end Volt MX Iris prints the following console log:
---❏ Upload web archive ---
Uploading client binary C:\Users\julianmosen\Iris\workspace\temp\FirstTouch\build\wap\build\FirstTouch.zip
16:15:43.112 [main] ERROR com.kony.console.tools.api.MobileFabricException - HTTP POST on http://foundry.mymxgo.com:80/workspace/100000002/api/v1/ws/100000002/apps/efa81374-302d-4eee-adc5-b6294062ce92/clientbins/create failed for [Upload app client binary] with status 400. Details - {"domain":"WAAS","code":-48,"message":"File size should be less than 4MB.","details":{"message":"File size should be less than 4MB.","errcode":-48,"errmsg":"File size should be less than 4MB."},"httpstatus":"BAD_REQUEST","httpStatusCode":400}
ERROR mf upload error: ERROR: HTTP POST on http://foundry.mymxgo.com:80/workspace/100000002/api/v1/ws/100000002/apps/efa81374-302d-4eee-adc5-b6294062ce92/clientbins/create failed for [Upload app client binary] with status 400. Details - {"domain":"WAAS","code":-48,"message":"File size should be less than 4MB.","details":{"message":"File size should be less than 4MB.","errcode":-48,"errmsg":"File size should be less than 4MB."},"httpstatus":"BAD_REQUEST","httpStatusCode":400}
ERROR Build Failed!
- CustomError: Error while uploading web client binary. ERROR: HTTP POST on http://foundry.mymxgo.com:80/workspace/100000002/api/v1/ws/100000002/apps/efa81374-302d-4eee-adc5-b6294062ce92/clientbins/create failed for [Upload app client binary] with status 400. Details - {"domain":"WAAS","code":-48,"message":"File size should be less than 4MB.","details":{"message":"File size should be less than 4MB.","errcode":-48,"errmsg":"File size should be less than 4MB."},"httpstatus":"BAD_REQUEST","httpStatusCode":400}
at C:\Program Files\Volt MX Iris\kbuild\serviceconfig\WebClientUploadTask.js:1:2454
at new Promise ()
at WebClientUploadTask.execute (C:\Program Files\Volt MX Iris\kbuild\serviceconfig\WebClientUploadTask.js:1:552)
at C:\Program Files\Volt MX Iris\kbuild\serviceconfig\servicePackager.js:1:1458
at new Promise ()
at ns.publishAssets (C:\Program Files\Volt MX Iris\kbuild\serviceconfig\servicePackager.js:1:1409)
at C:\Program Files\Volt MX Iris\kbuild\BuildManager.js:1:5439
at new Promise ()
at C:\Program Files\Volt MX Iris\kbuild\BuildManager.js:1:5157
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 67
}
Build and Publish Web Failed
Is there any upload limit that has to be configured? The MX Volt forum points me to look at the MySQL server and the variable --max_allowed_packet value that might limit the upload to 4MB. Might this be the problem?
Best Julian