PRGateway Exception when using Microsite link from an email
SummaryAn 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
- Send a mail from a secured environment, adding the microsite link.
- Then try to open the link from email.
Root CauseA 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.
ResolutionPerform 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>
document.write("<title>" + getParamVal("Site") + "</title>");
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 April 11, 2017 - Updated February 28, 2018