Build error on server (while integrating Hockeyapp)

Hi,

The Build window and the Simulator console shows this:

Using custom Build Id 00000

BuildID: kCoronaBuild [A device build error occurred on the server.

Error:

BuildID: 578b237487de3

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


A device build error occurred on the server.

Error:

BuildID: 578b237487de3


Android build failed (5)

I am running 2016.2843 on OSX and 2907 on Windows, occurs on both builders.

Anyone any idea?

That error generally indicates networking problems between you and our build servers. It can also happen if a plugin is taking too long to download (again most likely networking related).

Can you build if you leave the HockeyApp plugin out?

Can you build hello World?

Rob

Build without hockeyapp, commented out these lines in build.settings

settings =

{

    plugins =

    {

        [“plugin.zip”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true, osx=true, win32=true }

        },

–        [“plugin.hockey”] =

–        {

–            publisherId = “com.coronalabs”,

–            supportedPlatforms = { iphone=true, android=true }

–        },

    },

and these in main.lua

–local hockeyApp = require( “plugin.hockey” )

– Initialize plugin with app ID

–hockeyApp.init( “…” )

Builds ok with this result

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: 578c6ac73ccc1

Android build succeeded

Hello world result:

Loading project from:   D:\Progs\Dev\Corona Labs\Corona SDK\Sample Code\GettingStarted\HelloWorld

Project sandbox folder: D:\Users\User\AppData\Local\Corona Labs\Corona Simulator\Sandbox\helloworld-B4644177281F2EE320D3B0098C624834\Documents

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: 578c6a148cdcf

Android build succeeded

Hi,

Any progress on this?

Build this morning on iOS also gave the server error, buildnumber is 578dbc7e1905a.

Hope it helps in troubleshooting.

I’ll be available again in 9 hours if you need more tests to be run.

I’ve asked Engineering to look into it.

You can still use HockeyApp as a beta test service without the plugin. You just won’t get crash reports. I would continue working on other things and using the HockeyApp service while we investigate the issue.

Please give it a try now. 

Hi,

Result is:

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: kCoronaBuild [A device build error occurred on the server.

Error:

BuildID: 578e70e3473a4

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


A device build error occurred on the server.

Error:

BuildID: 578e70e3473a4


Android build failed (5)

But something change, I also see this now:

Copyright © 2009-2016  C o r o n a   L a b s   I n c .

        Version: 3.0.0

        Build: 2016.2907

Platform: iPhone / x64 / 10.0 / GeForce GTX 560 Ti/PCIe/SSE2 / 4.5.0 NVIDIA 355.82 / 2016.2907 / nl_NL | NL | nl_NL | nl

Loading project from:   E:\7 GDrive MP\Prive\Corona Apps\RUN\Run ElementalApps

Project sandbox folder: D:\Users\User\AppData\Local\Corona Labs\Corona Simulator\Sandbox\run elementalapps-32A7E0F98402373FE51148DFCCB85C3A\Documents

PluginSync: plugin com.coronalabs/plugin.zip needs to be updated for platform win32-sim to build number: 2584

PluginSync: downloading plugin: http://plugins.coronasphere.com/com.coronalabs/plugin.zip/2013.2584/win32-sim/plugin.zip.zip

PluginSync: plugin com.coronalabs/plugin.hockey needs to be updated for platform win32-sim to build number: 2772

PluginSync: downloading plugin: http://plugins.coronasphere.com/com.coronalabs/plugin.hockey/2015.2772/win32-sim/plugin.hockey.zip

WARNING: The ‘plugin.hockey’ library is not available on this platform.

Additional info, I tried to minimize the code in my app to the bare minimum…

With this code in main.lua I get the following result. See for config.lua and build.settings below.

local hockeyApp = require( “plugin.hockey” )

hockeyApp.init( “real_value_with_lots_of_letters_and_numbers” )

RESULT:

Copyright © 2009-2016  C o r o n a   L a b s   I n c .

        Version: 3.0.0

        Build: 2016.2907

Platform: iPhone / x64 / 10.0 / GeForce GTX 560 Ti/PCIe/SSE2 / 4.5.0 NVIDIA 355.82 / 2016.2907 / nl_NL | NL | nl_NL | nl

Loading project from:   E:\7 GDrive MP\Prive\Corona Apps\RUN\only hockey

Project sandbox folder: D:\Users\User\AppData\Local\Corona Labs\Corona Simulator\Sandbox\only hockey-72400684E579578F9FF9692FAA71CDD2\Documents

WARNING: The ‘plugin.hockey’ library is not available on this platform.

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: kCoronaBuild [A device build error occurred on the server.

Error:

BuildID: 578e74f4562e8

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


A device build error occurred on the server.

Error:

BuildID: 578e74f4562e8


Android build failed (5)

CONFIG.LUA

application = 

{

    showRuntimeErrors = true,

content = 

scale = “adaptive”,

fps = 60,

imageSuffix = {

["@2x"] = 2,

["@3x"] = 3,

}

}

}

BUILD.SETTINGS

– For more information on build.settings see the Corona SDK Build Guide at:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

settings =

{

    plugins =

    {

        [“plugin.zip”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true, osx=true, win32=true }

        },

        [“plugin.hockey”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true }

        },

    },

orientation =

{

default = “portrait”,

supported = { “portrait” }

},

android =

{

usesPermissions =

{

– Permission to access the GPS.

“android.permission.ACCESS_FINE_LOCATION”,

– Permission to retrieve current location from WiFi or cellular service.

“android.permission.ACCESS_COARSE_LOCATION”,

“android.permission.INTERNET”,

            “android.permission.WRITE_EXTERNAL_STORAGE”

},

},

iphone =

{

plist =

{

   NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },

UIApplicationExitsOnSuspend=true,

CFBundleIconFiles =

{

“Icon.png”, 

“Icon@2x.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-167.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”,

},

NSLocationWhenInUseUsageDescription = “A description to the user of why you need access to location services.”,

},

},

window =

{

titleText =

{

default = “GPS”,

},

},

}

It looks like you’re not subscribed to the plugin: https://store.coronalabs.com/plugin/hockeyapp

Our apologies for the misleading error message. This was a problem introduced recently, and is being fixed.

Hi,

that did the trick! I do remember that I had to register, but kind of forgot I guess with all the other hocekyapp related stuff.

I am also happily using the zip plugin which does not need a register…

Thanks for analyzing and solving the issue, now see if I can get the distribution stuff done… :slight_smile:

That error generally indicates networking problems between you and our build servers. It can also happen if a plugin is taking too long to download (again most likely networking related).

Can you build if you leave the HockeyApp plugin out?

Can you build hello World?

Rob

Build without hockeyapp, commented out these lines in build.settings

settings =

{

    plugins =

    {

        [“plugin.zip”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true, osx=true, win32=true }

        },

–        [“plugin.hockey”] =

–        {

–            publisherId = “com.coronalabs”,

–            supportedPlatforms = { iphone=true, android=true }

–        },

    },

and these in main.lua

–local hockeyApp = require( “plugin.hockey” )

– Initialize plugin with app ID

–hockeyApp.init( “…” )

Builds ok with this result

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: 578c6ac73ccc1

Android build succeeded

Hello world result:

Loading project from:   D:\Progs\Dev\Corona Labs\Corona SDK\Sample Code\GettingStarted\HelloWorld

Project sandbox folder: D:\Users\User\AppData\Local\Corona Labs\Corona Simulator\Sandbox\helloworld-B4644177281F2EE320D3B0098C624834\Documents

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: 578c6a148cdcf

Android build succeeded

Hi,

Any progress on this?

Build this morning on iOS also gave the server error, buildnumber is 578dbc7e1905a.

Hope it helps in troubleshooting.

I’ll be available again in 9 hours if you need more tests to be run.

I’ve asked Engineering to look into it.

You can still use HockeyApp as a beta test service without the plugin. You just won’t get crash reports. I would continue working on other things and using the HockeyApp service while we investigate the issue.

Please give it a try now. 

Hi,

Result is:

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: kCoronaBuild [A device build error occurred on the server.

Error:

BuildID: 578e70e3473a4

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


A device build error occurred on the server.

Error:

BuildID: 578e70e3473a4


Android build failed (5)

But something change, I also see this now:

Copyright © 2009-2016  C o r o n a   L a b s   I n c .

        Version: 3.0.0

        Build: 2016.2907

Platform: iPhone / x64 / 10.0 / GeForce GTX 560 Ti/PCIe/SSE2 / 4.5.0 NVIDIA 355.82 / 2016.2907 / nl_NL | NL | nl_NL | nl

Loading project from:   E:\7 GDrive MP\Prive\Corona Apps\RUN\Run ElementalApps

Project sandbox folder: D:\Users\User\AppData\Local\Corona Labs\Corona Simulator\Sandbox\run elementalapps-32A7E0F98402373FE51148DFCCB85C3A\Documents

PluginSync: plugin com.coronalabs/plugin.zip needs to be updated for platform win32-sim to build number: 2584

PluginSync: downloading plugin: http://plugins.coronasphere.com/com.coronalabs/plugin.zip/2013.2584/win32-sim/plugin.zip.zip

PluginSync: plugin com.coronalabs/plugin.hockey needs to be updated for platform win32-sim to build number: 2772

PluginSync: downloading plugin: http://plugins.coronasphere.com/com.coronalabs/plugin.hockey/2015.2772/win32-sim/plugin.hockey.zip

WARNING: The ‘plugin.hockey’ library is not available on this platform.

Additional info, I tried to minimize the code in my app to the bare minimum…

With this code in main.lua I get the following result. See for config.lua and build.settings below.

local hockeyApp = require( “plugin.hockey” )

hockeyApp.init( “real_value_with_lots_of_letters_and_numbers” )

RESULT:

Copyright © 2009-2016  C o r o n a   L a b s   I n c .

        Version: 3.0.0

        Build: 2016.2907

Platform: iPhone / x64 / 10.0 / GeForce GTX 560 Ti/PCIe/SSE2 / 4.5.0 NVIDIA 355.82 / 2016.2907 / nl_NL | NL | nl_NL | nl

Loading project from:   E:\7 GDrive MP\Prive\Corona Apps\RUN\only hockey

Project sandbox folder: D:\Users\User\AppData\Local\Corona Labs\Corona Simulator\Sandbox\only hockey-72400684E579578F9FF9692FAA71CDD2\Documents

WARNING: The ‘plugin.hockey’ library is not available on this platform.

Using custom build id from app bundle: 00000 (AppSettings.lua)

Using custom Build Id 00000

BuildID: kCoronaBuild [A device build error occurred on the server.

Error:

BuildID: 578e74f4562e8

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


A device build error occurred on the server.

Error:

BuildID: 578e74f4562e8


Android build failed (5)

CONFIG.LUA

application = 

{

    showRuntimeErrors = true,

content = 

scale = “adaptive”,

fps = 60,

imageSuffix = {

["@2x"] = 2,

["@3x"] = 3,

}

}

}

BUILD.SETTINGS

– For more information on build.settings see the Corona SDK Build Guide at:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

settings =

{

    plugins =

    {

        [“plugin.zip”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true, osx=true, win32=true }

        },

        [“plugin.hockey”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true }

        },

    },

orientation =

{

default = “portrait”,

supported = { “portrait” }

},

android =

{

usesPermissions =

{

– Permission to access the GPS.

“android.permission.ACCESS_FINE_LOCATION”,

– Permission to retrieve current location from WiFi or cellular service.

“android.permission.ACCESS_COARSE_LOCATION”,

“android.permission.INTERNET”,

            “android.permission.WRITE_EXTERNAL_STORAGE”

},

},

iphone =

{

plist =

{

   NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },

UIApplicationExitsOnSuspend=true,

CFBundleIconFiles =

{

“Icon.png”, 

“Icon@2x.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-167.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”,

},

NSLocationWhenInUseUsageDescription = “A description to the user of why you need access to location services.”,

},

},

window =

{

titleText =

{

default = “GPS”,

},

},

}

It looks like you’re not subscribed to the plugin: https://store.coronalabs.com/plugin/hockeyapp

Our apologies for the misleading error message. This was a problem introduced recently, and is being fixed.

Hi,

that did the trick! I do remember that I had to register, but kind of forgot I guess with all the other hocekyapp related stuff.

I am also happily using the zip plugin which does not need a register…

Thanks for analyzing and solving the issue, now see if I can get the distribution stuff done… :slight_smile: