Posted: 14 Nov 2016 18:32 EST Last activity: 14 Dec 2016 3:29 EST
How to debug Pega Mobile Client & Login Issue
I started to develop an Android app (Pega Mobile Client) with an Personal Edition on the version 7.2. I didn't do it from scratch but I exported an application from 7.2.1 und imported it to 7.2. As far as I am concerned, I already did the right configurations regarding enabling the environment for Pega Mobile (Mobilebuildserverrule, Certificates etc.). The application/main case consists of several Single Step Assignments and one Create PDF Utility hence it doesn't use Screenflows.
I succesfully build the app, but only without enabling the cases online. It works though just as the application if you call it from the browser. But as soon as I enable the case offline the application doesn't work anymore. To be precise, I can't login to the app, it only returns "Unable to access the server - login process failed" (something like that). The user credentials are correct and the tomcat doesn't show any error messages or logs.
My main problem is, that I do not get any useful error messages and / or logs. I already enabled the loggin mechanismn for the Pega Mobile client, and set the log level to "debug", but I don't know how to access them.
So if anyone explains me how to correctly debug the Pega Mobile Client or if you have any ideas why I can't even correctly login to the offline enabled application, that would be nice.
can you attach the debug log from the pega mobile client (Hybrid client)? Also, you can use Android emulator/device with a proxy server (e.g., fiddler/charles proxy) to track the http trace while replicating the issue? Furthermore, you can check the pega server log if there are any exceptions/error. For example, on a mac machine, you can use the command to start the emulator:
I can't access the debug log from the hybrid client (even though I set the correct setting in the build). The pega server doesn't receive anything. I'll try the proxy server suggestion as soon as I find time for it. Thanks for the reply :)