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

Is it just me or is the build times now take much much longer since Corona became “totally FREE”?  I’m on build 3068.

I’ve been away for another 3-4 months, when I came back I DLed the newest build (3068) and now my build times are taking so long… sometimes I just have to leave it, go out drive somewhere, or on late nights, leave it running overnight.

Santi 

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", }, }, }  

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  

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

If you don’t get this straightened out, you might try to get someone in another locale to build  your app to see if it builds faster or the same for them.  This will give you more info in the quest to speed up the builds.

Thanks for pointing that out Rob.  Honestly, I didn’t really pay much attention about that (google.play) plugin, it’s just always there as I copy build.settings from one project to another, I thought it’s one of those defaults, what a shame :slight_smile:   I even had it in my first ever  simplistic/minimalist game I published last year  ( ThruBlu )  and didn’t even bother thinking it had nothing to do with it  :)   

Yes, I used Admob on that game when it was free, but later moved to Appodeal. 

So right now I was just trying to build the sample ‘Hello World’ as suggested and guess what … I’m still waiting after 30+ minutes now, I’d guess this will end up in a timeout.  :(  

I will try that regedit you suggested tomorrow and will update you (quite late here now, gotta hit the sack for a big day). 

As always, thanks for the support.

Santi

@roaminggamer, that’s good idea too…  Thanks!

Did you ever try the regedit addition to get more log information?

Builds should not be behaving like this, but it may also be isolated to you since there are few complaints about it.

Rob

Yes sir I did… early this morning I am lucky I am getting  5~7 minute builds…  last night were all timed out.  

Below is a portion of the console “successful” build info… 418 seconds.

WebServices: Response received in 2 seconds Excluding specified files from build: excluding: Icon.png excluding: Icon-Small-\*.png excluding: Icon\*@2x.png WebServices: Call: corona.build.7 params: { "hash" = "80a738dc3e7324dcee8839d4d08ce199649d797b984a9f85841501339daff60e" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1503970674" "nonce" = "lVxiRVwPpI" "sessid" = "29767ec1a4f6c9d02bec39fea2513b17" "deviceId" = "a333e64500bb465ee1e0bf1d6ebdf448" "timestamp" = "58dd9c00" "appname" = "VertiHaul" "file" = \<439340 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 30 seconds BuildID: 59a4c577eb4e1 WebServices: Call: corona.getUrl params: { "hash" = "b528e5c60cb0a71813d796a25208d4f3b1faf31e10f20aa00454192b58c468be" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1503970704" "nonce" = "BBzAEJpQpo" "sessid" = "29767ec1a4f6c9d02bec39fea2513b17" "buildsessionid" = "59a4c577eb4e1" } WebServices: Response received in 1 seconds WebServices: download request: https://ansca-build-temp.s3.amazonaws.com/59a4c577eb4e1-built.zip?AWSAccessKeyId=AKIAIMSD7JG23DSGPRIA&Expires=1503970735&Signature=PRQQaz1mlIh3SxX84PZYEKMNyuI%3D WebServices: to file: C:\Users\Santi\AppData\Local\Temp\Corona LabsCLtmpa03264\output.zip WebServices: Download of 4027020 bytes complete in 376 seconds (0.01MB/s) Android build succeeded in 418 seconds WebServices: Call: user.logout params: { "hash" = "396b61bae52d5a70db543ac85a2b0a26fd8e67efc8a9257cc976f19037a7bab8" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1503971089" "nonce" = "FMDIfDRlPS" "sessid" = "29767ec1a4f6c9d02bec39fea2513b17" } WebServices: Response received in 2 seconds

This is another excerpt from the console after a timeout build failure.

WebServices: Response received in 23 seconds BuildID: 59a4d119732e1 WebServices: Call: corona.getUrl params: { "hash" = "c7211c4be4a9f52dc712dd9892dfbe34f3ea0099734ccc3701684d0c00ec3b04" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1503973676" "nonce" = "kuAbHvZJVH" "sessid" = "4446ff7c3b8fcd991a33052e02c78ac3" "buildsessionid" = "59a4d119732e1" } WebServices: Response received in 5 seconds WebServices: download request: https://ansca-build-temp.s3.amazonaws.com/59a4d119732e1-built.zip?AWSAccessKeyId=AKIAIMSD7JG23DSGPRIA&Expires=1503973711&Signature=FxOaI5QvYr6fglsDJ5MWC%2FUdIgY%3D WebServices: to file: C:\Users\Santi\AppData\Local\Temp\Corona LabsCLtmpa06248\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 684 seconds WebServices: Call: user.logout params: { "hash" = "430d0ee5ec8f4ba3b70c86a26b1cc0e5d3d777c8bbd0c9f90dffd62c4f0126d5" "domain\_name" = "developer.anscamobile.com" "domain\_time\_stamp" = "1503974337" "nonce" = "nhLfFtfFDq" "sessid" = "4446ff7c3b8fcd991a33052e02c78ac3" } WebServices: Response received in 1 seconds

Santi

What will be most helpful is to copy/paste the entire console log window.  There should be time stamps in there which are important. Please don’t delete anything.

Thanks

Rob