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

PRGateway Exception when using Microsite link from an email

SA-36348

Summary



An email with microsite link is send to a contact.

The contact is trying to open it from the link and is getting the error: "
PRGateway Exception: error response from PRPC".

It is working in Developer environment and not working in Test Environment.

Error Messages



"PRGateway Exception: error response from PRPC".


Steps to Reproduce

  1. Send a mail from a secured environment, adding the microsite link.
  2. Then try to open the link from email.


Root Cause



A configuration issue in PRPC.

In the Test environment, URL encryption was activated on the PRPC server.

The Mashup gadget used by the Microsite feature was not configured to use encryption. Hence unencrypted request sent to the PRPC server resulted on an error.


Resolution



Perform the following local-change:

Out-of-the-box (OOTB), the index.html page (on the MS.war file used for the Microsite feature) contain a Mashup gadget which is not using encryption:


<html>
<head>
<script src="PegaInternetApplicationComposer.js"></script>
<script src="PegaInternetApplicationComposerNBAM.js"></script>
<script type="text/javascript">
document.write("<title>" + getParamVal("Site") + "</title>");
</script>

<script>
pega.web.config.encrypt =false;
pega.web.config.gatewayURL = "/prgateway/PRPCGateway/";
pega.web.config.appName = "PegaMarketing";
pega.web.config.systemID = "NBAM";
pega.web.config.thread = "STANDARD";
</script>



By changing the encryption to true, the issue gets resolved:

pega.web.config.encrypt =true;

Published March 1, 2018 - 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