We are facing a issue while trying to retrieve the DICOM file using the DICOM Network Protocols (C-commands), the echoscu and storescu commands are working successfully however the getscu, movescu and findscu are not working properly and returning errors. Getting the following errors:
Command: getscu -v -k 0010,0020=“556342B” -aet CLIENT -aec ORTHANC 3.89.64.152 4242 -k 0008
,0052=“PATIENT” -d
Response: D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
I: Sending C-GET Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-GET RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : GETPatientRootQueryRetrieveInformationModel
D: Data Set : present
D: Priority : medium
D: -----------------------------------------------------------------
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0008,0052) CS [PATIENT] # 8, 1 QueryRetrieveLevel
D: (0010,0020) LO [556342B] # 8, 1 PatientID
D: ======================= END DIMSE MESSAGE =======================
E: Failed receiving DIMSE command: 0006:0317 Peer aborted Association (or never connected)
Command: findscu -v -aet CLIENT -aec ORTHANC 3.89.64.152 4242 -k “QueryRetrieveLevel=STUDY” -k “PatientID=556342B”
D: $dcmtk: findscu v3.6.6 2021-01-14 $
D:
D: DcmDataDictionary: Loading file: /usr/share/libdcmtk16/dicom.dic
D: DcmDataDictionary: Loading file: /usr/share/libdcmtk16/private.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.6
D: Our Implementation Version Name: OFFIS_DCMTK_366
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: CLIENT
D: Called Application Name: ORTHANC
D: Responding Application Name: ORTHANC
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 184 + 6 bytes PDU header
D: 02 00 00 00 00 b8 00 01 00 00 4f 52 54 48 41 4e
D: 43 20 20 20 20 20 20 20 20 20 43 4c 49 45 4e 54
D: 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 19 01 00 03 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 50 00 00 3a 51 00 00 04 00 00 40 00 52 00 00 1b
D: 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30 30 31
D: 30 2e 33 2e 30 2e 33 2e 36 2e 36 55 00 00 0f 4f
D: 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 36
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.6
D: Our Implementation Version Name: OFFIS_DCMTK_366
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.6
D: Their Implementation Version Name: OFFIS_DCMTK_366
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: CLIENT
D: Called Application Name: ORTHANC
D: Responding Application Name: ORTHANC
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Abstract Syntax Not Supported)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
E: No Acceptable Presentation Contexts