Unable to use OHIF Plugin

Currently, I’m unable to access the studies in OHIF Viewer. I get the error object:

{
“HttpError” : “Not Found”,
“HttpStatus” : 404,
“Message” : “Unknown resource”,
“Method” : “GET”,
“OrthancError” : “Unknown resource”,
“OrthancStatus” : 17,
“Uri” : “/dicom-web/ohif/viewer”
}

.What should be the value for “OhifViewer3PublicRoot”, provided my DicomWeb Config and OHIF Config is as follows:

“DicomWeb” : {
“Enable” : true,
“Root” : “/dicom-web/”,
“EnableWado” : true,
“WadoRoot” : “/wado”,
“Ssl” : false,
“QidoCaseSensitive” : false,
“Host” : “”,
“StudiesMetadata” : “Full”,
“SeriesMetadata” : “Full”,
“PublicRoot”: “/dicom-web/”,
“Servers” : {
“ohif” : {
“Url” : “http://localhost:8042/dicom-web/”,
“Username” : “admin”,
“Password” : “admin”,
“HasDelete” : false,
“ChunkedTransfers” : true,
“HasWadoRsUniversalTransferSyntax” : true
}
}
},
“OHIF” : {
“DataSource” : “dicom-web”
}

Hello,

If you are referring to the OHIF plugin for Orthanc, the URI to the OHIF viewer is /ohif/, not /dicom-web/ohif/.

Instead of directly typing the URL, you can simply use the “Open OHIF study list” button that appears on the welcome screen of Orthanc Explorer.

Regards,
Sébastien-

image
Still the same response. Any other params to add?

Orthanc config file:

{
“Name”: “Orthanc-pacs”,
“RemoteAccessAllowed” : true,
“AuthenticationEnabled” : true,
“RegisteredUsers” : {
“admin”: “admin”
},
“PostgreSQL” : {
“EnableIndex” : true,
“EnableStorage” : false,
“Lock” : false,
“ConnectionUri” : “postgresql://postgres:postgres@192.168.21.60:5432/orthanc_db”
},
“DicomAet”: “ORTHANC_PACS”,
“StorageDirectory” : “/etc/OrthancStorage”,
“IndexDirectory” : “/etc/OrthancStorage”,
“StorageCompression” : true,
“MaximumStorageSize” : 0,
“MaximumPatientCount” : 0,
“MaximumStorageMode” : “Recycle”,
“MaximumStorageCacheSize” : 512,
“LuaHeartBeatPeriod” : 0,
“PythonScript”:“/etc/share/orthanc/pyscripts/pyFunctions.py”,
“PythonVerbose”:true,
“AwsS3Storage” : {
“BucketName”: “radiogram-dev”,
“Region” : “ap-southeast-1”,
“StorageStructure”: “flat”,
“EnableLegacyUnknownFiles”: true,
“HybridMode”: “Disabled”
},
“HttpServerEnabled” : true,
“HttpPort” : 8042,
“HttpDescribeErrors” : true,
“HttpCompressionEnabled” : true,
“OrthancExplorer2” : {
“Enable”: true,
“IsDefaultOrthancUI”: true,
“Root” : “/ui/”,
“UiOptions” : {
“EnableOpenInOhifViewer3”: true,
“OhifViewer3PublicRoot” : “http://192.168.21.60:8042/ohif/”,
“EnableStudyList”: true,
“EnableUpload”: true,
“EnableDicomModalities”: true,
“EnableDeleteResources”: false,
“EnableDownloadZip”: true,
“EnableDownloadDicomDir”: false,
“EnableDownloadDicomFile”: true,
“EnableAnonymization”: true,
“EnableModification”: true,
“EnableSendTo”: true,
“EnableApiViewMenu”: false,
“EnableSettings”: true,
“EnableLinkToLegacyUi”: true,
“EnableChangePassword”: true,
“EnableEditLabels”: true,
“ViewersIcons” : {
“ohif”: “bi bi-grid”
},

        "StudyListSearchMode": "search-as-you-type",
        "StudyListSearchAsYouTypeMinChars": 1,
        "StudyListSearchAsYouTypeDelay": 400,
        "StudyListContentIfNoSearch": "most-recents",

        "ShowOrthancName": false
    }
},
"DicomServerEnabled" : true,
"DicomPort" : 4242,
"DicomCheckCalledAet" : false,
"DicomTlsEnabled" : false,
"DicomAlwaysAllowEcho" : true,
"DicomAlwaysAllowFind" : true,
"DicomAlwaysAllowStore" : true,
"DicomAlwaysAllowFindWorklist" : true,
"DicomAlwaysAllowGet" : true,
"DicomCheckModalityHost" : false,
"DicomEchoChecksFind" : true,
"DicomScuTimeout" : 120,
"DicomScuPreferredTransferSyntax" : "1.2.840.10008.1.2.1",
"SslEnabled" : false,
"DicomThreadsCount" : 4,
"DicomModalities" : {
    "findscu" : [ "FINDSCU", "127.0.0.1", 1234 ]
},
"StableAge" : 300,
"StoreMD5ForAttachments" : true,
"LimitFindResults" : 0,
"KeepAlive" : true,
"KeepAliveTimeout" : 60,
"HttpThreadsCount" : 50,
"LoadPrivateDictionary" : true,
"OverwriteInstances" : false,
"StorageAccessOnFind" : "Always",
"HttpRequestTimeout" : 60,
"SyncStorageArea" : true,
"RemoteAccessEnabled" : true,
"DefaultEncoding" : "Utf8",
"DicomWeb" : {
    "Enable" : true,
    "Root" : "/dicom-web/",
    "EnableWado" : true,
    "WadoRoot" : "/wado",
    "Ssl" : false,
    "QidoCaseSensitive" : false,
    "Host" : "",
    "StudiesMetadata" : "Full",
    "SeriesMetadata" : "Full",
    "PublicRoot": "/dicom-web/" 
},
"OHIF" : {
    "DataSource" : "dicom-web"
}

}

Please provide the content of your log files in verbose mode if you expect further support.

Hello Sebastien,

The OHIF Plugin is currently available on osimis/orthanc:master-full-stable docker image. I have used that for OHIF viewing.

On Mozilla firefox, it shows the error: Cross Origin Isolation is not enabled, volume rendering will not work (e.g. MPR)

On chrome, the viewer doesn’t even load and throws error: Something wnt wrong.false

The link to the logs and screenshots is attached. Please help me out on how to fix those, or do I need to wait for a further release for the fixes.

I have added my orthanc configuration json for your reference too. Just hoping for a quick resolution.

Orthanc Logs and Error screenshots

Hello,

First of all, please use the Docker image jodogne/orthanc-plugins:1.12.0, as it is currently the only tested, numbered Docker release with the OHIF plugin.

Furthermore, the interfacing with Orthanc Explorer 2 is still work-in-progress by Alain. So give a try to the “plain old” Orthanc Explorer Web interface for now, until new official releases of OE2 and osimis/orthanc are officially announced by Alain.

Summarizing, for now, start with a simple deployment (no AWS, no OE2, no DICOMweb), then incrementally add complexity until you reach the issue. At that moment, share a fully standalone Docker Compose (not just the configuration file alone).

Regards,
Sébastien-

1 Like

Update: Alain released a few hours ago a new release of OE2 and of the osimis/orthanc Docker images. This is worth giving a try.

1 Like

Since the changes were incorporated into the stable tag of osimis/master, I assumed it to be a stable release. Due to my dependencies, I have to get it to work with cloud storage. Hence, can’t disable AWS. I have tested the latest release over old UI and the issues still persist. Where do I get updates on progress regarding osimis/orthanc images?

You can run Orthanc locally on your own computer for testing. Just download your images from AWS, and import them to your Orthanc test server.

Simply check out the tags on DockerHub.

If you expect further support, please share a minimal working example using Docker Compose, together with sample DICOM images, so that other people can reproduce your issue.