Problem with Authorization for Corona Builder

Hi,

i try to use Corona Builder but there seems to be a problem with the authorization.

I first did “CoronaBuilder authorize” with the following response:

This computer is registered with the 'Enterprise (Native extensions)' subscription. Authorization succeeded.

But when i try to build an App now, i get this error:

Could not launch Corona Builder. Your current subscription 'Enterprise (Native extensions)' does not have sufficient privileges. ERROR: This computer has not been properly authorized. Please use the 'authorize' command or check that your subscription type is valid.

I also tried to de-authorize and authorize again some times, that doesn`t seem to help. Is there anything else i could try to make this work?

Regards,

Josh

joshua - this seems odd. What build # are you using?

When you say “build an App” do you mean “sign an App”?

Or, put another way, what is the CoronaBuilder command line that is being run?

I´m using version 2014.2401.

The command line is /Applications/CoronaEnterprise/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder build --lua /Users/Josh/Desktop/corona_Build_settings.lua

Hi,

  I try to login corona enterprise but i can’t login corona enterprise,Please help me.

  Here I followed step to Activate corona enterprise.

  1.Open terminal window on Mac.

  2.Type below command and enter.

/Applications/CoronaEnterprise/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder authorize email password

  i changed my email and password.

 3.But I got login errors below is my errors.

2014-08-19 13:41:49.715 CoronaBuilder[2816:507] Connection error: (user.login2) fault(Wrong username or password.)

2014-08-19 13:41:49.717 CoronaBuilder[2816:507] Connection error: (user.login2) ({

    “/FaultCode” = 1;

    “/FaultString” = “Wrong username or password.”;

    “/kWSHTTPResponseMessage” = “<CFHTTPMessageRef 0x7fdfb2709bf0(0x7fdfb2709c00)> { parsed response, url = http://developer.coronalabs.com/services/xmlrpc, status = 200 }”;

    “/kWSResultIsFault” = 1;

})

ERROR: Incorrect e-mail and/or password.

ERROR: Could not authorize this computer. Please check your Internet connection or your login/password.

 

 

 

Please i need help.

prmobiapp - That just looks like a wrong username or pwd. Are you absolutely certain you are putting in the correct credentials?

joshua.kaiser - the error you are seeing is because you are trying to use/launch CoronaBuilder, which is a separate thing to standard Corona Enterprise. Is that what you are trying to do? Or do you just mean to use Corona Enterprise?

@ DavidRangel - We are using the correct user name and password which we are using to login the coronalabs website. Could you please help me resolving this issue?

prmobiapp - there really isn’t much we can do with this since it is a basic authorization. Can you send me an email with your email and pwd? Then maybe we can see if we can reproduce and if there is something wrong. (david AT coronalabs.com)

I’m trying to think what the issue might be …

You should put your password in single-quotes if it has anything other than letters and numbers in it (if it contains single-quotes, put it in double-quotes).  Can you also PM the email address of the account you are trying to login with?

@DavidRangel - Already sent a email to you. Thanks for your help!

@Perry Clarke - Thanks Perry for your response. Yes we have some special character in our password and was trying without quotes. We will try with quote and update you…

prmobiapp - we confirmed it is the special character in your pwd. You need to use quotes and/or escape it with a slash.

@DavidRangel so we need a separate license to use Corona Builder?

joshua.kaiser - well, usually you do. Are you going to use it for automating server builds?

yes, we want to use it to create automated builds with our jenkins ci server.

joshua.kaiser - can you email me directly? We’ll sort this out. david AT coronalabs.com

DavidRangel - I am trying to integrate GameCircle with my apps. now i created a new profile for apps and followed the instructions for that profile, but I half-suspect that profiles may be causing the errors. I did grab the latest SDK and I’m testing against the Android emulator.

The error is related to the API key. I’ve double-checked the MD5 I used and it seems correct. Could it be something with my emulator?

08-21 20:23:05.512: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(17662): getAppInfo : packageName=com.crazy.crazyrocket

08-21 20:23:05.512: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(17662): Finding API Key for com.crazy.crazyrocket

08-21 20:23:05.513: I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(17662): Attempting to parse API Key from assets directory

08-21 20:23:05.516: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662): Begin decoding API Key for packageName=com.crazy.crazyrocket

08-21 20:23:05.531: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(17662): APIKey:<obscured>

08-21 20:23:05.532: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  num sigs = 1

08-21 20:23:05.533: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(17662): Signature checking.:<obscured>

08-21 20:23:05.533: D/OpenSSLLib(17662): OpensslErr:Module:13(114:155); file:external/openssl/crypto/asn1/asn1_lib.c ;Line:142;Function:ASN1_get_object

08-21 20:23:05.534: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(17662): Fingerpirint checking:<obscured>

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662): Failed to decode: Decoding fails: certificate fingerprint can’t be verified!

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662): java.lang.SecurityException: Decoding fails: certificate fingerprint can’t be verified!

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.amazon.identity.auth.device.appid.APIKeyDecoder.verifyPayload(APIKeyDecoder.java:332)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.amazon.identity.auth.device.appid.APIKeyDecoder.doDecode(APIKeyDecoder.java:127)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.amazon.identity.auth.device.appid.APIKeyDecoder.decode(APIKeyDecoder.java:91)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.amazon.identity.auth.device.appid.AbstractAppIdentifier.getAppInfo(AbstractAppIdentifier.java:85)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.<init>(AmazonAuthorizationManager.java:123)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.amazon.ags.api.AmazonGamesClient.initialize(AmazonGamesClient.java:144)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.crazy.crazyrocket.MainActivity.onResume(MainActivity.java:30)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1197)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.app.Activity.performResume(Activity.java:5343)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2950)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2993)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.os.Handler.dispatchMessage(Handler.java:110)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.os.Looper.loop(Looper.java:193)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at android.app.ActivityThread.main(ActivityThread.java:5292)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at java.lang.reflect.Method.invokeNative(Native Method)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at java.lang.reflect.Method.invoke(Method.java:515)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)

08-21 20:23:05.535: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(17662):  at dalvik.system.NativeStart.main(Native Method)

08-21 20:23:05.537: E/GameCircleClient(17662): Unable to read api key.  GameCircle requires an api key to be included in ‘assets/api_key.txt’.  GameCircle will not initialize.

08-21 20:23:05.537: E/GameCircleClient(17662): java.lang.IllegalArgumentException: Invalid API Key

08-21 20:23:05.537: E/GameCircleClient(17662):  at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.<init>(AmazonAuthorizationManager.java:126)

08-21 20:23:05.537: E/GameCircleClient(17662):  at com.amazon.ags.api.AmazonGamesClient.initialize(AmazonGamesClient.java:144)

08-21 20:23:05.537: E/GameCircleClient(17662):  at com.crazy.crazyrocket.MainActivity.onResume(MainActivity.java:30)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1197)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.app.Activity.performResume(Activity.java:5343)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2950)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2993)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.os.Handler.dispatchMessage(Handler.java:110)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.os.Looper.loop(Looper.java:193)

08-21 20:23:05.537: E/GameCircleClient(17662):  at android.app.ActivityThread.main(ActivityThread.java:5292)

08-21 20:23:05.537: E/GameCircleClient(17662):  at java.lang.reflect.Method.invokeNative(Native Method)

08-21 20:23:05.537: E/GameCircleClient(17662):  at java.lang.reflect.Method.invoke(Method.java:515)

08-21 20:23:05.537: E/GameCircleClient(17662):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)

08-21 20:23:05.537: E/GameCircleClient(17662):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)

08-21 20:23:05.537: E/GameCircleClient(17662):  at dalvik.system.NativeStart.main(Native Method)

08-21 20:23:05.537: D/ActivityThread(17662): ACT-AM_ON_RESUME_CALLED ActivityRecord{425abe20 token=android.os.BinderProxy@425ab5f8 {com.crazy.crazyrocket/com.crazy.crazyrocket.MainActivity}}

08-21 20:23:05.538: V/PhoneWindow(17662): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{42643a58 com.crazy.crazyrocket/com.crazy.crazyrocket.MainActivity,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{425b41a0 V.E… R…I. 0,0-480,800}

08-21 20:23:05.539: D/ActivityThread(17662): ACT-RESUME_ACTIVITY handled : 1 / android.os.BinderProxy@425ab5f8

08-21 20:23:05.540: V/InputMethodManager(17662): onWindowFocus: null softInputMode=288 first=false flags=#1810100

08-21 20:23:05.540: V/InputMethodManager(17662): START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{425b41a0 V.E… R…I. 0,0-480,800} ic=null tba=android.view.inputmethod.EditorInfo@426c8720 controlFlags=#100

08-21 20:23:05.986: D/OpenGLRenderer(17662): prepareDirty (0.00, 0.00, 480.00, 800.00) opaque 1 <0x60a23008>

08-21 20:23:05.986: D/OpenGLRenderer(17662): finish <0x60a23008>

You’ll probably get more traction by posting this as a new topic so people who are interested in GameCircle rather than CoronaBuilder will see it.

The cause of your problem would appear to be listed in the console output you pasted:

08-21 20:23:05.537: E/GameCircleClient(17662): Unable to read api key.&nbsp; GameCircle requires an api key to be included in 'assets/api\_key.txt'.&nbsp; GameCircle will not initialize. 08-21 20:23:05.537: E/GameCircleClient(17662): java.lang.IllegalArgumentException: Invalid API Key

I created one game and put Amazon IAP on that game using corona sdk Basic version it’s working but now i changed corona sdk basic to corona enterprise.now i executed my game using corona enterprise the Amazon IAP is not working and i found some information on the link http://docs.coronalabs.com/plugin/amazon.iap/index.html That said like if you execute Amazon IAP using enterprise you have to put  in-app-purchasing-1.0.3.jar,plugin.amazon.iap.jar file on Android Projects. That said this two file are in Plugins-3rd-Party folder of the CoronaEnterprise but when i checed this two file on the folder is not there.

Please i need this two jar file to execute Amazon IAP on corona enterprise.Please help me.

prmobiapp - You are still on the Enterprise trial, so you don’t have access to the plugins.

In Enterprise, you have to include plugins by downloading the files and including them in your project. The plugin files are available to download in a zip file in the same page where you download non-trial daily builds. Since you are still a trial user, you don’t have access to that page yet.

Does that make sense?