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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Contributor
Posts: 33
Registered: ‎04-26-2010
My Device: Z10 / PlayBook 16GB
My Carrier: Verizon
Accepted Solution

"User authentication failed" when trying to deploy app to device

Out of the blue in the middle of the day yesterady, I cannot deploy any apps to my Z30.

 

The message (tried both Momentics and command line blackberry-deploy) simply says "User authentication failed".

 

 

Note that this is different from the message you get when you specify the wrong password, which is "Error: Authentication failed. There have been 1 of 5 failed attempts", so I know that my password is correct.

 

 

I am able to successfully SSH to the device after using the blackberry-connect command, but cannot upload a debug token or deploy any apps.

BlackBerry Development Advisor
Posts: 15,889
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: "User authentication failed" when trying to deploy app to device

Can you post the full output you see?  Is there any proxy, VPN and/or firewall that could be attempting to intercept the connection?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Contributor
Posts: 33
Registered: ‎04-26-2010
My Device: Z10 / PlayBook 16GB
My Carrier: Verizon

Re: "User authentication failed" when trying to deploy app to device

I accidentally launched "sys.firstlaunch" (using the BB10 chrome extension) and I think it might be why it broke. I think that is true because about every 3-4 hours there was a popup that wanted me to setup the device again.

I did a full restore and it's working just fine now!
BlackBerry Development Advisor
Posts: 15,889
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: "User authentication failed" when trying to deploy app to device

That would do it.  You have to complete that setup before the device is fully functional over USB.  Manually running sys.firstlaunch reset that flag.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Developer
Posts: 123
Registered: ‎01-11-2013
My Device: BlackBerry z10
My Carrier: Docomo

Re: "User authentication failed" when trying to deploy app to device

where do i find sys.firstlaunch  flag in device?