DICOM-WEB Q/R issue using Weasis

Hi all,

Can someone help me to solve a “problem”?

I installed Weasis to use DICOM-WEB protocol with Orthanc.

I can query from my local ortanc but not retreive and there is no conection error even in the log files.
on the orthanc config file json, i have enabled remote access and disable login required.

by the way, when i use orthanc test https://demo.orthanc-server.com/dicom-web with Weasis its works fine.
in atach is my configs files.

Thank you.

confgis.JPG

query.JPG

orthanc.json (35.7 KB)

dicomweb.json (1.22 KB)

I see that in the dicomweb.json you have the option
“EnableWado”: false,

Did you try setting it to true?

Best regards

Hi friend,

Yes I tried, but the retrieve still doesn’t work.

Thanks

Hi Aurélio,

You should first analyze your logs in verbose mode. Every dicom-web/DICOM requests shall be logged there: https://book.orthanc-server.com/faq/log.html

Best regards,

Alain

Hi all!
Have same problem with Weasis.

my log and config files in attachment.

With HTTP Header generated from site https://www.blitter.se/utils/basic-authentication-header-generator/
i can list studies but when i try retrive it nothing happens.

Anyone has working ideas?

dicomweb.json (863 Bytes)

weasis.jpg

orthanc.json (34.2 KB)

Orthanc.log (218 KB)

But seems it’s a Weasis side problem. Becose i tried MedDream Dicom Web Viewer with next options in config

com.softneta.meddream.pacs.configurations[0].type=Orthanc
com.softneta.meddream.pacs.configurations[0].id=OrthancLocal
com.softneta.meddream.pacs.configurations[0].baseUrl=http://10.20.30.111:8042
com.softneta.meddream.pacs.configurations[0].username=alice
com.softneta.meddream.pacs.configurations[0].password=password
com.softneta.meddream.pacs.configurations[0].storeScpAet=ORTHANC
com.softneta.meddream.pacs.configurations[0].storeScpIp=10.20.30.111
com.softneta.meddream.pacs.configurations[0].storeScpPort=4242

and it works great.

So now i see only workaround like web-proxy which will autentificate weasis onto Orthanc dicom-web service

Dear all,

I have just made a verification, and I can certify that Weasis 4.0.3 can connect to Orthanc 1.10.1 (more recent versions should be OK as well).

The main caveat might be related to HTTP basic authentication, that cannot be directly configured in the Weasis user interface. To this end, you’ll have to use the “Authorization” HTTP header:
https://en.wikipedia.org/wiki/Basic_access_authentication

First, I’ve started Orthanc using Docker as follows:

$ docker run --rm -t -i -p 8042:8042 -p 4242:4242 jodogne/orthanc-plugins:1.10.1

With this command line, Orthanc is accessible using the default username “orthanc” and password “orthanc”. Given this username/password, you can generate the proper value for the HTTP header as follows:

$ echo -n ‘orthanc:orthanc’ | base64
b3J0aGFuYzpvcnRoYW5j

This implies that the “Authorization” HTTP header must be set to value “Basic b3J0aGFuYzpvcnRoYW5j”.

Secondly, I’ve configured Weasis as depicted in the first attached screenshot, using the “File → Preferences” menu item.

Finally, as depicted in the second screenshot, I am able to query/retrieve using DICOMweb using the “File → Import DICOM” menu item.

Regards,
Sébastien-

weasis.png

weasis-2.png

In my case: i can query list of studies, but when i press Import or Import and close nothing happened. :frowning:

also tried your method via docker and nothing happened. :frowning:

Unfortunately, there is nothing more I can do for you. If upgrading Weasis to 4.0.3 doesn’t help, I would highly suggest you to get in touch with the Weasis community, in order to ask them how to debug such an issue.

In the verbose logs you provided on 2023-03-06, Weasis seems to only make QIDO-RS requests to URI “/dicom-web/studies” of Orthanc, and there is no subsequent WADO-RS request to retrieve the DICOM instance. This can be seen by looking at the log lines “Delegating HTTP request to plugin for URI”.

Sébastien-