How to debug Pega Mobile Client & Login Issue

Hi Guys,


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. 


Problem Description

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.

I'm reffering to the following feature , which I unfortunately can't utilize.


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.


Thanks in advance!

Kind regards


*NOTE* I can add screenshots if neccesary :) 


Keep up to date on this post and subscribe to comments

November 15, 2016 - 3:48am

May be this article should be your starting point for futher debugging. 

November 15, 2016 - 2:07pm

THis document talks about correctly building an offline application. Maybe you can check whether you followed all the right steps.



November 19, 2016 - 5:35pm

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:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)}
span.s1 {font-variant-ligatures: no-common-ligatures}

./emulator -avd <avd name> -http-proxy http://<ip>:<port>

November 29, 2016 - 3:26am
Response to KevinZheng_GCS

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 :)

December 14, 2016 - 3:29am

Hello All,

The user has let us, moderators, know that this requirement will be taken up at a later date! We will be closing this discussion to future replies, for now.

Lochan  |  Community Moderator  |  Pegasystems Inc.

Lochana | Community Moderator | Pegasystems Inc.