File Upload Fails with Error: 'File Manager is not accessible' for SSL Enabled DFM When Accessed to Agile Web Client from Chrome Using Non SSL URL
(Doc ID 2933971.1)
Last updated on JANUARY 24, 2024
Applies to:
Oracle Agile PLM Framework - Version 9.3.6.0 and laterInformation in this document applies to any platform.
Symptoms
Unable to upload file from SSL enabled Distributed File Manger (DFM) running on the internal network with below error in File Upload Manager window when using Chrome and accessed to Agile Web Client using non SSL URL:
Error
Error
(When hovering the mouse cursor above this, see the message "File Manager is not accessible" in the tooltip)
Facts
- Java Client > Admin tab > Server Settings > Locations >
General Information tab has Web Server URL configured to: https://{LBaaS}.{domain_name}/Agile/PLMServlet
File Manager tab has all the File Manager URLs configured with URL: https://{DFM_server}.{domain_name}:{port}/Filemgr.... - server.conf has below URLs set:
app.server.url =https://{LBaaS}.{domain_name}/Agile/FSHelper/FSHelperWSService
file.server.url =https://{DFM_server}.{domain_name}:{port}/Filemgr/services/FileServer
dms.server.url =https://{LBaaS}.{domain_name}/Agile/DmsService/DmsViewerAPIService
extra.allowedorigin.appurl=http://{node_base_servername}.{domain_name}:{port}; - File Manager Configuration Page (http://{DFM_server}.{domain_name}:{port}/Filemgr/Configuration) is accessible and shows status "Success".
- Can see File Manager is running with below log in File Manager log (catalina.out):
*******************************************
File Manager Initialized Successfully...
******************************************* - The issue does not happen when using Firefox
- When turned on Chrome developer debugging by pressing F12, can see below error:Access to XMLHttpRequest at 'https://{DFM_server}.{domain_name}:{port}/Filemgr/LFUploadServlet' from origin 'http://{node_base_servername}.{domain_name}:{port}' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.
- DFM server is for internal use and custom program using Agile Software Development Kit (SDK) needs to access to the DFM using non SSL URL.
Steps
The issue can be reproduced at will with the following steps:
- Launch Chrome, and login to Web Client using non SSL URL: http://{node_base_servername}.{domain_name}:{port}/Agile/PLMServlet
- Go to My Settings, and go to Preference tab. Make sure the Preferred File Manager is pointing to DFM
- Go to Attachment tab, and Add a file
- File Upload Manager window shows up. See the file upload process fails with "Error"
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |