Not all images loading on osimis/orthanc:latest

165 views
Skip to first unread message

John Sly

unread,
Aug 15, 2022, 9:53:27 AM8/15/22
to Orthanc Users
I'll start by stating, I'm a developer, so this is a bit of reaching for me with a pacs server. There are a number of things with dicom files where I just don't know what things SHOULD be.

That being said, let me explain my problem. I'm hoping someone can help me diagnose, and if lucky, resolve my issue. I'm running a study where sites are uploading cath lab images. The images are anonymized and stored for review. The issue I'm hitting is that the images aren't all visible. It seems like some of them aren't loading.

Screenshot at 2022-08-15 08-47-16.png
I've run this process in the past and never encountered a problem. My setup hasn't changed either so I don't know why I'm suddenly having an issue now.

I'm suspecting two potential issues but they're kind of guesses at this moment.
1) Caching. I don't know if that's the case, but it feels like caching where the images aren't being properly extracted and cached, but that being said, I'd expect things to be cached eventually instead of remaining broken.
2) Encoding. Maybe it's a weird encoding issue? Though why do some images load and others don't? They're all coming from the same site. I'd expect them to have the same encoding.

Either way, I'm not able to properly test any of these theories, because I don't know where to start. I'm hoping for a little input. If I can get a decent diagnoses of the problem, then I should be able to start looking for some solutions at least.

Alain Mazy

unread,
Aug 16, 2022, 8:31:34 AM8/16/22
to John Sly, Orthanc Users
Hi,

You should check:
- for errors in the network tab of the developer tolls of your browser.
- for errors in the Orthanc logs.

Best regards,

Alain.



--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/88963808-286d-4ab3-b55f-04a7c3ead902n%40googlegroups.com.

Sébastien Jodogne

unread,
Aug 16, 2022, 10:01:15 AM8/16/22
to Orthanc Users
Hello,

If Alain's instructions don't help you, you'll have to post a minimal working example (i.e. DICOM files) so that other people can independently reproduce your issue:

Sébastien-

On Tuesday, August 16, 2022 at 2:31:34 PM UTC+2 alain...@osimis.io wrote:
Hi,

You should check:
- for errors in the network tab of the developer tolls of your browser.
- for errors in the Orthanc logs.

Best regards,

Alain.

On Mon, Aug 15, 2022 at 3:53 PM John Sly <facel...@gmail.com> wrote:
I'll start by stating, I'm a developer, so this is a bit of reaching for me with a pacs server. There are a number of things with dicom files where I just don't know what things SHOULD be.

That being said, let me explain my problem. I'm hoping someone can help me diagnose, and if lucky, resolve my issue. I'm running a study where sites are uploading cath lab images. The images are anonymized and stored for review. The issue I'm hitting is that the images aren't all visible. It seems like some of them aren't loading.

John Sly

unread,
Aug 18, 2022, 11:27:06 AM8/18/22
to Orthanc Users
Hello, I'll start with the version data. I'm running this with docker-compose. We have a few things so you'll see traefik for port forwarding between applications on our server, but I won't bother to supply that data. since it's very specific to our configuration:

orthanc:
               image: osimis/orthanc:latest
               container_name: orthanc
               ports:
                        - 8042:8042
                        - 4242:4242
               restart: unless-stopped
               depends_on:
                        - postgresql13
               networks:
                        - internal
                        - traefik
               volumes:
                        - $USERDIR/docker/orthanc/orthanc.json:/etc/orthanc/orthanc.json:ro
                        - $USERDIR/docker/orthanc/perms.lua:/etc/orthanc/scripts/perms.lua:ro
                        - $USERDIR/docker/orthanc/db:/var/lib/orthanc/db/
               environment:
                        VERBOSE_ENABLED: "true"
                        VERBOSE_STARTUP: "true"
                        OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: "true"

As for the console tab when I open the viewer: Here is one anonymized study: https://pacs.bmc2.org/osimis-viewer/app/index.html?study=fd3506e3-f6efd2ad-7f700962-5441706d-ab216735 - so you can see the output and results yourself
{
    "type": "failure",
    "status": 400,
    "response": {
        "name": "HttpRequestError",
        "message": "Failed HTTP request",
        "stack": "Error\n    at new HttpRequestError (blob:https://pacs.bmc2.org/7f44d98c-945d-4ff6-b7e8-8066ce5d90e6:499:23)\n    at xhr.onreadystatechange (blob:https://pacs.bmc2.org/7f44d98c-945d-4ff6-b7e8-8066ce5d90e6:449:32)",
        "data": {},
        "status": 400,
        "statusText": ""
    }
}

If you want to look at the files specifically, you can download the study. I'm still a bit mixed on my thoughts of what has changed between previous studies we've run and this round. The pacs configuration hasn't changed, but some server configurations do tend to change. I'm between it being a caching issue (or extraction from compressed files), or an encoding issue since we do get lots of files from multiple sites. I'm suspecting it's caching, but I just don't know how to test for it.

I can also provide any specific items you might want to see from my config file.

Alain Mazy

unread,
Aug 19, 2022, 3:17:31 AM8/19/22
to John Sly, Orthanc Users
Hi John,

Take care that, when you use "latest", you actually don't know which version you are using.  I recommend using a specific tag.

I don't have your orthanc.json file.  At this time, all I can suspect is that you are using StorageCompression and Orthanc 1.11.0 or 1.11.1 and are therefore affected by the bug described here.  If this is the case, I would revert to osimis/orthanc:22.6.2 while waiting for the release containing the bug fix.

HTH

Alain



--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.

John Sly

unread,
Aug 19, 2022, 11:24:48 AM8/19/22
to Orthanc Users
Hi Alain. I want to give you a HUGE thanks for the help with this. You really nailed it on the issue. I was running 1.11.1 with compression.

I changed the orhtanc version as you recommended and it seems to have fixed everything. I was honestly worried that I'd need to re-upload all of the images, but it seems to have corrected itself.

I did want to note, changing the image to osimis/orthanc:22.6.2 from latest took me from version 1.11.1 to 1.11.0 - is it likely I'll see this issue coming back up since I'm on one of the two versions mentioned?

Also, this might be a stupid question, but how can I check the image vs orthanc version? Is there a link you can pass long that states  osimis/orthanc:22.6.2 runs Orthanc 1.11.0?

Again, I really appreciate your help with this, I'm not sure how long it'd have taken me to find this issue without your help!!

- John

Alain Mazy

unread,
Aug 29, 2022, 11:15:26 AM8/29/22
to John Sly, Orthanc Users
Hi John,

Glad I could help.

To know what Orthanc version is included in each osimis/orthanc image, you can check:
- the Dockerhub page should show the content of the latest version.  But I just noticed that I was publishing the wrong README file.  This should be fixed by tomorrow.  In the meantime, here's the link to the dockerhub readme.
- the release notes will show you the history

I double checked the change logs and the storage cache bug was actually introduced between 1.11.0 and 1.11.1 so what you observe makes sense.

Best regards,

Alain.










John Sly

unread,
Aug 29, 2022, 11:48:37 AM8/29/22
to Alain Mazy, Orthanc Users
Again, I really appreciate the help with this!
Reply all
Reply to author
Forward
0 new messages