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
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,784
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.
Found a bug? Report it using Issue Tracker
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!
Highlighted
BlackBerry Development Advisor
Posts: 15,784
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.
Found a bug? Report it using Issue Tracker
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?