I am a beginner in DICOM protocols and ORTHANC code base. I built and ran the server from the source code. I tried to send a c-echo to ORTHANC server from a ORTHANC client. The connect works and I was able to start a DICOM session between the server and the client. I sent a c-echo from my client and it fails. The error message I get is "failure : no reason" which I think is one of the 6 ambiguous error messages allowed in DICOM protocol. I wonder if there is a way I can output meaningful debug messages from the server side to find out more about the c-echo failure. Which source file should I look into in order to do this? Or is there any better solution for this problem?
This most probably reflects a problem in your network configuration. First of all, if you use Microsoft Windows, please be sure that all the firewalls are turned off (both on the client and on the Orthanc server).
I would suggest to run Orthanc on the same computer than your client, to bypass any problem related to your network topology.
If this succeeds, use two separate computers, one running Orthanc, the other one using a DICOM client that is known to work against Orthanc (such as Ginkgo CADx, 3D Slicer, medInria or OsiriX/Horos).
If this does not help, please post here the AET+IP address+DICOM port of both your client and your server, post your Orthanc configuration, together with the name of your DICOM client. Maybe someone has an experience with the latter software.
Seems like you are trying to query a remote station from the OrthanC explorer, if that it’s true …, you must be sure that the station it’s correctly configured to accept such queries.
It’s not a problem FROM WHERE your are trying to do the query … your are trying to query a remote modalitie … no? … have you setup the OrthanC on the modalitie ? … if not, maybe that why you get the error.
On the config file you attached, there is only one Modalitie defined … one ‘ginkgo’ station, as far as i know ginkgo doesn’t support you to query it … it support to query other modalities …