Buid failed : XMLRPC request failed HTTP error 502

Jan 10 01:15:39.697 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Jan 10 01:15:39.825 Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /Applications/Corona-3567/Corona Simulator.app/Contents/Resources/debug.keystore -destkeystore /Applications/Corona-3567/Corona Simulator.app/Contents/Resources/debug.keystore -deststoretype pkcs12". Jan 10 01:15:42.234 Using java version "1.8.0\_231" Java(TM) SE Runtime Environment (build 1.8.0\_231-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode) Jan 10 01:15:42.245 2020-01-10 13:15:42.235 Corona Simulator[1790:123997] CoreText note: Client requested name ".HelveticaNeueDeskInterface-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-01-10 13:15:42.235 Corona Simulator[1790:123997] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug. Jan 10 01:15:42.968 Building Android app for xxx with 2020.3567 Jan 10 01:19:06.001 WebServices: XMLRPC request failed Jan 10 01:19:06.016 ERROR: XMLRPC: The operation couldn’t be completed. (HTTP error 502.) Jan 10 01:19:06.016 Jan 10 01:19:16.343 WebServices: XMLRPC request failed Jan 10 01:19:16.343 ERROR: XMLRPC: The operation couldn’t be completed. (HTTP error 502.)

Getting this error on build.

Can you help ?

We had some errors earlier today (starting around 3am ET). I’m not sure what time it resolved itself or if it’s fully resolved yet, but I just did builds for iOS and Android and they seemed normal. 

Rob

I still get error while trying to build for iOS.

ERROR: XMLRPC: The operation couldn’t be completed. (HTTP error 413.) Jan 11 12:28:03.819 Jan 11 12:28:03.831 ERROR: build failed The operation couldn’t be completed. (HTTP error 413.) Jan 11 12:28:03.831 Jan 11 12:28:04.286 iOS build failed (11) after 4 seconds Jan 11 12:28:04.566 ERROR: Build Failed: ERROR: build failed

Can you post your build.settings?

Sure.

settings = { plugins = { -- Base ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, -- Banner --['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Yandex'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Smaato'] = { publisherId = 'com.coronalabs' }, -- Interstitial --['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Ogury'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Smaato'] = { publisherId = 'com.coronalabs' }, -- Rewarded Video ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Smaato'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Unity'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Vungle'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Tapjoy'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, ["plugin.pollfish"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, }, orientation = { default = "portrait", supported = { "portraitUpsideDown", }, }, iphone = { xcassets = "Images.xcassets", plist = { GADApplicationIdentifier = "xxx", UILaunchStoryboardName = "LaunchScreen", UIRequiredDeviceCapabilities = {"location-services" }, NSLocationAlwaysUsageDescription = "This app would like to use location services.", NSLocationWhenInUseUsageDescription = "This app would like to use location services.", NSBluetoothAlwaysUsageDescription = "This app would like to access bluetooth.", NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, --UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, UIStatusBarHidden = true, MinimumOSVersion = "8.3", }, }, }

Here is a Problem to:

Excluding specified files from build: 

   excluding: LaunchScreen.storyboardc

   excluding: Icon.png

   excluding: Icon-*dpi.png

   excluding: Images.xcassets

ERROR: XMLRPC: The operation couldn’t be completed. (HTTP error 413.)

There was a problem completing the build on the server

Android build failed (11) after 3 seconds

Error code: 11

— Settings—

settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, -- default = "landscapeRight", -- supported = { "landscapeRight", }, }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.PHONE", }, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = true, UILaunchStoryboardName = "LaunchScreen", }, }, -- -- Plugins section -- plugins = { ["plugin.animation"] = { publisherId = "com.coronalabs" }, }, window = { defaultMode = "fullscreen", titleText = { default = "Full Canvas - Corona HTML5" } }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }

Can you all increase your debugging levels?

On Windows, from the cmd.exe command prompt or Power Shell:
 

reg ADD "HKEY\_CURRENT\_USER\Software\Ansca Corona\Corona Simulator\Preferences" /f /v debugBuildProcess /d 5

On macOS from the Terminal:

defaults write com.coronalabs.Corona\_Simulator debugBuildProcess -int 5

And post your logs back? I just did another iOS build and it succeeded in 41 seconds.

Rob

I can’t build either but I am getting the following error:

WebServices: XMLRPC request failed

ERROR: XMLRPC: The operation couldn’t be completed. (HTTP error 413.)

ERROR: build failed

                    

The operation couldn’t be completed. (HTTP error 413.)

iOS build failed (11) after 1 seconds

ERROR: Build Failed: ERROR: build failed

                    

The operation couldn’t be completed. (HTTP error 413.)

Mike have you increased your debugging levels as I asked above? Can you post the entire build log.

Rob

Is resolved, i updated the Corona SDK - now it works fine. Thanks

@Rob

Here you go:

UNSUPPORTED iOS SDK Mismatch

                    The version of iOS SDK (13.0) that’s installed on this computer does not match the target iOS version (13.3). You may encounter issues building or incompatibilities at runtime.

                    

                    You should consider updating your version of Xcode or using xcode-select to enable a compatible version.

                    

                    Do you want to proceed with a build?Building iOS app for mike@cravecreative.com with 2019.3565

Jan 10 10:05:19.503 Using custom build id from app bundle: 00000 (AppSettings.lua)

Jan 10 10:05:23.783 DeviceBuildData: {“isLaunchPadActive”:false,“targetCertType”:“developer”,“targetPlatformVersion”:132000,“debugBuildProcess”:5,“targetDevice”:127,“splashScreen”:{“enable”:false},“dailyBuildRevision”:3565,“buildBucket”:“ansca-templates”,“clientPlatform”:“Mac OS X”,“targetAppStore”:“apple”,“targetPlatform”:0,“clientDeviceId”:“2f11f8e11d14a7287b2e3e3a1ec7ea11”,“plugins”:[],“dailyBuildYear”:2019,“clientProductId”:“basic”,“appName”:“Gem Mining”}

Jan 10 10:05:26.338 WebServices: XMLRPC request failed

Jan 10 10:05:26.572 ERROR: XMLRPC: The operation couldn’t be completed. (HTTP error 413.)

Jan 10 10:05:26.572 

Jan 10 10:05:26.574 ERROR: build failed

                    

                    The operation couldn’t be completed. (HTTP error 413.)

Jan 10 10:05:26.574 

Jan 10 10:05:26.835 iOS build failed (11) after 7 seconds

Jan 10 10:05:27.178 ERROR: Build Failed: ERROR: build failed

                    

                    The operation couldn’t be completed. (HTTP error 413.)

@Rob

Also I am trying to download the new daily build and it is going super slow! It says its going to take about 10 hrs :frowning:

Maybe the Corona servers are experiencing issues.

There is still an issue when building.

I have the following plugins included in my build.settings.

 plugins = { ["plugin.admob"] = { publisherId = "com.coronalabs" }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, },

The build process is successful, but when you deploy the apk on a real device the app does not launch and quits immediately.

I removed the admob and notifications plugins from the builds.settings and now the app launches.

Definitely there is something wrong with these plugins at least the AdMob plugin.

You can reproduce the problem by including the plugins in the build.settings only. No need to require them in main.lua or any other scene file.

Please can you fix this problem. I paid for the AdMob plugin and am a bit deceived by the fact that since yesterday I was not able to build for a plugin I paid for !

Today I can build for Android (launch on real device too) but not for iOS.

What Dodo Software says, about successful builds but unable to launch on real device really worries me.

I had the same issue months ago, because of appodeal plugin, and almost uploaded an app to play store.

A last minute test saved me from big troubles!

Is its safe to upload apks?

When are you going to fix the iOS builds?

EDIT

Just saw the post about solving the problem with the updated Corona version.

Im going to try now!!

The new daily build didn’t solve the problem for iOS builds.

Build fails for the same reason.

That can’t possibly be your entire build log if you cranked up your debugging level like I asked above.  Can you do that and provide a more complete build log. Please use a service like pastebin.com and share the link since the console log is likely going to be massive.

Rob

Where are you connecting from?

Are you using a VPN?

I’m downloading the daily build in just a few minutes.

Rob

@Rob

I am not using a VPN and I have High Speed access.

I was able to download today in a few minutes.

It’s about error 413 now.

Maybe we should continue here

https://forums.coronalabs.com/topic/76963-error-build-failed-on-corona-latest-builds/

Btw we are going to day three without the ability to build for iOS!!

When I remove some of my LUA files I can get it to build so I think it has something to do with the amount of content in the files. I have been able to build and deploy this app in the past so I know the code is good.