OHIF + ORTHANC (Question)

  • When I try to open the viewer on ohif I receive a bad request ERROR 400, the orthanc web-viewer works correctly ,i need help please !

{
“Details” : “This WADO-RS plugin cannot generate the following content type: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7”,
“HttpError” : “Bad Request”,
“HttpStatus” : 400,
“Message” : “Bad request”,
“Method” : “GET”,
“OrthancError” : “Bad request”,
“OrthancStatus” : 8,
“Uri” : “/dicom-web/studies/1.2.276.0.50.192168001099.7810872.14547392.270”
}

OHIF Config :
{
namespace: ‘@ohif/extension-default.dataSourcesModule.dicomweb’,
sourceName: ‘dicomweb’,
configuration: {
friendlyName: ‘Orthanc Server’,
name: ‘Orthanc’,
wadoUriRoot: ‘/wado’,
qidoRoot: ‘/dicom-web’,
wadoRoot: ‘/dicom-web’,
qidoSupportsIncludeField: false,
imageRendering: ‘wadors’,
thumbnailRendering: ‘wadors’,
omitQuotationForMultipartRequest: true,
studyListFunctionsEnabled: true,
},
}

Orthanc Config:
{
“DicomWeb” : {
“Servers” : {
“sample” : [ “http://localhost:8042/dicom-web/”]
},
“HasWadoRsUniversalTransferSyntax” : true ,
“Enable” : true
“Root” : “/dicom-web/”,
“EnableWado” : true,
“WadoRoot” : “/wado”,
“Ssl” : false,
“QidoCaseSensitive” : true,
“Host” : “localhost”,
“StudiesMetadata” : “Full”,
“SeriesMetadata” : “Full”,
“EnableMetadataCache”: true,
“PublicRoot”: “/dicom-web/”
}