[SalesForce] Managed package inline VF page not working: login.salesforce.com refused to connect

We are working on a managed package and having a VF page that can be added as an inline page. While testing it in the installed org, that inline page is not rendering sometimes and it's showing the error as "login.salesforce.com refused to connect".

In browser console we are getting below error messages:

Refused to display
'https://login.salesforce.com/?ec=302&startURL=%2Fapex%2FWEInlineLead%3Finline%3D1%26id%3D00Q1U0000061Y8I'
in a frame because it set 'X-Frame-Options' to 'deny'.

Refused to display
'https://login.salesforce.com/?ec=302&startURL=%2Fapex%2FWEScoreAndRateForLead%3Finline%3D1%26id%3D00Q1U0000061Y8I'
in a frame because it set 'X-Frame-Options' to 'deny'.

But if I try to run the same VF page by passing the corresponding recordId in a separate tab the page works fine.

Weirdly, the Inline VF page works sometimes after a few hours.

enter image description here

Best Answer

Looks like there is a know Issue for this https://success.salesforce.com/issues_view?id=a1p3A000001HlBdQAK

Related Topic