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

Mashup does not always appear on host application screen

SA-51663

Summary



Sometimes the mashup script is not loading correctly and therefore Pega returns an empty page.

Tracing doesn't show any results and the Pega application doesn't log any activity. There are not any records in any logs about this error.



Error Messages



Not applicable


Steps to Reproduce

  1. Login on one portal which is using the mashup gadget.
  2. Go to a second portal which is also using a mashup gadget.


Root Cause



A defect or configuration issue in the operating environment.

It is found that mashup gadget were pointing to the same server, expect for the port.

For instance:

First mashup: http://xyz:1000/prweb
Second mashup: http://xyz:2000/prweb

Because of this, the same cookies (JsessionID or Pega-Rules) is being sent to both server which result in the Pega server getting unclear about the session.

This happens because browser enforce same origin policy for cookies based on hostname/path but not port.

In other words, about cookies, from the browser perspective, http://xyz:1000/prweb and http://xyz:2000/prweb are the same server so same cookies must be sent.


Resolution



From the browser perspective, the URL of both application must be different to avoid confusion related to cookies.

There are numerous solution to this such as hosting one of the application on a different server, or using virtual host and so on.

Published May 3, 2018 - Updated October 8, 2020

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