Error Occurs When Generating Metadata In OIF 11g: 'The File Was Not Downloaded Or Was Not Downloaded Correctly'

(Doc ID 1272383.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Identity Federation - Version: 11.1.1.1 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

Unable to generate Service Provider (SP) or Identity Provider (IdP) metadata in Oracle Identity Federation 11.1.1.2 installation configured with HTTP Server proxy.

Attempts to generate metadata in Enterprise Manager (EM) console Security and Trust page cause the following popup error:

The file was not downloaded or was not downloaded correctly.


The problem reproduces with both Internet Explorer and Firefox browsers.


The WebLogic AdminServer log shows an entry similar to the one below when the problem occurs:


<Nov 10, 2010 1:55:05 PM CET> <Warning> <org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener> <BEA-000000> <javax.el.ELException: java.io.IOException: Tried all: 1 addresses, but could not connect over HTTPS to server: oifproxy.oracle.com port: 443
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:121)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
..........
Caused By: java.io.IOException: Tried all: 1 addresses, but could not connect over HTTPS to server: oifproxy.oracle.com port: 443
at  oracle.sysman.emas.view.iam.oif.SecurityConfigView.generateMetadata(SecurityConfigView.java:950)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at  org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:121)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
..........



Steps to Reproduce

1. Access the FMW11g EM console (/em) and login as weblogic user.
2. Navigate to OIF(11.1.1.2.0) -> Administration -> Security and Trust -> Provider Metadata
3. In the Generate Metadata section, specify:
      Provider Type: Service Provider
      Protocol: SAML 2.0
4. Click the Generate button.
5. A popup error is displayed: 'The file was not downloaded or was not downloaded correctly.'



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms