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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
New Developer
dkerr
Posts: 38
Registered: ‎12-01-2010

Username/password invalid or time on the device is out of sync

I get this error when trying to debug to device in Flash Builder .

 

Username/password invalid or time on the device is out of sync

 

I have the simulator in development mode and I have a password set.  I'm using the correct password inside Flash Builder debug configuration.  

 

Any ideas? I'm on Windows 7.  Tried turning off firewall and tried "Run as Admin" and it did not fix the problem.

 

Also,  I have the Virtual Machine set to the default NAT and  I'm using the IP address from the simulator in my target IP setting.  But, how to I know which IP to use for the host?  I've tried localHost, 127.0.0.1 and I've tried all other IPs I see in IPCONFIG.  none of them got me passed this error.

 

What does it mean that "time is out of sync"? 

 

Not sure how to get this working. I'd appreciate any help.

Thanks,

Don Kerr

 

 

 

Don Kerr
Manager, Space City Adobe User Group
Houston, Tx
www.spacecityaug.com
Please use plain text.
Developer
peter9477
Posts: 5,812
Registered: ‎12-08-2010
My Carrier: none

Re: Username/password invalid or time on the device is out of sync

Which version of SDK and simulator are you using?  (Check carefully if you're not sure, as many have mistakenly assumed they were using one version, including after an update, when in fact they were not.)

 

This problem you describe is supposedly fixed in the 0.9.4 simulator.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Trusted Contributor
PBDev
Posts: 108
Registered: ‎12-28-2010
My Carrier: Verizon

Re: Username/password invalid or time on the device is out of sync

[ Edited ]

Everytime you start the simulator you have to set the date/time to the same as your computer. I think within a minute is close enough. You can set the time in the simulator by tapping on the configure icon on the top right side of the simulator.

 

EDIT: I just realized you don't have to do that now with 0.9.4. You may just have to upgrade.

Please use plain text.
Developer
MauriceRice
Posts: 418
Registered: ‎03-17-2011
My Carrier: Telus

Re: Username/password invalid or time on the device is out of sync

 

Hi all,
 
I noticed the following message in the vmware log. 
 
Message reads: 
"Your host system does not guarantee synchronized TSCs across different CPUs, so please set the /usepmtimer option in your Windows Boot.ini file to ensure that timekeeping is reliable. See Microsoft KB http://support.microsoft.com/kb/895980 for details and Microsoft KB http://.support.microsoft.com/kb/896256 for additional information"
Modifying the boot.ini file as recommended in the first KB item seems to have cleared up the time synch problem. Both sims 0.9.3 and 0.9.4 now keep proper time 
Running XP service pack 3 on AMD Athlon 64 X2 Dual Core Processor 3800+
Maurice

 

_________________________
In the dark and need a sky map?
Discover What's up at App World.
Follow What's up on Facebook

Please use plain text.