cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication Failed in emulator and device

Former Member
0 Kudos

hai

     i was trying to register My Android Emulator with Sybase Control Center..But it shows Authentication Failed...what the problem is i was already register the same username and password and running my Workflow's....Before facing this problem..i was using th same username and password for my login credential

am using and could able to fetch the data's...Suddenly while runnning my workflow it ask login username and password it doesn't show the success screen

it again navigate to login screen onlly....

   That time i saw the log it shows bad user or code like this..after trying many times.

..i was uninstall and reinstall it and checking that am facing same it shows Authentication Failed..and i had restrated the server...and delete the previous connection in SCC...But am getting same problem...

If anyone know the solution Plz reply for this...

Regards

Sathiya

Accepted Solutions (0)

Answers (3)

Answers (3)

midhun_vp
Active Contributor
0 Kudos

When you are creating/registering user for the Android device give your SUP server IP (try with private IP) and check in the device settings also provide the Private IP and check. I guess it will work.

Is it working when you are creating a new user which is different from the old one?

If it is not working restart the server and check.

Regards

Midhun VP

Former Member
0 Kudos

Dear Sathiya,

It will sound weird but try this:

Don't register your device in SCC, instead of that connect your device directly using supAdmin credentials.

After it gets connected and can be seen on SCC, assign the workflow. It might work.

Even I had this problem and it got resolved by this!

Regards

Deepak Batra

Former Member
0 Kudos

Yaah You r telling right...But what is my doubt am having more than one screen to get the backend username as input..So If i use supAdmin username and password it take supAdmin as a username right..Here i couldn't able to get my data..Because my Test case data under that username only..and i dont want to give username at runtime..i want to get and check dynamically using BackEndUser...

Former Member
0 Kudos

Ohkay..It will be helpful if u can explain it in detail, there might be something with your process of checking username which can help.

Former Member
0 Kudos

yaah sure...

     My first screen is start screen okay in this am using credential username and password so when the user open the application at first time they have to give username and password this is check with my backend user and password which i was using for device registration...

     and my sccessfull screen i have to display my listview after click on button in this screen i took the same username this also i do not want to give manually it check with my backend user..if it is the backend username it shows the data in listview...I think now you are clearing what i say...

   If i give supAdmin is my username while login screen if i give my username like xxxx something

it check xxxx with backend user supAdmin if it is not matching then my credential fails i couldn't able to view my data's....

So i need to register that xxxx username only...but i couldn't able to register...

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

I am not sure completely following but if you are using a Mobile Workflow/Hybrid App and have questions about user name and passwords, the following sample might help.

Credentials in a Mobile Workflow  https://cw.sdn.sap.com/cw/docs/DOC-149768

Former Member
0 Kudos

As per my understanding you should check whether exactly same set of characters are getting passed while validating back end username in the second step.

Because either the flow of application or user credentials can be the possible cause of this issue.

You can debug at that part.

Regards

Deepak Batra

Former Member
0 Kudos

i solved this problem...i gave my old password it accept now..but i couldn't able to register with that password..What you meant by private IP address..........

Regards

Sathiya...

sujith_prathap
Advisor
Advisor
0 Kudos

Hi Sathiya,

               Why don't you delete your old user from the SCC and also reset your emulator(in case of emulator)/delete you app from your device and re-install your app(in case of device) and then try and see if it works.

Best Regards,

Sujith

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sathiya,

are you talking about the User name registered for the device?

Regards,

Jitendra

Former Member
0 Kudos

Yaah...We give server name and username ,password...while registering device in SCC right...

That username and password...it shows the Authentication Failed..The same username i had registered and working already...I check the same username and password in other application also..It is working..