I’m trying to access a dataset of more than 100 studies.
The DICOMs are stored in Orthanc and
I connect to Orthanc via DICOMweb.
The OHIF viewer shows all studies in the database but does not display any images.
I can’t figure out what’s going on. Is my database too large?
The only error or warning I get is this:
@ohif/viewer: Entrypoint app = vendors~app.css vendors~app.js app.css app.js
@ohif/viewer: WARNING in /4.js is 6.32 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
@ohif/viewer: WARNING in /app.js is 5.46 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
@ohif/viewer: WARNING in /vendors~app.js is 41.7 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
@ohif/viewer: WARNING in /vendors~dicom-microscopy-viewer.js is 5.43 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
Is the application running out of memory? How is it possible to troubleshoot and solve this issue?
Because your site has the Cross-Origin Embedder Policy (COEP) enabled, each resource must specify a suitable Cross-Origin Resource Policy (CORP). This behavior prevents a document from loading cross-origin resources which don’t explicitly grant permission to be loaded.
To solve this, add the following to the resource’ response header:
Cross-Origin-Resource-Policy: same-site if the resource and your site are served from the same site.
Cross-Origin-Resource-Policy: cross-origin if the resource is served from another location than your website. ⚠️If you set this header, any website can embed this resource.
Alternatively, the document can use the variant: Cross-Origin-Embedder-Policy: credentialless instead of require-corp. It allows loading the resource, despite the missing CORP header, at the cost of requesting it without credentials like Cookies.