Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10
My Carrier: Blackberry

Application Export Authentication Failure

Hi,

 

I developed a native bb10 app in C/C++ QNX Momentics. I got the signing keys and signed application successfully and got the successfull registration mail from RIM after signing. When I try to export my application, getting error about Authentication Failure at the last step. What can I do?

 

Waiting your help,

Thanks...

Please use plain text.
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10
My Carrier: Blackberry

Re: Application Export Authentication Failure

I created a simple project and tried to export release build, I get error but there is no any explanation about it. Only this message appears : Error : null

 

But when I unchecked "Enable Digital Signing" option at the last step. I don't get any error. Is it problem for applicaition deployment?

Please use plain text.
Administrator
MSohm
Posts: 14,429
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Application Export Authentication Failure

Which SDK are you using?  I believe the "Error: null" was present in an older version of the BlackBerry Native SDK, which has been fixed.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10
My Carrier: Blackberry

Re: Application Export Authentication Failure

I'm using  Blackberry 10 Native SDK 10.0.10.738 also tried 10.1.0.1020 but  the same error occurs again. I created a new empty cascade project and didn't change anything, I can run it on Dev Alpha without problem but when I tried to export release getting null error like screenshot.

 

In this link(http://supportforums.blackberry.com/t5/Cascades-Development/Warnings-in-Momentics-for-all-apps/td-p/...) there is an issue similar to my problem, I tried this solution also but didn't work.

 

Thanks for your help...

 

 

cascadeserror.png

Please use plain text.
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10
My Carrier: Blackberry

Re: Application Export Authentication Failure

Included screenshot about error.

 

cascadeserror

Please use plain text.
Administrator
MSohm
Posts: 14,429
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Application Export Authentication Failure

The Error Null indicates that the BlackBerry Native SDK isn't correctly picking up the error from signing.  Please reproduce the steps to trigger it, then go to Help menu -> Report a Bug and submit a bug report.  I can then get the development team to see why the error isn't being picked up.

 

We need to find the real error to see what to fix.  For that, export a release build but uncheck Enable Digital Signing.  This will produce an unsigned bar file. Then run the following command from a command prompt.

 

blackberry-signer -storepass your_password your_bar_file.bar

 

blackberry.signer.bat is located in the Native_SDK_Install_Dir\host_10_1_0_132\win32\x86\usr\bin directory.

 

Run that and post the error you see.

 

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10
My Carrier: Blackberry

Re: Application Export Authentication Failure

I tired to export on my personel computer, I didn't get any error but when I tried to export with my work computer I couldn't. Problem may be proxy server? Because there is proxy server at work. We completed "Configure app signing through a proxy server in the IDE" steps.

 

Thanks...

Please use plain text.
Administrator
MSohm
Posts: 14,429
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Application Export Authentication Failure

The proxy could be causing issues.  Try the command line method and post the error you see.  If you do need to go through the proxy, you can also add in the proxy parameters to that command line.

 

-proxyhost <host> - proxy host
-proxyport <port> - port number for connecting to the proxy host
-proxyusername <username> - username for the proxy host (optional)
-proxypassword <password> - password for the proxy host (optional)

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10
My Carrier: Blackberry

Re: Application Export Authentication Failure

Ok thanks I will try it but I have a question about proxy. Could you give us your signing IP that when I want to export my project it tries to connect your server(or cloud)? If you could, we can give authority for this IP on our proxy server.

Please use plain text.
Administrator
MSohm
Posts: 14,429
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Application Export Authentication Failure

When signing, an HTTP connection is made to www.rim.net on port 80.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.