E1: CAF1: Certain URL Content Display Blank Page or Error 'This content cannot be displayed in a frame' or 'xx.xxx.xx refused to connect'. Error in Browser 'Refused to display 'https://(URL)' in a frame because it set 'X-Frame-Options' to 'sameorigin'
(Doc ID 2563880.1)
Last updated on OCTOBER 04, 2022
Applies to:JD Edwards EnterpriseOne Tools - Version 9.1 and later
Information in this document applies to any platform.
A CafeOne layout which calls an external third party URL is not able to display the URL content in a frame.
Already set the frame busting to "never" in JAS.INI for HTML Server Instance as follows:
However, users are still getting the error Refused to display 'https://(URL)' in a frame because it set 'X-Frame-Options' to 'sameorigin'. for the CafeOne layout shown in the browser console.
In this example, the CafeOne Layout display the following error for the URL content:
xxxx.xxxx.com refused to connect
From the browser console inspect debugging shows the following:
RunApp.mafService?e1=xxxxx:1 Refused to display 'https://.....' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
When trying to embed certain URL contents (links/webpage contents) in CafeOne layout, either they are displayed as blank or you may see an error 'xxxx.xxxx.com refused to connect' in non-IE browser or 'This content cannot be displayed in a frame' message is displayed in IE browser.
For example, when trying to use http://www.oracle.com as the URL content :
Below message appears. Click on 'Open this content in a new window' link to open the URL content.
Non-IE browser ( Chrome, Firefox )
Above message might not display any message but will display the URL content as blank. Click on Popup Content icon in top right-hand corner to display URL content.
This difference in behavior between the browsers is reported in <Bug 25079868> CONTENT CANNOT BE DISPLAYED IN A FRAME - ONLY DISPLAYS IN IE.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document