Document Preview is Blank for some Documents due to 404 Errors / WCPageNotFound.jsp Related to "imagingservice" URL
(Doc ID 2777292.1)
Last updated on SEPTEMBER 30, 2022
Applies to:
Oracle WebCenter Portal - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
Document Manager previews are not loading for some documents.
When attempting to view a document it shows blank.
Reuploading the same document as new in the same folder works.
The newly uploaded document may work fine for some time but eventually will also fail to show the preview.
EXPECTED BEHAVIOR
Expect to see the preview for all documents.
TESTCASE STEPS
The issue happens only for some documents.
For affected documents the issue can be reproduced as follows:
- Connect to WebCenter Portal.
- Navigate to the affected portal.
- Open a page with the Content Manager Task Flow (or the documents page).
- Click on the affected document.
The document preview will open but the document preview is blank.
- Download that document.
- Upload the document to the same folder as a new file.
- View the document.
The document preview correctly shows the document.
- Collect HTTP headers from the working and not working documents (view the documents using Chrome and enable the Development Tools > View entries in the Network Tab).
The following is displayed:
Failing document
It generates a 302 code when doing a call on imagingservice.
General
Request URL:
https://<HOST>:<PORT>/webcenter/imagingservice?c=g&i=Default...
Request Method: GET
Status Code: 302 Moved Temporarily
Remote Address: <IP_ADDRESS>:<PORT>Response Headers
Request URL:
https://<HOST>:<PORT>/webcenter/imagingservice?c=g&i=Default...
Request Method: GET
Status Code: 302 Moved Temporarily
Remote Address: <IP_ADDRESS>:<PORT>
Age: 0
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 307
Content-Security-Policy
Content-Type: text/html; charset=ISO-8859-1
Date: <DATE>
Location: https://<HOST>:<PORT>/webcenter/system/WCPageNotFound.jsp
Accessing the referenced imagingservice URL directly on the browser returns "Page Not Found...".
https://<HOST>:<PORT>/webcenter/imagingservice?c=g&i=Default&...Working document
This returns 200 code.Request URL:
https://<HOST>:<PORT>/webcenter/imagingservice?c=g&i=Default&...
Request Method: GET
Status Code: 200 OK
Remote Address: <IP_ADDRESS>:<PORT>
Age: 1Response Headers
Cache-Control: no-cache
Cache-Control: no-cache
Connection: close
Content-Security-Policy
Content-Type: image/png
Date: <DATE>
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 |
References |