Unable to view PDF studies created by tools/create-dicom

Hello!

I’ve recently upgraded all Orthanc versions in my infrastructure to version jodogne/orthanc:1.12.3. Moreover, I’ve moved away from Osimis viewer in favor of Stone and OHIF 3.x.

However, I noticed a bug in the Orthanc dicomizer (/tools/create-dicom): any PDF added to a dicomized study won’t appear on Stone or OHIF.

I create a dicomized PDF study with a request like this:

Headers: [Accept:"text/plain, application/json, application/*+json, */*", Content-Type:"application/json", Content-Length:"93683", Authorization:"Basic Y2NyQWRtaW46bHgpMiMyNlYwIS1BMTNa"]

Body: {"Content":["data:application/pdf;base64,JVBERi0xLjQKJd..."],"Tags":{"PatientBirthDate":"20240529","PatientSex":"M","InstitutionName":"CENTRO DE SAUDE DE NITEROI","RequestedProcedurePriority":"ROUTINE","StudyDescription":"dad","PatientName":"aacpsc","EmptyStudy":"false","PatientComments":null,"Modality":"BMD","SOPClassUID":"1.2.840.10008.5.1.4.1.1.7","SeriesDescription":"dad"}}

Then I receive this response from Orthanc

Status code: 200 OK

Headers: [Server:"nginx/1.21.6", Date:"Wed, 29 May 2024 00:56:02 GMT", Content-Type:"application/json; charset=utf-8", Content-Length:"154", Connection:"keep-alive", X-Content-Type-Options:"nosniff", Access-Control-Allow-Credentials:"true", Access-Control-Allow-Headers:"DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type", Access-Control-Allow-Methods:"GET, POST, OPTIONS", Access-Control-Allow-Origin:"*"]

Body:

{
       "ID" : "602e2254-1315121d-1db57729-f9fc63c3-30ac4382",
       "Path" : "/series/602e2254-1315121d-1db57729-f9fc63c3-30ac4382",
       "Status" : "Success"
    }

But I can’t see the study on Stone or OHIF. With Stone, the following endpoint fails:

http://dev.ccrlaudos.com.br/orthanc-nightly-reader/dicom-web/studies/1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936/series/1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937/rendered?viewport=128,128

Response:

{
   "HttpError" : "Bad Request",
   "HttpStatus" : 400,
   "Message" : "Parameter out of range",
   "Method" : "GET",
   "OrthancError" : "Parameter out of range",
   "OrthancStatus" : 3,
   "Uri" : "/dicom-web/studies/1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936/series/1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937/rendered"
}

And this is what I see in Chrome’s dev tools console:

VM2394:1 Initializing Stone
VM2394:1 Using DCMTK version: 367
VM2394:1 The DICOM cache size is set to 4096MB
VM2394:1 SetSkipSeriesFromModalities ["SR","SEG","PR"]
app.js:1552 Loading study: 1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936
app.js:1713 Unknown type of dynamic action in the Stone Web viewer: VIDEO_XHR_CANDIDATE
VM2394:1 Loaded series 1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937, number of instances: 1
app.js:363 Unable to handle this series: 1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937
app.js:1713 Unknown type of dynamic action in the Stone Web viewer: VIDEO_XHR_CANDIDATE
VM2394:1 Thumbnail updated for series: 1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937: 2
app.js:1713 Unknown type of dynamic action in the Stone Web viewer: VIDEO_XHR_CANDIDATE

Finally, I have the reader instances logs:

2024-05-29 02:11:49 reader-1      | I0529 01:11:49.615621          HTTP-71 HttpServer.cpp:1262] (http) GET /stone-webviewer/index.html
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.615852          HTTP-71 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/index.html
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.671283          HTTP-73 HttpServer.cpp:1262] (http) GET /stone-webviewer/open-sans.css
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.671284          HTTP-72 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/all.css
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.671537          HTTP-73 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/open-sans.css
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.671625          HTTP-72 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/all.css
2024-05-29 02:11:49 reader-2      | I0529 01:11:49.671269          HTTP-75 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/bootstrap.css
2024-05-29 02:11:49 reader-2      | I0529 01:11:49.671496          HTTP-75 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/bootstrap.css
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.683525          HTTP-74 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/orthanc.png
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.683715          HTTP-74 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/orthanc.png
2024-05-29 02:11:49 reader-2      | I0529 01:11:49.684174          HTTP-76 HttpServer.cpp:1262] (http) GET /stone-webviewer/app-fixes.css
2024-05-29 02:11:49 reader-2      | I0529 01:11:49.686748          HTTP-76 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app-fixes.css
2024-05-29 02:11:49 reader-2      | I0529 01:11:49.688499          HTTP-77 HttpServer.cpp:1262] (http) GET /stone-webviewer/app.css
2024-05-29 02:11:49 reader-2      | I0529 01:11:49.690181          HTTP-77 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app.css
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.709011          HTTP-75 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid1x1.png
2024-05-29 02:11:49 reader-1      | I0529 01:11:49.709244          HTTP-75 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid1x1.png
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.108046          HTTP-78 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/jquery-3.4.1.min.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.108159          HTTP-79 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid2x1.png
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.108315          HTTP-79 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid2x1.png
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.108521          HTTP-80 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/pdf.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.108667          HTTP-80 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/pdf.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.109252          HTTP-78 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/jquery-3.4.1.min.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.108368          HTTP-77 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/bootstrap.min.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.108544          HTTP-77 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/bootstrap.min.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.108802          HTTP-78 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/vue.min.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.108912          HTTP-78 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/vue.min.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.117145          HTTP-76 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/axios.min.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.117285          HTTP-76 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/axios.min.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.188253          HTTP-81 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/bootstrap.css.map
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.188460          HTTP-81 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/bootstrap.css.map
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.188530          HTTP-81 PluginsManager.cpp:161] (plugins) Unknown MIME type for extension ".map"
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.191302          HTTP-82 HttpServer.cpp:1262] (http) GET /stone-webviewer/stone.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.191535          HTTP-82 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/stone.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.205261          HTTP-79 HttpServer.cpp:1262] (http) GET /stone-webviewer/app.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.205310          HTTP-80 HttpServer.cpp:1262] (http) GET /stone-webviewer/pdf-viewer.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.205514          HTTP-79 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.205608          HTTP-80 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/pdf-viewer.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.207903          HTTP-83 HttpServer.cpp:1262] (http) GET /stone-webviewer/print.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.208070          HTTP-83 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/print.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.213975          HTTP-84 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/loading.gif
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.214160          HTTP-84 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/loading.gif
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.218989          HTTP-81 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid1x2.png
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.219167          HTTP-81 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid1x2.png
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.219004          HTTP-85 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid2x2.png
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.219167          HTTP-85 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid2x2.png
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.385981          HTTP-82 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/axios.min.map
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.386193          HTTP-82 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/axios.min.map
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.386260          HTTP-82 PluginsManager.cpp:161] (plugins) Unknown MIME type for extension ".map"
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.385981          HTTP-86 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/pdf.js.map
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.386193          HTTP-86 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/pdf.js.map
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.386260          HTTP-86 PluginsManager.cpp:161] (plugins) Unknown MIME type for extension ".map"
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.466858          HTTP-83 HttpServer.cpp:1262] (http) GET /stone-webviewer/webfonts/2017-11-13-OpenSans-Regular.woff2
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.467056          HTTP-83 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/webfonts/2017-11-13-OpenSans-Regular.woff2
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.511750          HTTP-87 HttpServer.cpp:1262] (http) GET /stone-webviewer/configuration.json
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.511911          HTTP-87 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/configuration.json
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.529502          HTTP-84 HttpServer.cpp:1262] (http) GET /stone-webviewer/StoneWebViewer.js
2024-05-29 02:11:50 reader-1      | I0529 01:11:50.529689          HTTP-84 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/StoneWebViewer.js
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.654526          HTTP-88 HttpServer.cpp:1262] (http) GET /stone-webviewer/StoneWebViewer.wasm
2024-05-29 02:11:50 reader-2      | I0529 01:11:50.654748          HTTP-88 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/StoneWebViewer.wasm
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.729549          HTTP-89 HttpServer.cpp:1262] (http) GET /dicom-web/series
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.729869          HTTP-89 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/series
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.730002          HTTP-89 PluginsManager.cpp:161] (plugins) Arguments of QIDO-RS request: [0020000D=1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936] [includefield=00081030,00200011]
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.730163          HTTP-89 PluginsManager.cpp:161] (plugins) Body of the call from QIDO-RS to /tools/find: {
2024-05-29 02:11:51 reader-2      |    "CaseSensitive" : false,
2024-05-29 02:11:51 reader-2      |    "Expand" : true,
2024-05-29 02:11:51 reader-2      |    "Full" : true,
2024-05-29 02:11:51 reader-2      |    "Level" : "Series",
2024-05-29 02:11:51 reader-2      |    "Limit" : 0,
2024-05-29 02:11:51 reader-2      |    "Query" : {
2024-05-29 02:11:51 reader-2      |       "0020,000d" : "1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936"
2024-05-29 02:11:51 reader-2      |    },
2024-05-29 02:11:51 reader-2      |    "RequestedTags" : [
2024-05-29 02:11:51 reader-2      |       "0008,0060",
2024-05-29 02:11:51 reader-2      |       "0008,0201",
2024-05-29 02:11:51 reader-2      |       "0008,1030",
2024-05-29 02:11:51 reader-2      |       "0008,103e",
2024-05-29 02:11:51 reader-2      |       "0020,000d",
2024-05-29 02:11:51 reader-2      |       "0020,000e",
2024-05-29 02:11:51 reader-2      |       "0020,0011",
2024-05-29 02:11:51 reader-2      |       "0020,1209",
2024-05-29 02:11:51 reader-2      |       "0040,0244",
2024-05-29 02:11:51 reader-2      |       "0040,0245",
2024-05-29 02:11:51 reader-2      |       "0040,0275"
2024-05-29 02:11:51 reader-2      |    ],
2024-05-29 02:11:51 reader-2      |    "Since" : 0
2024-05-29 02:11:51 reader-2      | }
2024-05-29 02:11:51 reader-2      |
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.730258          HTTP-89 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.729487          HTTP-85 HttpServer.cpp:1262] (http) GET /dicom-web/studies
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.729900          HTTP-85 OrthancPlugins.cpp:2400] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/studies
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.730029          HTTP-85 PluginsManager.cpp:161] (plugins) Arguments of QIDO-RS request: [0020000D=1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936] [includefield=00081030]
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.730195          HTTP-85 PluginsManager.cpp:161] (plugins) Body of the call from QIDO-RS to /tools/find: {
2024-05-29 02:11:51 reader-1      |    "CaseSensitive" : false,
2024-05-29 02:11:51 reader-1      |    "Expand" : true,
2024-05-29 02:11:51 reader-1      |    "Full" : true,
2024-05-29 02:11:51 reader-1      |    "Level" : "Study",
2024-05-29 02:11:51 reader-1      |    "Limit" : 0,
2024-05-29 02:11:51 reader-1      |    "Query" : {
2024-05-29 02:11:51 reader-1      |       "0020,000d" : "1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936"
2024-05-29 02:11:51 reader-1      |    },
2024-05-29 02:11:51 reader-1      |    "RequestedTags" : [
2024-05-29 02:11:51 reader-1      |       "0008,0020",
2024-05-29 02:11:51 reader-1      |       "0008,0030",
2024-05-29 02:11:51 reader-1      |       "0008,0050",
2024-05-29 02:11:51 reader-1      |       "0008,0056",
2024-05-29 02:11:51 reader-1      |       "0008,0061",
2024-05-29 02:11:51 reader-1      |       "0008,0090",
2024-05-29 02:11:51 reader-1      |       "0008,0201",
2024-05-29 02:11:51 reader-1      |       "0008,1030",
2024-05-29 02:11:51 reader-1      |       "0010,0010",
2024-05-29 02:11:51 reader-1      |       "0010,0020",
2024-05-29 02:11:51 reader-1      |       "0010,0030",
2024-05-29 02:11:51 reader-1      |       "0010,0040",
2024-05-29 02:11:51 reader-1      |       "0020,000d",
2024-05-29 02:11:51 reader-1      |       "0020,0010",
2024-05-29 02:11:51 reader-1      |       "0020,1206",
2024-05-29 02:11:51 reader-1      |       "0020,1208"
2024-05-29 02:11:51 reader-1      |    ],
2024-05-29 02:11:51 reader-1      |    "Since" : 0
2024-05-29 02:11:51 reader-1      | }
2024-05-29 02:11:51 reader-1      |
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.730294          HTTP-85 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.732264          HTTP-86 HttpServer.cpp:1262] (http) GET /system
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.745138          HTTP-85 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.745176          HTTP-89 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.780395          HTTP-89 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.780327          HTTP-85 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-29 02:11:51 reader-1      | W0529 01:11:51.832319          HTTP-85 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing study : 0008,0201
2024-05-29 02:11:51 reader-2      | W0529 01:11:51.856054          HTTP-89 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing series : 0008,0201;0040,0244;0040,0245;0040,0275
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.879543          HTTP-85 StorageCache.cpp:127] Read attachment "e341b86a-95d6-4b9c-942e-8bf02c028b27" with content type 1 from cache
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.896738          HTTP-89 StorageCache.cpp:127] Read attachment "e341b86a-95d6-4b9c-942e-8bf02c028b27" with content type 1 from cache
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.948632          HTTP-90 HttpServer.cpp:1262] (http) GET /dicom-web/studies/1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936/series/1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937/rendered
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.948919          HTTP-90 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/studies/1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936/series/1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937/rendered
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.949003          HTTP-90 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-29 02:11:51 reader-2      | I0529 01:11:51.966906          HTTP-90 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.969718          HTTP-87 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/loading.gif
2024-05-29 02:11:51 reader-1      | I0529 01:11:51.969974          HTTP-87 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/loading.gif
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.000965          HTTP-88 HttpServer.cpp:1262] (http) GET /stone-webviewer/webfonts/fa-solid-900.woff2
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.001280          HTTP-88 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/webfonts/fa-solid-900.woff2
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.015000          HTTP-90 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.015146          HTTP-90 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/03e33fca-99a548e4-d13bf0e9-504a2c2f-40c3cc60 (built-in API)
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.066726          HTTP-90 StorageCache.cpp:127] Read attachment "e341b86a-95d6-4b9c-942e-8bf02c028b27" with content type 1 from cache
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.067136          HTTP-90 PluginsManager.cpp:161] (plugins) Decoding one DICOM instance of 0.1MB using GDCM
2024-05-29 02:11:52 reader-2      | W0529 01:11:52.067509          HTTP-90 PluginsManager.cpp:157] Cannot decode image using GDCM: Bad file format
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.067566          HTTP-90 ServerContext.cpp:1948] The installed image decoding plugins cannot handle an image, fallback to the built-in DCMTK decoder
2024-05-29 02:11:52 reader-2      | E0529 01:11:52.067825          HTTP-90 PluginsManager.cpp:188] Exception while invoking plugin service 6014: Not implemented yet
2024-05-29 02:11:52 reader-2      | E0529 01:11:52.067874          HTTP-90 PluginsManager.cpp:153] Cannot uncompress a DICOM image
2024-05-29 02:11:52 reader-2      | E0529 01:11:52.067924          HTTP-90 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Parameter out of range
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.076913          HTTP-89 HttpServer.cpp:1262] (http) GET /dicom-web/studies/1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936/series/1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937/metadata
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.077094          HTTP-89 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/studies/1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936/series/1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937/metadata
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.077214          HTTP-89 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.090884          HTTP-89 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.125215          HTTP-89 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.125408          HTTP-89 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/03e33fca-99a548e4-d13bf0e9-504a2c2f-40c3cc60/attachments/4301/data (built-in API)
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.151861          HTTP-89 FilesystemStorage.cpp:164] Reading attachment "125cfb9b-fde4-412d-b391-6a553925d0da" of "User-defined" content type
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.162319          HTTP-89 FilesystemStorage.cpp:170] Read attachment "125cfb9b-fde4-412d-b391-6a553925d0da" (612bytes in 10.43ms = 469.33kbps)
2024-05-29 02:11:52 reader-1      | I0529 01:11:52.162453          HTTP-89 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/03e33fca-99a548e4-d13bf0e9-504a2c2f-40c3cc60 (built-in API)
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.252888          HTTP-91 HttpServer.cpp:1262] (http) GET /dicom-web/instances
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.253142          HTTP-91 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/instances
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.253219          HTTP-91 PluginsManager.cpp:161] (plugins) Arguments of QIDO-RS request: [0020000D=1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936] [0020000E=1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937] [includefield=00080016]
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.253371          HTTP-91 PluginsManager.cpp:161] (plugins) Body of the call from QIDO-RS to /tools/find: {
2024-05-29 02:11:52 reader-2      |    "CaseSensitive" : false,
2024-05-29 02:11:52 reader-2      |    "Expand" : true,
2024-05-29 02:11:52 reader-2      |    "Full" : true,
2024-05-29 02:11:52 reader-2      |    "Level" : "Instance",
2024-05-29 02:11:52 reader-2      |    "Limit" : 0,
2024-05-29 02:11:52 reader-2      |    "Query" : {
2024-05-29 02:11:52 reader-2      |       "0020,000d" : "1.2.276.0.7230010.3.1.2.313264384.1.1716944575.951936",
2024-05-29 02:11:52 reader-2      |       "0020,000e" : "1.2.276.0.7230010.3.1.3.313264384.1.1716944575.951937"
2024-05-29 02:11:52 reader-2      |    },
2024-05-29 02:11:52 reader-2      |    "RequestedTags" : [
2024-05-29 02:11:52 reader-2      |       "0008,0016",
2024-05-29 02:11:52 reader-2      |       "0008,0018",
2024-05-29 02:11:52 reader-2      |       "0008,0056",
2024-05-29 02:11:52 reader-2      |       "0008,0201",
2024-05-29 02:11:52 reader-2      |       "0008,1190",
2024-05-29 02:11:52 reader-2      |       "0020,000d",
2024-05-29 02:11:52 reader-2      |       "0020,000e",
2024-05-29 02:11:52 reader-2      |       "0020,0013",
2024-05-29 02:11:52 reader-2      |       "0028,0008",
2024-05-29 02:11:52 reader-2      |       "0028,0010",
2024-05-29 02:11:52 reader-2      |       "0028,0011",
2024-05-29 02:11:52 reader-2      |       "0028,0100"
2024-05-29 02:11:52 reader-2      |    ],
2024-05-29 02:11:52 reader-2      |    "Since" : 0
2024-05-29 02:11:52 reader-2      | }
2024-05-29 02:11:52 reader-2      |
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.253448          HTTP-91 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.275548          HTTP-91 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.313722          HTTP-91 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-29 02:11:52 reader-2      | W0529 01:11:52.394819          HTTP-91 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing instance : 0008,0016;0008,0201;0028,0010;0028,0011;0028,0100
2024-05-29 02:11:52 reader-2      | I0529 01:11:52.435838          HTTP-91 StorageCache.cpp:127] Read attachment "e341b86a-95d6-4b9c-942e-8bf02c028b27" with content type 1 from cache

Is anyone facing the same issue, or know what could be the problem in my case?

Hi Diego,

This is actually the SOPClassUID for Secondary Capture. You should actually not specify the SOPClassUID and Orthanc will fill it correctly.

Best regards,

Alain

Hey Alain, thanks for the tip. I’ve removed it.

Just tried downgrading gdcm back from v1.7 to v1.5 but the issue persists. Will keep investigating and update the thread.

Tried a clean setup but had the same problem. I’m wondering if the issue arises from this commit.

Container logs during Stone visualization:

2024-05-30 18:59:42 I0530 17:59:42.953185           HTTP-1 HttpServer.cpp:1262] (http) POST /tools/create-dicom
2024-05-30 18:59:42 I0530 17:59:42.958385           HTTP-1 FilesystemStorage.cpp:126] Creating attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" of "DICOM" type
2024-05-30 18:59:42 I0530 17:59:42.963467           HTTP-1 FilesystemStorage.cpp:156] Created attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" (69.35KB in 5.12ms = 110.94Mbps)
2024-05-30 18:59:42 I0530 17:59:42.964717           HTTP-1 ServerContext.cpp:762] New instance stored (0480dc67-fafe89d2-0d4b005c-74681bc0-19b49564)
2024-05-30 19:00:43 I0530 18:00:43.318801          CHANGES PluginsManager.cpp:161] (plugins) DicomWEB: pre-computing the WADO-RS series metadata for series 6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768
2024-05-30 19:00:43 I0530 18:00:43.318855          CHANGES OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768 (built-in API)
2024-05-30 19:00:43 I0530 18:00:43.319387          CHANGES OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /studies/f6a29b4e-e4c82111-5b2d6729-930a4b9b-f389fb09 (built-in API)
2024-05-30 19:00:43 I0530 18:00:43.319622          CHANGES OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768 (built-in API)
2024-05-30 19:00:43 I0530 18:00:43.320109     7f6ed97ca6c0 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /instances/0480dc67-fafe89d2-0d4b005c-74681bc0-19b49564 (built-in API)
2024-05-30 19:00:43 I0530 18:00:43.320693     7f6ed97ca6c0 StorageCache.cpp:127] Read attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" with content type 1 from cache
2024-05-30 19:00:43 I0530 18:00:43.321866          CHANGES OrthancPlugins.cpp:3278] (plugins) Plugin making REST PUT call on URI /series/6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768/attachments/4301 (built-in API)
2024-05-30 19:00:43 I0530 18:00:43.321948          CHANGES ServerContext.cpp:1408] Adding attachment 4301 to resource 6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768
2024-05-30 19:00:43 I0530 18:00:43.321987          CHANGES FilesystemStorage.cpp:126] Creating attachment "0d3d87ff-769f-4573-8c4c-4606ff1808a0" of "User-defined" type
2024-05-30 19:00:43 I0530 18:00:43.325730          CHANGES FilesystemStorage.cpp:156] Created attachment "0d3d87ff-769f-4573-8c4c-4606ff1808a0" (588bytes in 3.79ms = 1.24Mbps)
2024-05-30 19:00:50 I0530 18:00:50.177209           HTTP-2 HttpServer.cpp:1262] (http) GET /
2024-05-30 19:00:50 I0530 18:00:50.189817           HTTP-3 HttpServer.cpp:1262] (http) GET /app/explorer.html
2024-05-30 19:00:50 I0530 18:00:50.230917           HTTP-4 HttpServer.cpp:1262] (http) GET /app/libs/jquery.mobile.min.css
2024-05-30 19:00:50 I0530 18:00:50.232423           HTTP-5 HttpServer.cpp:1262] (http) GET /app/libs/jqtree.css
2024-05-30 19:00:50 I0530 18:00:50.235539           HTTP-6 HttpServer.cpp:1262] (http) GET /app/libs/jquery.mobile.simpledialog.min.css
2024-05-30 19:00:50 I0530 18:00:50.237677           HTTP-7 HttpServer.cpp:1262] (http) GET /app/libs/slimbox2/slimbox2.css
2024-05-30 19:00:50 I0530 18:00:50.237787           HTTP-9 HttpServer.cpp:1262] (http) GET /app/libs/jquery-file-upload/css/style.css
2024-05-30 19:00:50 I0530 18:00:50.237789           HTTP-8 HttpServer.cpp:1262] (http) GET /app/libs/jquery-file-upload/css/jquery.fileupload-ui.css
2024-05-30 19:00:50 I0530 18:00:50.257024          HTTP-11 HttpServer.cpp:1262] (http) GET /app/libs/jquery.mobile.min.js
2024-05-30 19:00:50 I0530 18:00:50.257024          HTTP-10 HttpServer.cpp:1262] (http) GET /app/explorer.css
2024-05-30 19:00:50 I0530 18:00:50.257075          HTTP-12 HttpServer.cpp:1262] (http) GET /app/libs/jquery.min.js
2024-05-30 19:00:50 I0530 18:00:50.270627          HTTP-13 HttpServer.cpp:1262] (http) GET /app/libs/jqm.page.params.js
2024-05-30 19:00:50 I0530 18:00:50.273377          HTTP-14 HttpServer.cpp:1262] (http) GET /app/libs/date.js
2024-05-30 19:00:50 I0530 18:00:50.273388          HTTP-15 HttpServer.cpp:1262] (http) GET /app/libs/tree.jquery.js
2024-05-30 19:00:50 I0530 18:00:50.290015          HTTP-16 HttpServer.cpp:1262] (http) GET /app/libs/slimbox2.js
2024-05-30 19:00:50 I0530 18:00:50.290540          HTTP-17 HttpServer.cpp:1262] (http) GET /app/libs/jquery.blockui.js
2024-05-30 19:00:50 I0530 18:00:50.290616          HTTP-18 HttpServer.cpp:1262] (http) GET /app/libs/jquery.mobile.simpledialog2.js
2024-05-30 19:00:50 I0530 18:00:50.306085          HTTP-20 HttpServer.cpp:1262] (http) GET /app/libs/jquery-file-upload/js/vendor/jquery.ui.widget.js
2024-05-30 19:00:50 I0530 18:00:50.306163          HTTP-21 HttpServer.cpp:1262] (http) GET /app/libs/jquery-file-upload/js/jquery.iframe-transport.js
2024-05-30 19:00:50 I0530 18:00:50.306089          HTTP-19 HttpServer.cpp:1262] (http) GET /app/libs/jquery-file-upload/js/jquery.fileupload.js
2024-05-30 19:00:50 I0530 18:00:50.308638          HTTP-22 HttpServer.cpp:1262] (http) GET /app/explorer.js
2024-05-30 19:00:50 I0530 18:00:50.308691          HTTP-23 HttpServer.cpp:1262] (http) GET /app/file-upload.js
2024-05-30 19:00:50 I0530 18:00:50.309077          HTTP-24 HttpServer.cpp:1262] (http) GET /app/query-retrieve.js
2024-05-30 19:00:50 I0530 18:00:50.320030          HTTP-25 HttpServer.cpp:1262] (http) GET /plugins/explorer.js
2024-05-30 19:00:50 I0530 18:00:50.321616          HTTP-26 HttpServer.cpp:1262] (http) GET /app/orthanc-logo.png
2024-05-30 19:00:50 I0530 18:00:50.324171          HTTP-27 HttpServer.cpp:1262] (http) GET /app/libs/images/ajax-loader.gif
2024-05-30 19:00:50 I0530 18:00:50.490101          HTTP-28 HttpServer.cpp:1262] (http) GET /system
2024-05-30 19:00:50 I0530 18:00:50.501755          HTTP-29 HttpServer.cpp:1262] (http) GET /app/libs/images/icons-36-white.png
2024-05-30 19:00:50 I0530 18:00:50.516824          HTTP-30 HttpServer.cpp:1262] (http) GET /app/images/favicon.ico
2024-05-30 19:00:50 I0530 18:00:50.758945          HTTP-31 HttpServer.cpp:1262] (http) GET /app/images/favicon.ico
2024-05-30 19:00:53 I0530 18:00:53.767831          HTTP-32 HttpServer.cpp:1262] (http) GET /system
2024-05-30 19:00:53 I0530 18:00:53.783236          HTTP-33 HttpServer.cpp:1262] (http) GET /studies
2024-05-30 19:00:55 I0530 18:00:55.466571          HTTP-34 HttpServer.cpp:1262] (http) GET /system
2024-05-30 19:00:55 I0530 18:00:55.493706          HTTP-35 HttpServer.cpp:1262] (http) GET /system
2024-05-30 19:00:55 I0530 18:00:55.537333          HTTP-36 HttpServer.cpp:1262] (http) GET /studies/f6a29b4e-e4c82111-5b2d6729-930a4b9b-f389fb09
2024-05-30 19:00:55 I0530 18:00:55.547766          HTTP-37 HttpServer.cpp:1262] (http) GET /patients/befe7dda-8210a08f-bbaf9302-4cd39cb0-c10bee57
2024-05-30 19:00:55 I0530 18:00:55.554702          HTTP-38 HttpServer.cpp:1262] (http) GET /studies/f6a29b4e-e4c82111-5b2d6729-930a4b9b-f389fb09/series
2024-05-30 19:00:55 I0530 18:00:55.564015          HTTP-39 HttpServer.cpp:1262] (http) GET /studies/f6a29b4e-e4c82111-5b2d6729-930a4b9b-f389fb09/labels
2024-05-30 19:00:55 I0530 18:00:55.573532          HTTP-40 HttpServer.cpp:1262] (http) GET /studies/f6a29b4e-e4c82111-5b2d6729-930a4b9b-f389fb09/attachments
2024-05-30 19:00:57 I0530 18:00:57.611624          HTTP-41 HttpServer.cpp:1262] (http) GET /studies/f6a29b4e-e4c82111-5b2d6729-930a4b9b-f389fb09
2024-05-30 19:00:57 I0530 18:00:57.652223          HTTP-42 HttpServer.cpp:1262] (http) GET /stone-webviewer/index.html
2024-05-30 19:00:57 I0530 18:00:57.652293          HTTP-42 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/index.html
2024-05-30 19:00:57 I0530 18:00:57.685403          HTTP-43 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/orthanc.png
2024-05-30 19:00:57 I0530 18:00:57.685472          HTTP-43 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/orthanc.png
2024-05-30 19:00:57 I0530 18:00:57.686716          HTTP-44 HttpServer.cpp:1262] (http) GET /stone-webviewer/app-fixes.css
2024-05-30 19:00:57 I0530 18:00:57.686814          HTTP-44 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app-fixes.css
2024-05-30 19:00:57 I0530 18:00:57.687885          HTTP-45 HttpServer.cpp:1262] (http) GET /stone-webviewer/app.css
2024-05-30 19:00:57 I0530 18:00:57.687928          HTTP-45 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app.css
2024-05-30 19:00:57 I0530 18:00:57.690401          HTTP-46 HttpServer.cpp:1262] (http) GET /stone-webviewer/open-sans.css
2024-05-30 19:00:57 I0530 18:00:57.690463          HTTP-46 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/open-sans.css
2024-05-30 19:00:57 I0530 18:00:57.690470          HTTP-48 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/bootstrap.css
2024-05-30 19:00:57 I0530 18:00:57.690464          HTTP-47 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/all.css
2024-05-30 19:00:57 I0530 18:00:57.690557          HTTP-47 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/all.css
2024-05-30 19:00:57 I0530 18:00:57.690512          HTTP-48 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/bootstrap.css
2024-05-30 19:00:57 I0530 18:00:57.718590          HTTP-49 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid1x1.png
2024-05-30 19:00:57 I0530 18:00:57.718662          HTTP-49 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid1x1.png
2024-05-30 19:00:57 I0530 18:00:57.793906           HTTP-2 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/bootstrap.min.js
2024-05-30 19:00:57 I0530 18:00:57.793924           HTTP-1 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/jquery-3.4.1.min.js
2024-05-30 19:00:57 I0530 18:00:57.793989           HTTP-3 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/pdf.js
2024-05-30 19:00:57 I0530 18:00:57.794016           HTTP-6 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid2x1.png
2024-05-30 19:00:57 I0530 18:00:57.794037           HTTP-3 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/pdf.js
2024-05-30 19:00:57 I0530 18:00:57.793931           HTTP-0 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/axios.min.js
2024-05-30 19:00:57 I0530 18:00:57.794018           HTTP-1 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/jquery-3.4.1.min.js
2024-05-30 19:00:57 I0530 18:00:57.794018           HTTP-2 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/bootstrap.min.js
2024-05-30 19:00:57 I0530 18:00:57.794046           HTTP-6 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid2x1.png
2024-05-30 19:00:57 I0530 18:00:57.794095           HTTP-0 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/axios.min.js
2024-05-30 19:00:57 I0530 18:00:57.794341           HTTP-5 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/vue.min.js
2024-05-30 19:00:57 I0530 18:00:57.794739           HTTP-5 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/vue.min.js
2024-05-30 19:00:57 I0530 18:00:57.808228           HTTP-7 HttpServer.cpp:1262] (http) GET /stone-webviewer/pdf-viewer.js
2024-05-30 19:00:57 I0530 18:00:57.808228           HTTP-4 HttpServer.cpp:1262] (http) GET /stone-webviewer/stone.js
2024-05-30 19:00:57 I0530 18:00:57.808320           HTTP-7 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/pdf-viewer.js
2024-05-30 19:00:57 I0530 18:00:57.808361           HTTP-4 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/stone.js
2024-05-30 19:00:57 I0530 18:00:57.847464           HTTP-9 HttpServer.cpp:1262] (http) GET /stone-webviewer/print.js
2024-05-30 19:00:57 I0530 18:00:57.847486          HTTP-10 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid1x2.png
2024-05-30 19:00:57 I0530 18:00:57.847547           HTTP-9 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/print.js
2024-05-30 19:00:57 I0530 18:00:57.847571          HTTP-10 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid1x2.png
2024-05-30 19:00:57 I0530 18:00:57.847720           HTTP-8 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/loading.gif
2024-05-30 19:00:57 I0530 18:00:57.847757           HTTP-8 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/loading.gif
2024-05-30 19:00:57 I0530 18:00:57.847930          HTTP-12 HttpServer.cpp:1262] (http) GET /stone-webviewer/app.js
2024-05-30 19:00:57 I0530 18:00:57.847984          HTTP-12 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app.js
2024-05-30 19:00:57 I0530 18:00:57.864650          HTTP-11 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/grid2x2.png
2024-05-30 19:00:57 I0530 18:00:57.864729          HTTP-11 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/grid2x2.png
2024-05-30 19:00:57 I0530 18:00:57.978814          HTTP-13 HttpServer.cpp:1262] (http) GET /stone-webviewer/webfonts/2017-11-13-OpenSans-Regular.woff2
2024-05-30 19:00:57 I0530 18:00:57.978880          HTTP-13 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/webfonts/2017-11-13-OpenSans-Regular.woff2
2024-05-30 19:00:58 I0530 18:00:58.003038          HTTP-15 HttpServer.cpp:1262] (http) GET /stone-webviewer/configuration.json
2024-05-30 19:00:58 I0530 18:00:58.003098          HTTP-15 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/configuration.json
2024-05-30 19:00:58 I0530 18:00:58.014660          HTTP-14 HttpServer.cpp:1262] (http) GET /stone-webviewer/StoneWebViewer.js
2024-05-30 19:00:58 I0530 18:00:58.014711          HTTP-14 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/StoneWebViewer.js
2024-05-30 19:00:58 I0530 18:00:58.123904          HTTP-16 HttpServer.cpp:1262] (http) GET /stone-webviewer/StoneWebViewer.wasm
2024-05-30 19:00:58 I0530 18:00:58.123972          HTTP-16 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/StoneWebViewer.wasm
2024-05-30 19:00:58 I0530 18:00:58.378964          HTTP-17 HttpServer.cpp:1262] (http) GET /system
2024-05-30 19:00:58 I0530 18:00:58.378969          HTTP-18 HttpServer.cpp:1262] (http) GET /dicom-web/studies
2024-05-30 19:00:58 I0530 18:00:58.378969          HTTP-20 HttpServer.cpp:1262] (http) GET /dicom-web/series
2024-05-30 19:00:58 I0530 18:00:58.379069          HTTP-20 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/series
2024-05-30 19:00:58 I0530 18:00:58.379064          HTTP-18 OrthancPlugins.cpp:2400] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/studies
2024-05-30 19:00:58 I0530 18:00:58.379152          HTTP-18 PluginsManager.cpp:161] (plugins) Arguments of QIDO-RS request: [0020000D=1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283] [includefield=00081030]
2024-05-30 19:00:58 I0530 18:00:58.379123          HTTP-20 PluginsManager.cpp:161] (plugins) Arguments of QIDO-RS request: [0020000D=1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283] [includefield=00081030,00200011]
2024-05-30 19:00:58 I0530 18:00:58.379200          HTTP-18 PluginsManager.cpp:161] (plugins) Body of the call from QIDO-RS to /tools/find: {
2024-05-30 19:00:58 "Expand" : true,
2024-05-30 19:00:58 "Full" : true,
2024-05-30 19:00:58 "Level" : "Study",
2024-05-30 19:00:58 "Limit" : 0,
2024-05-30 19:00:58 "Query" : 
2024-05-30 19:00:58 {
2024-05-30 19:00:58 "0020,000d" : "1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283"
2024-05-30 19:00:58 },
2024-05-30 19:00:58 "RequestedTags" : 
2024-05-30 19:00:58 [
2024-05-30 19:00:58 "0008,0020",
2024-05-30 19:00:58 "0008,0030",
2024-05-30 19:00:58 "0008,0050",
2024-05-30 19:00:58 "0008,0056",
2024-05-30 19:00:58 "0008,0061",
2024-05-30 19:00:58 "0008,0090",
2024-05-30 19:00:58 "0008,0201",
2024-05-30 19:00:58 "0008,1030",
2024-05-30 19:00:58 "0010,0010",
2024-05-30 19:00:58 "0010,0020",
2024-05-30 19:00:58 "0010,0030",
2024-05-30 19:00:58 "0010,0040",
2024-05-30 19:00:58 "0020,000d",
2024-05-30 19:00:58 "0020,0010",
2024-05-30 19:00:58 "0020,1206",
2024-05-30 19:00:58 "0020,1208"
2024-05-30 19:00:58 ],
2024-05-30 19:00:58 "Since" : 0
2024-05-30 19:00:58 }
2024-05-30 19:00:58 
2024-05-30 19:00:58 I0530 18:00:58.379217          HTTP-18 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-30 19:00:58 I0530 18:00:58.379248          HTTP-20 PluginsManager.cpp:161] (plugins) Body of the call from QIDO-RS to /tools/find: {
2024-05-30 19:00:58 "Expand" : true,
2024-05-30 19:00:58 "Full" : true,
2024-05-30 19:00:58 "Level" : "Series",
2024-05-30 19:00:58 "Limit" : 0,
2024-05-30 19:00:58 "Query" : 
2024-05-30 19:00:58 {
2024-05-30 19:00:58 "0020,000d" : "1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283"
2024-05-30 19:00:58 },
2024-05-30 19:00:58 "RequestedTags" : 
2024-05-30 19:00:58 [
2024-05-30 19:00:58 "0008,0060",
2024-05-30 19:00:58 "0008,0201",
2024-05-30 19:00:58 "0008,1030",
2024-05-30 19:00:58 "0008,103e",
2024-05-30 19:00:58 "0020,000d",
2024-05-30 19:00:58 "0020,000e",
2024-05-30 19:00:58 "0020,0011",
2024-05-30 19:00:58 "0020,1209",
2024-05-30 19:00:58 "0040,0244",
2024-05-30 19:00:58 "0040,0245",
2024-05-30 19:00:58 "0040,0275"
2024-05-30 19:00:58 ],
2024-05-30 19:00:58 "Since" : 0
2024-05-30 19:00:58 }
2024-05-30 19:00:58 
2024-05-30 19:00:58 I0530 18:00:58.379288          HTTP-20 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-30 19:00:58 I0530 18:00:58.379685          HTTP-18 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-30 19:00:58 I0530 18:00:58.379867          HTTP-18 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-30 19:00:58 I0530 18:00:58.380131          HTTP-20 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-30 19:00:58 W0530 18:00:58.380341          HTTP-18 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing study : 0008,0201
2024-05-30 19:00:58 I0530 18:00:58.380428          HTTP-20 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-30 19:00:58 I0530 18:00:58.380546          HTTP-18 StorageCache.cpp:127] Read attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" with content type 1 from cache
2024-05-30 19:00:58 W0530 18:00:58.380729          HTTP-20 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing series : 0008,0201;0040,0244;0040,0245;0040,0275
2024-05-30 19:00:58 I0530 18:00:58.380786          HTTP-20 StorageCache.cpp:127] Read attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" with content type 1 from cache
2024-05-30 19:00:58 I0530 18:00:58.395027          HTTP-24 HttpServer.cpp:1262] (http) GET /dicom-web/studies/1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283/series/1.2.276.0.7230010.3.1.3.895564129.1.1717091982.516284/rendered
2024-05-30 19:00:58 I0530 18:00:58.395100          HTTP-24 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/studies/1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283/series/1.2.276.0.7230010.3.1.3.895564129.1.1717091982.516284/rendered
2024-05-30 19:00:58 I0530 18:00:58.395149          HTTP-24 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-30 19:00:58 I0530 18:00:58.396028          HTTP-24 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-30 19:00:58 I0530 18:00:58.396202          HTTP-24 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-30 19:00:58 I0530 18:00:58.396293          HTTP-24 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768 (built-in API)
2024-05-30 19:00:58 I0530 18:00:58.396586          HTTP-24 StorageCache.cpp:127] Read attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" with content type 1 from cache
2024-05-30 19:00:58 I0530 18:00:58.396912          HTTP-24 PluginsManager.cpp:161] (plugins) Won't use GDCM to decode this instance of 0.1MB, as its transfer syntax 1.2.840.10008.1.2.1 is disabled
2024-05-30 19:00:58 I0530 18:00:58.396942          HTTP-24 ServerContext.cpp:1948] The installed image decoding plugins cannot handle an image, fallback to the built-in DCMTK decoder
2024-05-30 19:00:58 E0530 18:00:58.397535          HTTP-24 PluginsManager.cpp:188] Exception while invoking plugin service 6014: Not implemented yet
2024-05-30 19:00:58 E0530 18:00:58.397566          HTTP-24 PluginsManager.cpp:153] Cannot uncompress a DICOM image
2024-05-30 19:00:58 E0530 18:00:58.397608          HTTP-24 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Parameter out of range
2024-05-30 19:00:58 I0530 18:00:58.402492          HTTP-21 HttpServer.cpp:1262] (http) GET /stone-webviewer/img/loading.gif
2024-05-30 19:00:58 I0530 18:00:58.402537          HTTP-21 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/img/loading.gif
2024-05-30 19:00:58 I0530 18:00:58.406696          HTTP-19 HttpServer.cpp:1262] (http) GET /dicom-web/studies/1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283/series/1.2.276.0.7230010.3.1.3.895564129.1.1717091982.516284/metadata
2024-05-30 19:00:58 I0530 18:00:58.406759          HTTP-19 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/studies/1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283/series/1.2.276.0.7230010.3.1.3.895564129.1.1717091982.516284/metadata
2024-05-30 19:00:58 I0530 18:00:58.406820          HTTP-19 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-30 19:00:58 I0530 18:00:58.407622          HTTP-19 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-30 19:00:58 I0530 18:00:58.407835          HTTP-19 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-30 19:00:58 I0530 18:00:58.407994          HTTP-19 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768/attachments/4301/data (built-in API)
2024-05-30 19:00:58 I0530 18:00:58.408122          HTTP-19 StorageCache.cpp:127] Read attachment "0d3d87ff-769f-4573-8c4c-4606ff1808a0" with content type 4301 from cache
2024-05-30 19:00:58 I0530 18:00:58.408179          HTTP-19 OrthancPlugins.cpp:3221] (plugins) Plugin making REST GET call on URI /series/6a0a825f-ca0c4f1e-7eb7238e-39cdc5ba-878bd768 (built-in API)
2024-05-30 19:00:58 I0530 18:00:58.414587          HTTP-23 HttpServer.cpp:1262] (http) GET /dicom-web/instances
2024-05-30 19:00:58 I0530 18:00:58.414645          HTTP-23 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/instances
2024-05-30 19:00:58 I0530 18:00:58.414670          HTTP-23 PluginsManager.cpp:161] (plugins) Arguments of QIDO-RS request: [0020000D=1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283] [0020000E=1.2.276.0.7230010.3.1.3.895564129.1.1717091982.516284] [includefield=00080016]
2024-05-30 19:00:58 I0530 18:00:58.414743          HTTP-23 PluginsManager.cpp:161] (plugins) Body of the call from QIDO-RS to /tools/find: {
2024-05-30 19:00:58 "Expand" : true,
2024-05-30 19:00:58 "Full" : true,
2024-05-30 19:00:58 "Level" : "Instance",
2024-05-30 19:00:58 "Limit" : 0,
2024-05-30 19:00:58 "Query" : 
2024-05-30 19:00:58 {
2024-05-30 19:00:58 "0020,000d" : "1.2.276.0.7230010.3.1.2.895564129.1.1717091982.516283",
2024-05-30 19:00:58 "0020,000e" : "1.2.276.0.7230010.3.1.3.895564129.1.1717091982.516284"
2024-05-30 19:00:58 },
2024-05-30 19:00:58 "RequestedTags" : 
2024-05-30 19:00:58 [
2024-05-30 19:00:58 "0008,0016",
2024-05-30 19:00:58 "0008,0018",
2024-05-30 19:00:58 "0008,0056",
2024-05-30 19:00:58 "0008,0201",
2024-05-30 19:00:58 "0008,1190",
2024-05-30 19:00:58 "0020,000d",
2024-05-30 19:00:58 "0020,000e",
2024-05-30 19:00:58 "0020,0013",
2024-05-30 19:00:58 "0028,0008",
2024-05-30 19:00:58 "0028,0010",
2024-05-30 19:00:58 "0028,0011",
2024-05-30 19:00:58 "0028,0100"
2024-05-30 19:00:58 ],
2024-05-30 19:00:58 "Since" : 0
2024-05-30 19:00:58 }
2024-05-30 19:00:58 
2024-05-30 19:00:58 I0530 18:00:58.414784          HTTP-23 OrthancPlugins.cpp:4058] (plugins) Plugin making REST POST call to URI /tools/find (after plugins)
2024-05-30 19:00:58 I0530 18:00:58.415217          HTTP-23 ServerContext.cpp:1561] Number of candidate resources after fast DB filtering on main DICOM tags: 1
2024-05-30 19:00:58 I0530 18:00:58.415398          HTTP-23 ServerContext.cpp:1709] Number of matching resources: 1
2024-05-30 19:00:58 W0530 18:00:58.415613          HTTP-23 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing instance : 0008,0016;0008,0201;0028,0010;0028,0011;0028,0100
2024-05-30 19:00:58 I0530 18:00:58.415697          HTTP-23 StorageCache.cpp:127] Read attachment "e6d271e0-0885-4db3-84ca-8e54de86155d" with content type 1 from cache
2024-05-30 19:01:00 I0530 18:01:00.136420          HTTP-22 HttpServer.cpp:1262] (http) GET /stone-webviewer/webfonts/fa-solid-900.woff2
2024-05-30 19:01:00 I0530 18:01:00.136490          HTTP-22 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/webfonts/fa-solid-900.woff2
2024-05-30 19:01:07 I0530 18:01:07.364381          HTTP-25 HttpServer.cpp:1262] (http) GET /stone-webviewer/app.css
2024-05-30 19:01:07 I0530 18:01:07.364376          HTTP-26 HttpServer.cpp:1262] (http) GET /stone-webviewer/app-fixes.css
2024-05-30 19:01:07 I0530 18:01:07.364696          HTTP-25 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app.css
2024-05-30 19:01:07 I0530 18:01:07.364759          HTTP-26 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/app-fixes.css
2024-05-30 19:01:07 I0530 18:01:07.365056          HTTP-28 HttpServer.cpp:1262] (http) GET /stone-webviewer/open-sans.css
2024-05-30 19:01:07 I0530 18:01:07.365125          HTTP-28 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/open-sans.css
2024-05-30 19:01:07 I0530 18:01:07.364376          HTTP-27 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/bootstrap.css
2024-05-30 19:01:07 I0530 18:01:07.365670          HTTP-27 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/bootstrap.css
2024-05-30 19:01:07 I0530 18:01:07.375743          HTTP-29 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/all.css
2024-05-30 19:01:07 I0530 18:01:07.375818          HTTP-29 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/all.css
2024-05-30 19:01:08 I0530 18:01:08.481571          HTTP-31 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/axios.min.map
2024-05-30 19:01:08 I0530 18:01:08.481642          HTTP-31 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/axios.min.map
2024-05-30 19:01:08 I0530 18:01:08.481583          HTTP-30 HttpServer.cpp:1262] (http) GET /stone-webviewer/js/pdf.js.map
2024-05-30 19:01:08 I0530 18:01:08.481705          HTTP-30 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/js/pdf.js.map
2024-05-30 19:01:08 I0530 18:01:08.481719          HTTP-30 PluginsManager.cpp:161] (plugins) Unknown MIME type for extension ".map"
2024-05-30 19:01:08 I0530 18:01:08.481667          HTTP-31 PluginsManager.cpp:161] (plugins) Unknown MIME type for extension ".map"
2024-05-30 19:01:08 I0530 18:01:08.508590          HTTP-32 HttpServer.cpp:1262] (http) GET /stone-webviewer/css/bootstrap.css.map
2024-05-30 19:01:08 I0530 18:01:08.508653          HTTP-32 OrthancPlugins.cpp:2475] (plugins) Delegating HTTP request to plugin for URI: /stone-webviewer/css/bootstrap.css.map
2024-05-30 19:01:08 I0530 18:01:08.508676          HTTP-32 PluginsManager.cpp:161] (plugins) Unknown MIME type for extension ".map"

Hi Diego,

Can you provide us with a sample docker-compose and a curl command for us to investigate ?

Thanks

Alain

Dear Diego,

I see two problems in your POST request:

  • As indicated by Alain, the SOP Class UID should be 1.2.840.10008.5.1.4.1.1.104.1 and not 1.2.840.10008.5.1.4.1.1.7.
  • Your Content field contains an array, whereas a straight string should be used.

Here is a full example in Python that works correctly with the Stone Web viewer:

import base64
import json
import requests

with open('sample.pdf', 'rb') as f:
    content = base64.b64encode(f.read()).decode('ascii')

r = requests.post('http://localhost:8042/tools/create-dicom', json.dumps({
    'Content': 'data:application/pdf;base64,' + content,  # => No array here
    'Tags' : {
        'PatientBirthDate':'20240529',
        'PatientSex':'M',
        'InstitutionName':'CENTRO DE SAUDE DE NITEROI',
        'RequestedProcedurePriority':'ROUTINE',
        'StudyDescription':'dad',
        'PatientName':'aacpsc',
        #'EmptyStudy':'false',                        # => Bad DICOM tag
        'PatientComments':None,
        'Modality':'BMD',
        #'SOPClassUID':'1.2.840.10008.5.1.4.1.1.7',   # => Not a PDF
        'SeriesDescription':'dad'
    }}), auth = requests.auth.HTTPBasicAuth('orthanc', 'orthanc'))
r.raise_for_status()

Kind Regards,
Sébastien-

Hello Alain, Sebastien! Sorry for the late reply.

I tried once again a clean setup to understand the issue, but I noticed something: although Orthanc shows errors on a dicomized PDF study, it correctly shows it after clicking the series thumbnail.

This is the state after opening the viewer:

And the reader logs:

2024-06-11 03:46:01 reader-default-1  | W0611 02:46:01.402928          HTTP-81 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing study : 0008,0201
2024-06-11 03:46:01 reader-default-2  | W0611 02:46:01.404308          HTTP-67 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing series : 0008,0201;0040,0244;0040,0245;0040,0275
2024-06-11 03:46:01 reader-default-2  | W0611 02:46:01.432167          HTTP-68 PluginsManager.cpp:157] Cannot decode image using GDCM: Bad file format
2024-06-11 03:46:01 reader-default-2  | E0611 02:46:01.432304          HTTP-68 PluginsManager.cpp:188] Exception while invoking plugin service 6014: Not implemented yet
2024-06-11 03:46:01 reader-default-2  | E0611 02:46:01.432320          HTTP-68 PluginsManager.cpp:153] Cannot uncompress a DICOM image
2024-06-11 03:46:01 reader-default-2  | E0611 02:46:01.432342          HTTP-68 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Parameter out of range
2024-06-11 03:46:01 reader-default-2  | W0611 02:46:01.466843          HTTP-70 ServerContext.cpp:2626] W001: Accessing Dicom tags from storage when accessing instance : 0008,0016;0008,0201;0028,0010;0028,0011;0028,0100

And the viewer after clicking the series thumbnail:

I think I got confused with the viewer behavior because Stone usually shows instances immediately, and with the logs because it indicates errors.

By the way, I confirmed there’s no need to pass SOPClassUID as Alain suggested, and the reason I have “EmptyStudy” is because I registered it as a private tag in orthanc.json, so I can let users upload studies without instances (don’t ask me why!):

"Dictionary": {
    "1385,0001": [
        "SH",
        "EmptyStudy",
        1,
        1
    ]
  }

So the PDF is dicomized, but the viewer fails to initially render it, hence the errors! Thanks for your help!