Error ClearCanvas

Dear,

Error doing query / retrieve on orthanc using ClearCanvas Viewer Client.
I do the same setup for Radiant Viewer and it works perfectly.
What can I do to use ClearCanvas?

Best regards,
Fábio

Hello,

Please have a look at the options related to ClearCanvas in the Orthanc configuration file:
https://book.orthanc-server.com/users/configuration.html

https://bitbucket.org/sjodogne/orthanc/raw/Orthanc-1.5.7/Resources/Configuration.json

Sébastien-

Thank you Sebastian,
But these these settings have already been tried

You should provide logs so we can help you ( https://book.orthanc-server.com/faq/log.html).
You should see the details of the C-Find query coming from ClearCanvas and eventually some details about the error.

Attached log file

I0923 09:54:43.828946 CommandDispatcher.cpp:360] Association Received from AET C
LEARCANVAS on IP 192.168.0.14
I0923 09:54:43.828946 main.cpp:195] Incoming connection from AET CLEARCANVAS on
IP 192.168.0.14, calling AET ORTHANC
I0923 09:54:43.844571 CommandDispatcher.cpp:582] Association Acknowledged (Max S
end PDV: 116782)
I0923 09:54:43.844571 main.cpp:215] Incoming Echo request from AET CLEARCANVAS o
n IP 192.168.0.14, calling AET ORTHANC
I0923 09:54:43.844571 CommandDispatcher.cpp:815] Received Echo Request
I0923 09:54:43.844571 CommandDispatcher.cpp:785] DUL Peer Requested Release
I0923 09:54:43.844571 CommandDispatcher.cpp:792] Association Release
I0923 09:54:47.063321 CommandDispatcher.cpp:360] Association Received from AET C
LEARCANVAS on IP 192.168.0.14
I0923 09:54:47.063321 main.cpp:195] Incoming connection from AET CLEARCANVAS on
IP 192.168.0.14, calling AET ORTHANC
I0923 09:54:47.078946 CommandDispatcher.cpp:582] Association Acknowledged (Max S
end PDV: 116782)
I0923 09:54:47.078946 main.cpp:215] Incoming Move request from AET CLEARCANVAS o
n IP 192.168.0.14, calling AET ORTHANC
W0923 09:54:47.078946 OrthancMoveRequestHandler.cpp:289] Move-SCU request receiv
ed for AET “CLEARCANVAS”
I0923 09:54:47.078946 OrthancMoveRequestHandler.cpp:297] (0008,0052) QueryRet
rieveLevel = STUDY
I0923 09:54:47.078946 OrthancMoveRequestHandler.cpp:297] (0020,000d) StudyIns
tanceUID = 1.2.392.200036.9107.500.11401817110603067
I0923 09:54:47.078946 OrthancMoveRequestHandler.cpp:83] Sending resource eeddb90
1-ea63c234-ff06aec8-edc9484d-5c224222 to modality “CLEARCANVAS” in synchronous m
ode
I0923 09:54:47.078946 FilesystemStorage.cpp:155] Reading attachment “cdd8442f-6c
1b-4e48-895f-b4858f24d505” of “DICOM” content type
I0923 09:54:47.125821 DicomUserConnection.cpp:1031] Opening a DICOM SCU connecti
on from AET “ORTHANC” to AET “CLEARCANVAS” on host 192.168.0.11:11112 (manufactu
rer: Generic)
I0923 09:54:49.719571 CommandDispatcher.cpp:360] Association Received from AET C
LEARCANVAS on IP 192.168.0.14
I0923 09:54:49.719571 main.cpp:195] Incoming connection from AET CLEARCANVAS on
IP 192.168.0.14, calling AET ORTHANC
I0923 09:54:49.735196 CommandDispatcher.cpp:582] Association Acknowledged (Max S
end PDV: 116782)
I0923 09:54:49.735196 main.cpp:215] Incoming Move request from AET CLEARCANVAS o
n IP 192.168.0.14, calling AET ORTHANC
W0923 09:54:49.735196 OrthancMoveRequestHandler.cpp:289] Move-SCU request receiv
ed for AET “CLEARCANVAS”
I0923 09:54:49.735196 OrthancMoveRequestHandler.cpp:297] (0008,0052) QueryRet
rieveLevel = STUDY
I0923 09:54:49.735196 OrthancMoveRequestHandler.cpp:297] (0020,000d) StudyIns
tanceUID = 1.2.392.200036.9107.500.11401817110603064
I0923 09:54:49.735196 OrthancMoveRequestHandler.cpp:83] Sending resource d66bf5a
6-6be75b39-cfffe012-bae848f3-9c414e76 to modality “CLEARCANVAS” in synchronous m
ode
I0923 09:54:49.735196 FilesystemStorage.cpp:155] Reading attachment “21feaa5f-0a
92-492d-982a-52c958f93430” of “DICOM” content type
I0923 09:54:49.813321 DicomUserConnection.cpp:1031] Opening a DICOM SCU connecti
on from AET “ORTHANC” to AET “CLEARCANVAS” on host 192.168.0.11:11112 (manufactu
rer: Generic)
E0923 09:54:57.125821 OrthancException.h:85] Error in the network protocol: Dico
mUserConnection - connecting to AET “CLEARCANVAS”: Failed to establish associati
on (0006:0317 Peer aborted Association (or never connected); 0006:031c TCP Initi
alization Error: A operaþÒo foi concluÝda com Ûxito. (Timeout))
E0923 09:54:57.125821 MoveScp.cpp:237] IMoveRequestHandler Failed: Error in the
network protocol
I0923 09:54:57.125821 CommandDispatcher.cpp:785] DUL Peer Requested Release
I0923 09:54:57.125821 CommandDispatcher.cpp:792] Association Release
E0923 09:54:59.813321 OrthancException.h:85] Error in the network protocol: Dico
mUserConnection - connecting to AET “CLEARCANVAS”: Failed to establish associati
on (0006:0317 Peer aborted Association (or never connected); 0006:031c TCP Initi
alization Error: A operaþÒo foi concluÝda com Ûxito. (Timeout))
E0923 09:54:59.813321 MoveScp.cpp:237] IMoveRequestHandler Failed: Error in the
network protocol

orthanc.log (17.8 KB)

I0923 09:54:49.813321 DicomUserConnection.cpp:1031] Opening a DICOM SCU connecti
on from AET “ORTHANC” to AET “CLEARCANVAS” on host 192.168.0.11:11112 (manufactu
rer: Generic)
E0923 09:54:57.125821 OrthancException.h:85] Error in the network protocol: Dico
mUserConnection - connecting to AET “CLEARCANVAS”: Failed to establish associati
on (0006:0317 Peer aborted Association (or never connected); 0006:031c TCP Initi
alization Error: A operaþÒo foi concluÝda com Ûxito. (Timeout))

When Orthanc tries to execute the C-Move, it’s not able to connect to the CLEARCANVAS modality.
I would first check if a firewall prevents Orthanc from connecting to that machine on PORT 11112.
You can check that with a telnet command from the Orthanc machine to 192.168.0.11 11112.
Once the telnet command succeeds, you should retry the C-Move and/or check on the CLEARCANVAS side that Orthanc is allowed to perform a C-Move.

The following line indicates that your ClearCanvas server does not accept images sent by Orthanc using DICOM C-STORE:

I0923 09:54:49.813321 DicomUserConnection.cpp:1031] Opening a DICOM SCU connection from AET “ORTHANC” to AET “CLEARCANVAS” on host 192.168.0.11:11112 (manufacturer: Generic)
E0923 09:54:57.125821 OrthancException.h:85] Error in the network protocol: DicomUserConnection - connecting to AET “CLEARCANVAS”: Failed to establish association (0006:0317 Peer aborted Association (or never connected); 0006:031c TCP Initialization Error: A operaþÒo foi concluÝda com Ûxito. (Timeout))

The “timeout” error tends to indicate an issue in the firewall configuration of host “192.168.0.11”.

Furthermore, as written in my previous post, you should set the manufacturer of “CLEARCANVAS” to “ClearCanvas”.
https://bitbucket.org/sjodogne/orthanc/src/Orthanc-1.5.7/Resources/Configuration.json#lines-194

Sébastien-