Message Boards

Error configuring the IFrame portlet

Tina Carrillo, modified 7 Years ago.

Error configuring the IFrame portlet

New Member Posts: 16 Join Date: 5/8/12 Recent Posts
Opening the Configuration page for the IFrame portlet, adding the Source URL and click Save. This generates a "Content Encoding Error" "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression."

This happens whether using an internal or external URL. The issue is not browser specific.

Any ideas? Any logging that can be enabled that will help identify the issue?
thumbnail
Samuel Kong, modified 7 Years ago.

RE: Error configuring the IFrame portlet

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
Do you get the same error if you just go to the URL (i.e., not within an IFrame)? What is the URL that you are trying to configure?
Tina Carrillo, modified 7 Years ago.

RE: Error configuring the IFrame portlet

New Member Posts: 16 Join Date: 5/8/12 Recent Posts
Yes, I can access the URL when not using the IFrame portlet. For example, this renders fine when adding the IFrame tag in the Web Content source:

<iframe alt="" border="0" frameborder="0" height="600" hspace="0" scrolling="auto" src="https://www.ellucian.com" vspace="0" width="100%"></iframe>

I've tried various different URLs, internal (same domain) and external sites.


Any ideas?
Thanks.
thumbnail
Samuel Kong, modified 7 Years ago.

RE: Error configuring the IFrame portlet

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
Sorry, can't reproduce in 7.0 GA3 and it's working for me. If you're not on 7.0 GA3, maybe try updating your portal to the latest version.
Tina Carrillo, modified 7 Years ago.

RE: Error configuring the IFrame portlet

New Member Posts: 16 Join Date: 5/8/12 Recent Posts
It turns out that this isn't just an issue with the IFrame portlet, the Web Proxy portlet throws the same error. So it seems that submitting a form is causing the error.

I'm on Liferay 6.2 and can't upgrade to Liferay 7. Do you have any other suggestions? Thanks!
thumbnail
Samuel Kong, modified 7 Years ago.

RE: Error configuring the IFrame portlet

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
What is the URL of the page you're trying to embed in the iframe?
Tina Carrillo, modified 7 Years ago.

RE: Error configuring the IFrame portlet

New Member Posts: 16 Join Date: 5/8/12 Recent Posts
The URL doesn't matter. Tried internal and external sites. For example, this external URL:

https://www.ellucian.com
thumbnail
Samuel Kong, modified 7 Years ago.

RE: Error configuring the IFrame portlet

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
Hi Tina

Sorry, I'm still unable to reproduce. The Iframe portlet seems to be working. I'm testing with 6.2 GA6 on FF and Chrome.

You may want to test with a simple HTML page with an <iframe> tag that loads ellucian.com (i.e., completely outside of Liferay). The IFrame portlet relies on your browser's implementation of <iframe>. If there's a "problem" with the IFrame portlet, it's usually related to the end user's browser settings.
Tina Carrillo, modified 7 Years ago.

RE: Error configuring the IFrame portlet

New Member Posts: 16 Join Date: 5/8/12 Recent Posts
Using the <iframe> tag in a Web Content portlet works. The issue is when saving the IFrame portlet's configuration. The error occurs during the Save. It's not just the IFrame portlet, the Web Proxy portlet also generates that same error. With HTTP Live Headers we see this for the POST:
HTTP/1.1 403 Forbidden
thumbnail
Samuel Kong, modified 7 Years ago.

RE: Error configuring the IFrame portlet

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
What roles does your user have? Are you an Administrator, Site Administrator, Organization Administrator or does your user have a custom role? If it's a custom role, which permission do you have?

What is the associated URL for the 403 error?