DICOM-WEB Q/R issue using Weasis

587 views
Skip to first unread message

Aurélio Thiago

unread,
Oct 7, 2021, 3:37:08 PM10/7/21
to Orthanc Users
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
dicomweb.json

Gustavo Fernandez Guirland

unread,
Oct 8, 2021, 11:11:20 AM10/8/21
to Orthanc Users
I see that in the dicomweb.json you have the option
"EnableWado": false,
Did you try setting it to true?

Best regards

Aurélio Thiago

unread,
Oct 8, 2021, 12:54:14 PM10/8/21
to Orthanc Users
Hi friend,

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

Thanks

Alain Mazy

unread,
Oct 12, 2021, 2:53:06 AM10/12/21
to Aurélio Thiago, Orthanc Users
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

--
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/89055176-c5f6-4787-b8de-2d05aee34f2an%40googlegroups.com.

Юрій Череднічок

unread,
Mar 6, 2023, 9:51:14 AM3/6/23
to Orthanc Users
Hi all!
Have same problem with Weasis.

my log and config files in attachment.

i can list studies but when i try retrive it nothing happens.

Anyone has working ideas?


вівторок, 12 жовтня 2021 р. о 09:53:06 UTC+3 Alain Mazy пише:
dicomweb.json
weasis.jpg
orthanc.json
Orthanc.log

Юрій Череднічок

unread,
Mar 6, 2023, 1:59:03 PM3/6/23
to Orthanc Users
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

понеділок, 6 березня 2023 р. о 16:51:14 UTC+2 Юрій Череднічок пише:

Sébastien Jodogne

unread,
Mar 15, 2023, 10:48:26 AM3/15/23
to Orthanc Users
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:

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

Юрій Череднічок

unread,
Mar 15, 2023, 12:11:45 PM3/15/23
to Orthanc Users
In my case: i can query list of studies, but when i press Import or Import and close nothing happened. :(

середа, 15 березня 2023 р. о 16:48:26 UTC+2 Sébastien Jodogne пише:

Юрій Череднічок

unread,
Mar 15, 2023, 12:17:24 PM3/15/23
to Orthanc Users
also tried your method via docker and nothing happened. :(

середа, 15 березня 2023 р. о 18:11:45 UTC+2 Юрій Череднічок пише:

Sébastien Jodogne

unread,
Mar 15, 2023, 12:24:57 PM3/15/23
to Orthanc Users
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-
Reply all
Reply to author
Forward
0 new messages