留言板

Error configuring the IFrame portlet

Tina Carrillo,修改在7 年前。

Error configuring the IFrame portlet

New Member 帖子: 16 加入日期: 12-5-8 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

New Member 帖子: 16 加入日期: 12-5-8 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

New Member 帖子: 16 加入日期: 12-5-8 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
What is the URL of the page you're trying to embed in the iframe?
Tina Carrillo,修改在7 年前。

RE: Error configuring the IFrame portlet

New Member 帖子: 16 加入日期: 12-5-8 最近的帖子
The URL doesn't matter. Tried internal and external sites. For example, this external URL:

https://www.ellucian.com
thumbnail
Samuel Kong,修改在7 年前。

RE: Error configuring the IFrame portlet

Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

New Member 帖子: 16 加入日期: 12-5-8 最近的帖子
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,修改在7 年前。

RE: Error configuring the IFrame portlet

Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
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?