Build times much longer after Corona become "totally FREE"?

As this is a hit and miss affair for me, will do next time I hit the same problem.  

Thanks Rob.  

Santi

Hi Rob,

Below is a full console entry when as usual, I get build error #5…  

Windows simulator build date: Mar 31 2017 @ 14:34:46 Copyright (C) 2009-2017 C o r o n a L a b s I n c . Version: 3.0.0 Build: 2017.3068 Platform: My Custom Device / x64 / 6.1 / GeForce GTX 650 Ti BOOST/PCIe/SSE2 / 4.5.0 NVIDIA 375.95 / 2017.3068 / en\_US | US | en\_US | en Loading project from: F:\Corona Backups\VertiHaul Project sandbox folder: C:\Users\Santi\AppData\Local\Corona Labs\Corona Simulator\Sandbox\vertihaul-538C547CEED48AAB9FFA06B0B348FB4F\Documents WARNING: issue found in F:\Corona Backups\VertiHaul\config.lua: WARNING: unrecognized key: settings.LevelDirectorSettings.imagesSubFolder (string) WARNING: unrecognized key: settings.LevelDirectorSettings.levelsSubFolder (string) SSK VERSION: 2017.007 ERROR: F:\Corona Backups\VertiHaul\levels\Menu.lua:62: physics.start() must be called before physics.setGravity() WebServices: Call: system.connect (no params) WebServices: Response received in 4 seconds WebServices: Call: corona.getTime (no params) WebServices: Response received in 3 seconds WebServices: Call: user.login2 params: { "hash" = "ead50c6584f3dac01796b82bf06b1c8d825e7bcc9f619c284a10534019050b61" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1504708846" "nonce" = "rkfIOrUXoQ" "sessid" = "460f9b10834495f7687664f9aa201cda" "username" = "santiagoluib3@gmail.com" "encryptedPassword" = "86cab320557f87a796ea2dece2d6f1a894e2eed77634f4bbafc952adff73ecd3dcece13097f44472d1f92c2259653831290021a2ec390a1ea8fa03e0fceeccc1431c469eed4e8766b5ba288b313c2e4cdc1afa4b2b4d0eb7e80cd08c1d113f789e76119310925d2ec3cc6cf4fe2a6540529c62eca5516060700d9b5c34801a52833283b0c434eba0b8b2c91feae451eda98797e1fe5cfa886b7b84817e792827c2e6126f3bb60583f342473b46afa87fee64d9115d91779e4889304a506e049d151dc606d99377411ddec7ede647cb7af3f4bed9c8dffd604cd9ad24bc4c0a1a2a38111c2f80cb125e717d94be582f78a71510487435530c79521ec8ff458c0a" "timestamp" = "58dd9c00" } WebServices: Response received in 16 seconds Excluding specified files from build: excluding: Icon.png excluding: Icon-Small-\*.png excluding: Icon\*@2x.png WebServices: Call: corona.build.7 params: { "hash" = "c40246bc893e991a347fdb61a3f4dc1e79afb38a04cc0f08e995f4331e923381" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1504708864" "nonce" = "BlOIdDHmDR" "sessid" = "8eed11810e0870599ce7be1a4a2dcf75" "deviceId" = "a333e64500bb465ee1e0bf1d6ebdf448" "timestamp" = "58dd9c00" "appname" = "VertiHaul" "file" = \<531316 bytes of data elided\> "device" = 0 "platform" = 1 "version" = 140300 "appPackage" = "com.gmail.santiagoluib3.VertiHaul" "customBuildId" = "(null)" "productId" = "basic" "clientPlatform" = "Win" "certType" = "developer" "appVersion" = "1.0.0" "launchPad" = 0 "json" = "{"isLaunchPadActive":false,"targetCertType":"developer","targetPlatformVersion":140300,"debugBuildProcess":0,"targetDevice":0,"dailyBuildRevision":3068,"clientPlatform":"Win","targetAppStore":"google","targetPlatform":1,"clientDeviceId":"a333e64500bb465ee1e0bf1d6ebdf448","plugins":[],"dailyBuildYear":2017,"clientProductId":"basic","appName":"VertiHaul"}" "downloadResult" = 1 } WebServices: Response received in 29 seconds BuildID: 59b00908cf945 WebServices: Call: corona.getUrl params: { "hash" = "f5d953e8d493cdddc523df33020dff52527b0f0f5380dc068d0325481605f451" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1504708893" "nonce" = "zuEXPsqXMZ" "sessid" = "8eed11810e0870599ce7be1a4a2dcf75" "buildsessionid" = "59b00908cf945" } WebServices: Response received in 3 seconds WebServices: download request: https://ansca-build-temp.s3.amazonaws.com/59b00908cf945-built.zip?AWSAccessKeyId=AKIAIMSD7JG23DSGPRIA&Expires=1504708927&Signature=zczFoIOOF3Yya6X6JcnH1Pb4lIk%3D WebServices: to file: C:\Users\Santi\AppData\Local\Temp\Corona LabsCLtmpa10484\output.zip ERROR: download failed to read data: The operation timed out ERROR: failed to download build ERROR: download failed to read data: The operation timed out Android build failed (5) after 723 seconds WebServices: Call: user.logout params: { "hash" = "4f99f46c805ad6266058659434bd6762c8959157c28cb6f013e99a01bd151b5e" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1504709585" "nonce" = "vbWYYdAIgL" "sessid" = "8eed11810e0870599ce7be1a4a2dcf75" } WebServices: Response received in 5 seconds

Santi

Thanks. Were there timestamps on each line that you might have stripped off? 

We will look into the cause of this.

Rob

Hi Rob,

That log is untouched.  100% cut n pasted.

Santi

So basically once our build is complete, we pass a URL to a file on Amazon S3 that then gets downloaded. This is where you’re timing out. It appears to be a connectivity issue to Amazon S3.

You can look for this in your build log:

WebServices: download request: https://ansca-build-temp.s3.amazonaws.com/59b00908cf945-built.zip?AWSAccessKeyId=AKIAIMSD7JG23DSGPRIA&Expires=1504708927&Signature=zczFoIOOF3Yya6X6JcnH1Pb4lIk%3D

And grab that URL (starting with https://) and copy/paste that to a web browser and see what information you get. The build won’t last long (you should have a few minutes). 

Rob

Thanks Rob!

Will check that out.

In the meantime, I notice my luck is in the wee hours between 3-4am my time, that’s when the build completes 3 out of 4 but usually takes between 7-10minutes.   

Santi

Hi guys,

Good news.  

I don’t know what happened, nothing on my part has been done, but since the other day, my build times have been consistently less than a minute fast!!  Even much faster than what I call normal at 3-5minutes.  Whoohooo!!  I hope it stays that way, so I don’t have to wake up at 3-5am just to build the app   :stuck_out_tongue:

Now, back on my dev work…     :wink:

That’s great to know!

Rob

Builds only take me about 30…45 seconds.  I think you’re seeing some other issue.

Also, what does this have to do with free or not free?

So I must be seeing another issue then.  Just now after 16+ minutes, my build ended with the “build error 5”.   

I don’t know… I just meant that after the “free” version i’ve been experiencing this.  Not that free or not free make a difference for that matter.

You are hitting some odd issue. If you’re taking more than a couple of minutes to build (lots of plugins will slow down), then it might be worth stopping the build and trying again.  This shouldn’t have anything to do with being free.

Rob

Also, when you hit a problem like this, please share the Build ID, it’s a big long letter/number string. What platform  you’re building on. What version of Corona and what platform  you’re building too.  If you have plugins, showing your build.settings is also useful information.

Rob

Hi Rob,  Thanks for clarifying that up.   My apologies if i somehow made it sound like the free version caused this, that wasn’t what I meant.

Just for info, I’ve been working on these (2 projects) early this year, but like some of us, it’s a on and off thingy (as and when I have the spare time).   I had fast build times and in fact have been successful trying the app in several mobile devices.   It’s when I came back after some time and took the latest build that I’m experiencing this.

Thanks for the tip about sharing the Build ID, etc., I might do that if I still hit the issue.   Which forum section should I share/post it on?

Santi

This forum is fine.

Okay, I tried it today, timed it, and it seems a little faster than my previous attempts.  By “faster” i mean like 15-16 minutes.  Is this still considered normal?  I have a fairly fast internet connection.  I used to get build times only around 3-5 minutes last time.

Build ID       : 599139ce73783 

Corona Ver : 3068

Windows 7 Ultimate

Santi

Can you capture the entire log text from  your Corona console window and paste it here. 

Where are you physically located?  This may have something to do with the speed issue.  If you’re far from the build servers and have some bad networks in-between…

Also, out of curiosity, how many plugins are you using?  I think this was mentioned above, but plugins can affect your build speed.

PS - What is fairly fast?  i.e. What are you upload and download speeds?  Ex: I’m middle of the road at 60 Mbit up / 50 Mbit down.

Yea, posting your build.settings would be helpful too.

Rob

Hi Rob / RG,

Thank you guys for your feedback.

I did another build so I can show everything on the simulator console as requested.   Surprisingly this time it is much faster than the previous one:  8+ minutes.  

Plugins - As these are in their early stages of development, there are no other plugins except the one you will see on the build.settings  below.

‘Fairly fast’ connection - I am in the range of 20~30Mbit, max at 50Mbit… physical location in Cebu, Philippines.  Yes I know my region is known for slow servers, but I have been playing around with Corona for quite sometime now, even using only a  8Mbit connection at one point and build times were good.

Again, I’m not sure if I did something wrong or missed out something.   Taking into consideration that my latest build time was only 8min vs the previous ones 15…20min without doing any changes, I would guess it’s my connection and physical location at play here, what do you guys think? 

build.settings:

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "portrait", supported = { "portrait", } }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, -- -- iOS Section -- iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-167.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, } }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } }, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.VIBRATE", }, }, } &nbsp;

Console copy-paste:

Windows simulator build date: Mar 31 2017 @ 14:34:46 Copyright (C) 2009-2017 C o r o n a L a b s I n c . Version: 3.0.0 Build: 2017.3068 Platform: GT-I9300 / x64 / 6.1 / GeForce GTX 650 Ti BOOST/PCIe/SSE2 / 4.5.0 NVIDIA 375.95 / 2017.3068 / en\_US | US | en\_US | en Loading project from: C:\Users\Santi\Documents\CoronaProjects\DownRush Project sandbox folder: C:\Users\Santi\AppData\Local\Corona Labs\Corona Simulator\Sandbox\downrush-DAB535410825E2A66532AC95FAB46E61\Documents WARNING: issue found in C:\Users\Santi\Documents\CoronaProjects\DownRush\config.lua: WARNING: unrecognized key: settings.LevelDirectorSettings.imagesSubFolder (string) WARNING: unrecognized key: settings.LevelDirectorSettings.levelsSubFolder (string) WARNING: Accelerometer events are only available on the device. Settings loaded from json file. ERROR: C:\Users\Santi\Documents\CoronaProjects\DownRush\Levels\Menu.lua:65: physics.start() must be called before physics.setGravity() Excluding specified files from build: excluding: Icon.png excluding: Icon-Small-\*.png excluding: Icon\*@2x.png BuildID: 59926ba8ca3af Android build succeeded in 481 seconds &nbsp;

Santi

I don’t think this is the cause, but you certainly don’t need this plugin:

 ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } },

It is old, unsupported and breaks almost every other Android plugin. There is a new (but paid) AdMob plugin or you can use Appodeal which can hook up to your AdMob account. We are also working on a revenue-sharing AdMob model for developer’s who are just starting out and don’t have the revenue to support the paid version.  Anyway that particular plugin should not be used since it’s doesn’t use our Android Dependency system.

If you can, run regedit.exe (will need to run as an admin) and navigate to:  HKEY_CURRENT_USER\Software\Ansca Corona\Corona Simulator\Preferences and add a new string key named “debugWebServices”.  Then give it a value of “2” and try again. This will capture more information about what’s going on.

Also try and build the HelloWorld sample app and see what kind of build times you experience with that. 

Anything over a couple of minutes is taking too long unless you’re on a really slow network connection trying to download big plugins. 

Rob