Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Problem downloading build for Pega Mobile



The user have created a mobile certificate set for android and tried to build an android application for their application in Pega 7.2. The build was successfully loaded till 100% and while downloading the build it got stuck and it shows loading button for the last few days.

Error Messages

Log file error:

016-10-14 12:50:53,410 [egaRULES-MasterAgent] [  STANDARD] [                    ] [                    ] (          internal.async.Agent) INFO    - System date: Fri Oct 14 12:50:53 IST 2016 Total memory: 463,732,736 Free memory: 102,261,520 Requestor Count: 14 Shared Pages memory usage: 0%
2016-10-14 12:52:24,723 [   PegaRULES-Batch-1] [  STANDARD] [                    ] [ReportAbuse:01.01.02] (Status.Rule_Application.Action) INFO   XXXBBCS - Mobile build succeeded
2016-10-14 12:52:24,822 [   PegaRULES-Batch-4] [  STANDARD] [                    ] [ReportAbuse:01.01.02] (ector.Rule_Connect_REST.Action) ERROR  XXXSER - peer not authenticated
2016-10-14 12:52:24,822 [   PegaRULES-Batch-4] [  STANDARD] [                    ] [ReportAbuse:01.01.02] (      internal.mgmt.Executable) ERROR  XXXSER - Exception Caught unhandled exception: peer not authenticated
    at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(
    at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.perform(
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
    at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.step7_circum0(
    at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.perform(
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
    at com.pegarules.generated.activity.ra_action_pzdownloadbuild_886598c5394801c8addb1195b6323c83.step3_circum0(
    at com.pegarules.generated.activity.ra_action_pzdownloadbuild_886598c5394801c8addb1195b6323c83.perform(
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
    at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(
    at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(
    at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(
    at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
Caused by: peer not authenticated
    at com.pega.apache.http.conn.ssl.AbstractVerifier.verify(
    at com.pega.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
    at com.pega.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
    at com.pega.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(
    at com.pega.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(
    at com.pega.apache.http.impl.client.DefaultRequestDirector.tryConnect(
    at com.pega.apache.http.impl.client.DefaultRequestDirector.execute(
    at com.pega.apache.http.impl.client.AbstractHttpClient.execute(
    at com.pega.apache.http.impl.client.AbstractHttpClient.execute(
    at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(
    ... 21 more

Steps to Reproduce

  1. Created a certificate set for Android
  2. In the application rule, under custom mobile app tab, selected the version and Certificate set name and clicked "Build Now" button.
  3. The build was started to load and its loaded 100% then while downloading it got stuck and on screen it shows the load button for the past few days. Its still showing even after clearing the cache and restarting the server.

Root Cause

There were changes to Pega Mobile build server which were not communicated to the users. Build server was switched to use HTTPS or SSL, which was not communicated to the user, as required SSL intermediate certificates were not present in the trust store build was failing with an error.


1. Download all the certificates in the certificate path by navigating to the build server URL through a web browser.

2. Add all the certificates as a trusted certificates to java trust store (cacerts) file by using the below command.

keytool -keystore cacerts -importcert -alias <aliasname> -file <name of the .cer file>

Alias name can be any name of choice preferably a name which can be used to identify the purpose of the certificate.
Export the certificate as a "DER encoded binary X509 (.CER)" file



Published October 25, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us