build failed (5)

**(IOS BUILD_

Nov 26 04:20:19.271**
BuildID: 5656c0b3da4f9

Nov 26 04:21:00.494 2015-11-26 16:21:00.493 Corona Simulator[1315:496676] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9846)

Nov 26 04:21:00.502 2015-11-26 16:21:00.494 Corona Simulator[1315:496583] XMLRPC: connection, E51A4D77-1195-4946-ABE6-CD24CE4D2792, failed with the following error: An SSL error has occurred and a secure connection to the server cannot be made.

Nov 26 04:21:00.502 ERROR: XMLRPC: An SSL error has occurred and a secure connection to the server cannot be made.

Nov 26 04:21:00.502 WebServices: XMLRPC request failed

Nov 26 04:21:00.502 ERROR: Unexpected empty response from build server

Nov 26 04:21:00.562 iOS build failed (5)

Nov 26 04:21:00.818 ERROR: Build Failed: ERROR: Unexpected empty response from build server

(Android BUILD)

Nov 26 04:22:54.850 ERROR: XMLRPC: An SSL error has occurred and a secure connection to the server cannot be made.

Nov 26 04:22:54.850 WebServices: XMLRPC request failed

Nov 26 04:22:54.856 ERROR: Unexpected empty response from build server

Nov 26 04:22:54.906 Android build failed (5)

Nov 26 04:22:55.263 ERROR: Build Failed: An SSL error has occurred and a secure connection to the server cannot be made.

Error code: 5

 

I have a very large chance to get these error message when I try to build for both Android and iOS. 
Android has 50% chance to fail and iOS has like 90% fail rate. Currently I am integrating Facebook v4 plugin into my app and I need to build it and test on my device since simulator does not support FB APIs. I need to do a lot of builds and testings but these errors make me frustrated. I have tried different version of daily builds but the result is same.

What I did:

  1. Build on different daily builds: 2731, 2753,2770, 2774,2775 (These are the daily builds I have downloaded previously, I try to download other versions but 90% of these dmg files are corrupted after downloaded. I have no idea why these files are corrupted. This is very frustrating).

  2. Use different wifi network. Still same errors. 

  3. Upgrade my xcode to latest 7.1.1 (prev version 7.1). Still same errors.

  4. Try to build with Corona Facebook sample. Still same errors. 

  5. Build Corona Facebook sample on another mac (2775). Still same errors.

  6. Remove plugin from build.settings. This one works. Every builds is successful but it is pointless without the plugin.

Anyone here facing the same issue? Is it the plugin server problem or my connection problem? Please help!

 

Another weird thing I found is the memory used when building project. 

Memory used for Corona simulator increase rapidly when the build is going to fail. I have experience once the memory used for single Corona simulator over 12gb and cause my iMac screen freezed. I have to switch off the power button manually to restart my mac.

Is this memory hike normal or there is something wrong? 

Something is wrong.  This is definitely not normal.  Everything points to networking problems (getting corrupted installs, the XMLRPC errors, etc are all symptomatic of network issues.

What version of OS X are you running?  Is it in a VM or on a Macintosh computer?

What happens if you go to this URL in Safari?   https://developer.coronalabs.com/services/xmlrpc  (reload it a few times)

It sounds like your computer is having issues connecting to HTTPS websites and unless this is expected (e.g. you’re on some super restrictive education network) I would investigate as this doesn’t seem normal and may be compromising your privacy.

I was building my apps today, everything was fine and suddenly the last app i wanted to build gave an error: 

ERROR: An error occurred during build. The server returned the following message:


Error: Could not retrieve appKey from Fuse Server. Error ( Caught exception: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received )]

Dec 05 06:17:18.166 iOS build failed (5)

Is this still happening?

Another weird thing I found is the memory used when building project. 

Memory used for Corona simulator increase rapidly when the build is going to fail. I have experience once the memory used for single Corona simulator over 12gb and cause my iMac screen freezed. I have to switch off the power button manually to restart my mac.

Is this memory hike normal or there is something wrong? 

Something is wrong.  This is definitely not normal.  Everything points to networking problems (getting corrupted installs, the XMLRPC errors, etc are all symptomatic of network issues.

What version of OS X are you running?  Is it in a VM or on a Macintosh computer?

What happens if you go to this URL in Safari?   https://developer.coronalabs.com/services/xmlrpc  (reload it a few times)

It sounds like your computer is having issues connecting to HTTPS websites and unless this is expected (e.g. you’re on some super restrictive education network) I would investigate as this doesn’t seem normal and may be compromising your privacy.

I was building my apps today, everything was fine and suddenly the last app i wanted to build gave an error: 

ERROR: An error occurred during build. The server returned the following message:


Error: Could not retrieve appKey from Fuse Server. Error ( Caught exception: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received )]

Dec 05 06:17:18.166 iOS build failed (5)

Is this still happening?