Support Article

PRPC unable to connect to mobile build server using proxy

SA-37361

Summary



Cannot build mobile applications through proxy server after upgrading to Pega 7.2.2.


Error Messages



[ PegaRULES:07.10] (ient.InternalBuildServerClient) DEBUG <ip1>|<ip2> <operator id> - Setting Build Server's RESTClient proxy with proxyHost: <host>, proxyPort: <port>
2017-04-12 16:20:58,441 [http-bio-8080-exec-9] [TABTHREAD1] [ ] [ PegaRULES:07.10] (ient.InternalBuildServerClient) DEBUG <ip1>|<ip2> <operator id> - Requesting the Build Server with payload: '{"build":[{"job":"prpc-hybrid-android","build":"be23bd24-1488-4a05-9986-02d11ff1b419","parameters":[{"name":"customization.zip","value":"file0","type":"file"},{"name":"prpc_version","value":"7.2.2","type":"string"},{"name":"hc_version","value":"","type":"string"}]}]}'

2017-04-12 16:31:17,867 [ttp-bio-8080-exec-10] [TABTHREAD1] [ ] [ PegaRULES:07.10] (build.DefaultBuildServerClient) ERROR <ip1>|<ip2> <operator id> - Error occured during submitting of the build '00e86d10-25b5-4fe8-a6c3-d1cf8e537928' for platform 'android'
com.pega.pegarules.priv.mobile.build.BuildServerClientException: Error during connection to Build Server
at com.pega.pegarules.integration.mobile.internal.build.client.BaseRequestHandler.handle(BaseRequestHandler.java:92)
at com.pega.pegarules.integration.mobile.internal.build.client.InternalBuildServerClient.build(InternalBuildServerClient.java:121)
at com.pega.pegarules.integration.mobile.internal.build.DefaultBuildServerClient.submit(DefaultBuildServerClient.java:284)
at com.pegarules.generated.activity.ra_action_pzcreatebuild_bf9efe2a73ebe8960eca1ca9497bec95.step2_circum0(ra_action_pzcreatebuild_bf9efe2a73ebe8960eca1ca9497bec95.java:374)
at com.pegarules.generated.activity.ra_action_pzcreatebuild_bf9efe2a73ebe8960eca1ca9497bec95.perform(ra_action_pzcreatebuild_bf9efe2a73ebe8960eca1ca9497bec95.java:95)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.step1_circum0(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:319)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.perform(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:70)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
......

Steps to Reproduce



Host a Pega application on a server without direct internet access and need to access via a proxy set -Dhttps.proxyHost -Dhttps.proxyPort properties in JVM generic argument. Then try to build a mobile app with Mobile URL https://mobilebuildserver.pega.com/buildserver


Root Cause



A defect in Pegasystems’ code or rules.

Resolution



Apply HFIX-33052, HFIX-33175, and HFIX-34019..

Published May 2, 2017 - Updated May 5, 2017

Have a question? Get answers now.

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