OHIF DCM4CHEE

1,564 views
Skip to first unread message

Alexis Parra Gonzalez

unread,
Mar 25, 2022, 8:50:20 AM3/25/22
to dcm4che
Hello everyone, I found this group about dcm4chee searching on google, I need help, I'm from Cuba and I work in a hospital, I need to connect the OHIF to dcm4chee but it's been weeks and I can't connect it, my screen stays black. Has anyone here done it? I am using docker for these tests.

NOTE: With orthanc it works but we use dcm4chee

Todd Jensen

unread,
Mar 25, 2022, 9:49:44 AM3/25/22
to dcm4che

There is not really enough information to determine why this isn't working for you. 

Are you attempting to integrate the OHIF viewer into the dcm4chee console? 
Are you attempting to run the OHIF viewer as a standalone web client and connect to the dcm4chee archive via DICOMweb? 
Any errors you see in the browser log while the "screen stays black"?

Todd Jensen, PhD
Jensen Informatics LLC

fleetwoodfc

unread,
Mar 26, 2022, 11:17:24 AM3/26/22
to dcm4che
Are you running  dcm4chee as a secured set of services? i.e. are you using keycloak?

Metab Al

unread,
Mar 27, 2022, 8:15:40 AM3/27/22
to dcm4che

Alexis Parra Gonzalez

unread,
Apr 6, 2022, 12:05:40 PM4/6/22
to dcm4che
error.png
Hello, it is true, I gave few details, but I have been working and I have already eliminated the CORDS error in nginx, now the browser remains black, I attach a screen

fleetwoodfc

unread,
Apr 6, 2022, 7:30:29 PM4/6/22
to dcm4che
In the OHIF config make sure you explicitly set  qidoSupportsIncludeField: false  
This is set true by default but DCM4CHEE returns bad data for the requested Modality tag.

For example:

window.config = {
  // default: '/'
  routerBasename: '/',
  // default: ''
  showStudyList: true,
  servers: {
    dicomWeb: [
      {
        name: 'DCM4CHEE',
        wadoUriRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado',
        qidoRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
        wadoRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
        qidoSupportsIncludeField: false,
        imageRendering: 'wadors',
        thumbnailRendering: 'wadors',
        requestOptions: {
          auth: 'admin:admin',
        },
      },
    ],
  },
  studyListFunctionsEnabled: true,
};

Brandon C

unread,
May 19, 2022, 11:35:40 AM5/19/22
to dcm4che
I also still see this error , blank screen . Anyone have a fix ?

Marcelo Díaz O.

unread,
Oct 10, 2022, 4:18:33 PM10/10/22
to dcm4che
Hi, this config example of OHIF is for dcm4che-secure with keycloak?

Auth: admin:admin   is defined on keycloack?

I´m testing no OHIF with dcm4che-nosecure and work fine!.
But with secured set of services : missing CORS and Unauthorized  errors

cors missing and unauthorized.png

unauthorized ohif-dcm4che-secure.png

OHIF config:

window.config = {
  // default: '/'
  routerBasename: '/',
  // default: ''
  showStudyList: true,
  servers: {
    dicomWeb: [
      {
        name: 'DCM4CHEE',
        wadoUriRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado',
        qidoRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
        wadoRoot: 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
        qidoSupportsIncludeField: false,
        imageRendering: 'wadors',
        thumbnailRendering: 'wadors',
        requestOptions: {
          auth: 'admin:admin',
        },
      },
    ],
  },
  studyListFunctionsEnabled: true,
};

Nginx Config:

server {
  listen 80;
  # set client body size to 500M, this is to allow uploading of DICOMs, throws '413 request entity too large nginx' error otherwise #
  client_max_body_size 500M;
  location / {
    root   /usr/share/nginx/html;
    index  index.html index.htm;
    try_files $uri $uri/ /index.html;
  }
  error_page   500 502 503 504  /50x.html;
  location = /50x.html {
    root   /usr/share/nginx/html;
  }

}

Thanks for you help!
Regards
Message has been deleted

AkaB

unread,
Sep 6, 2023, 4:12:21 PM9/6/23
to dcm4che
Hi, 

What is the solution to this issue? I am facing the same problem.

Thanks 

Reply all
Reply to author
Forward
0 new messages