Dear All,
I have a cloud based installation of ORTHANC server, the cloud server has all the required ports open. I would like to use on my pc a dicom client like Horos/Osirix. I tried configuring Horos; C-ECHO, C-FIND, C-STORE work well, so I can connect, query and send the studies to the cloud pacs, but once I try to retrieve the images in C-GET mode the horos client shows this error message:
“DICOM Network Failure (query)
SCU Failed 0006:0208 DIMSE No valid Presentation Context ID”
Once I switch to C-MOVE mode the client shows this error message:
“Move Failed
Failed: UnableToProcess”
and the ORTHANC logs show:
E0302 03:06:22.380820 DicomUserConnection.cpp:159] DicomUserConnection: Failed to establish association
0006:0317 Peer aborted Association (or never connected)
0006:031c TCP Initialization Error: Operation now in progress (Timeout)
E0302 03:06:22.381097 MoveScp.cpp:181] IMoveRequestHandler Failed: Error in the network protocol
My Orthanc conf file:
“DicomModalities” : { “horos-paolo” : [“MacBook-PaoloTri”, “93.47.xxx.yyy”, 11112 ] }
where “93.47.xxx.yyy” is the public IP of my laptop where HOROS is installed
In the C-MOVE mode I can understand the behavior, because the cloud server can’t reach the client using the public IP of my laptop…but in the C-GET mode it should work…
Any suggestions?
Thanks
Paolo
Hello,
DICOM C-Get is deprecated and, as such, is not supported by Orthanc.
You have 3 options:
- Use DICOM C-Move (query/retrieve). This is probably not the best solution if you are cloud-based.
- Use a viewer that supports DICOMweb (more precisely QIDO-RS and WADO-RS), and install the DICOMweb plugin for Orthanc.
- Write some custom script (e.g. in Python) to locally download images from the cloud when needed, using the REST API of Orthanc.
HTH,
Sébastien-
Dear Sebastien,
thanks a lot for your quick reply.
How do you suggest to configure Orthanc and my local network in order to make C-MOVE mode working in a cloud based environment?
Any help could be really appreciated.
All the bests
Paolo
You would have to configure the firewall of your LAN so that your cloud-based instance of Orthanc can send images to your local instance of Horos/OsiriX.
Before testing query/retrieve, you should check whether (1) your cloud-based Orthanc can C-Echo your local Horos/OsiriX, then (2) your cloud-based Orthanc can C-Store a file to Horos/OsiriX. Query/Retrieve should then work.
Beware however that this is a highly insecure way of exchanging medical images! The imaging data will travel unencrypted, and anybody will be able to send images to your Horos/OsiriX.
You should definitely never use DICOM Query/Retrieve to exchange medical images over the cloud. Using an HTTPS-based approach (DICOMweb or REST API of Orthanc) or a VPN are the only secured solutions available.
Dear Sebastien,
thanks a lot for your reply. I’m absolutely aware about the security issues related to the medical data exchange, this project fortunately deals only with anonymized images for shared research purposes among few diagnostic centers.
I will try and I let you know
All the bests
Paolo
Hello All
Excuse me, have you tried to retrieve the studies via WADO (with the DicomWeb plugin installed)
In the HOROS/OSIRIX node configuration would be something like:
[ip] [aet] [port, ej 4242] [retrieve]
where:
[ip] would be a public ip or a http address, like for example.ddns.net in case of using the no-ip free ddns service fon instance
[aet] AE Title
[port] The Orthanc port, def 4242
[restrieve] select WADO, and the internal options would be something like wado-path:wado, wado-port:8042, encryption:https, user: ej "alice", pass: ej."alice password", syntax: "ELE"]
and in the server Orthanc i did configure the modalitie as
"HOROS": ["HOROS", "public ip", 11112]
* i could not tried using a ddns because my home router does not operate correctly so i dont know if it can work.
hope you find this info helpful.
reggards,
Manuel
PS Sebastien Thank you very much for this project, its really awesome!!!!!
Dear Sebastien
Kindly guide me, I have lost all my dicom images in Horos, how to recover them?
Thank you in advance
Hello,
Please provide a complete description of your problem and your infrastructure, and make sure to read the troubleshooting guide:
https://orthanc.chu.ulg.ac.be/book/faq/dicom.html