I'm trying to debug DICOM retrieve problem and running against the wall. The error itself suggests that the problem is on the server side but I want to check that I'm making correct queries before I go to the server admin. I'll anonymize my UIDs and titles. First of all, my Windows client (AETITLE: "LOCAL" PORT: 4006) is added to servers security list (AETITLE: "REMOTE" IP: 192.168.2.2 PORT: 104). Here we go:
Surveying all incoming connections:
Code: Select all
netstat -a -n -t 1 | find ":4006"
Code: Select all
storescp -d --aetitle LOCAL 4006
Code: Select all
gdcmscu --find --image --studyroot --call REMOTE --aetitle LOCAL 192.168.2.2 104 --key 8,20="20190126" --key 20,11="999"
--key 20,e --key 8,18
Code: Select all
Find Response: 6
(0008,0005) ?? (CS) [ISO_IR 100] # 10,1-n Specific Character Set
(0008,0016) ?? (UI) [1.2.840.10008.5.1.4.1.1.7] # 26,1 SOP Class UID
(0008,0018) ?? (UI) [7.8.9] # 50,1 SOP Instance UID
(0008,0020) ?? (DA) [20190126] # 8,1 Study Date
(0008,0052) ?? (CS) [IMAGE ] # 6,1 Query/Retrieve Level
(0008,0054) ?? (AE) [REMOTENG] # 6,1-n Retrieve AE Title
(0008,0056) ?? (CS) [ONLINE] # 6,1 Instance Availability
(0020,000d) ?? (UI) [1.2.3] # 50,1 Study Instance UID
(0020,000e) ?? (UI) [4.5.6] # 50,1 Series Instance UID
(0020,0011) ?? (IS) [999 ] # 4,1 Series Number
Code: Select all
movescu -v -d -S -k 0008,0052="IMAGE" -k 0020,000D="1.2.3" -k 0020,000E="4.5.6" -k 0008,0018="7.8.9" --call REMOTE
-aet LOCAL 192.168.2.2 104
Code: Select all
D: $dcmtk: movescu v3.6.0 2011-01-06 $
D:
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
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: LOCAL
D: Called Application Name: REMOTE
D: Responding Application Name: resp. AP Title
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: =FINDStudyRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Context ID: 3 (Proposed)
D: Abstract Syntax: =MOVEStudyRootQueryRetrieveInformationModel
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: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 204 + 6 bytes PDU header
D: 02 00 00 00 00 cc 00 01 00 00 48 4e 4b 36 53 4b
D: 42 20 20 20 20 20 20 20 20 20 41 52 49 41 20 20
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 00 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 21 00 00 19 03 00 00 00 40 00 00 11 31 2e 32 2e
D: 38 34 30 2e 31 30 30 30 38 2e 31 2e 32 50 00 00
D: 31 51 00 00 04 00 01 86 a0 52 00 00 16 31 2e 32
D: 2e 31 32 34 2e 31 31 33 35 33 32 2e 33 35 31 30
D: 2e 35 30 55 00 00 0b 41 47 46 41 4d 41 59 32 30
D: 30 33
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.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
D: Their Implementation Class UID: 1.2.124.113532.3510.50
D: Their Implementation Version Name: AGFAMAY2003
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: LOCAL
D: Called Application Name: REMOTE
D: Responding Application Name: REMOTE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 100000
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDStudyRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianImplicit
D: Context ID: 3 (Accepted)
D: Abstract Syntax: =MOVEStudyRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =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-AC ======================
I: Association Accepted (Max Send PDV: 99988)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0008,0018) UI [7.8.9] # 50, 1 SOPInstanceUID
I: (0008,0052) CS [IMAGE] # 6, 1 QueryRetrieveLevel
I: (0020,000d) UI [1.2.3] # 50, 1 StudyInstanceUID
I: (0020,000e) UI [4.5.6] # 50, 1 SeriesInstanceUID
I:
I: Move Response 1:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : 1
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: Move Response 2:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : 1
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: Move Response 3:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : 1
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: Move Response 4:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : 1
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: Move Response 5:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : 1
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : none
I: Completed Suboperations : none
I: Failed Suboperations : none
I: Warning Suboperations : none
I: Data Set : none
I: DIMSE Status : 0xc001: Error: Failed - Unable to process
I: ======================= END DIMSE MESSAGE =======================
W: Status Detail:
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Implicit
W: (0000,0902) LO [Error: Unable to Process; Internal Error] # 40, 1 ErrorComment
W:
I: Releasing Association
Code: Select all
movescu -v -d -S -k 0008,0052="SERIES" -k 0020,000D="1.2.3" -k 0020,000E="4.5.6" --call REMOTE -aet LOCAL -aem LOCAL 192.168.2.2 104
Code: Select all
D: $dcmtk: movescu v3.6.0 2011-01-06 $
D:
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
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: LOCAL
D: Called Application Name: REMOTE
D: Responding Application Name: resp. AP Title
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: =FINDStudyRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Context ID: 3 (Proposed)
D: Abstract Syntax: =MOVEStudyRootQueryRetrieveInformationModel
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: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 204 + 6 bytes PDU header
D: 02 00 00 00 00 cc 00 01 00 00 48 4e 4b 36 53 4b
D: 42 20 20 20 20 20 20 20 20 20 41 52 49 41 20 20
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 00 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 21 00 00 19 03 00 00 00 40 00 00 11 31 2e 32 2e
D: 38 34 30 2e 31 30 30 30 38 2e 31 2e 32 50 00 00
D: 31 51 00 00 04 00 01 86 a0 52 00 00 16 31 2e 32
D: 2e 31 32 34 2e 31 31 33 35 33 32 2e 33 35 31 30
D: 2e 35 30 55 00 00 0b 41 47 46 41 4d 41 59 32 30
D: 30 33
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.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
D: Their Implementation Class UID: 1.2.124.113532.3510.50
D: Their Implementation Version Name: AGFAMAY2003
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: LOCAL
D: Called Application Name: REMOTE
D: Responding Application Name: REMOTE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 100000
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDStudyRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianImplicit
D: Context ID: 3 (Accepted)
D: Abstract Syntax: =MOVEStudyRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =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-AC ======================
I: Association Accepted (Max Send PDV: 99988)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0008,0052) CS [SERIES] # 6, 1 QueryRetrieveLevel
I: (0020,000d) UI [1.2.3] # 52, 1 StudyInstanceUID
I: (0020,000e) UI [4.5.6] # 52, 1 SeriesInstanceUID
I:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations : none
I: Completed Suboperations : none
I: Failed Suboperations : none
I: Warning Suboperations : none
I: Data Set : none
I: DIMSE Status : 0xc001: Error: Failed - Unable to process
I: ======================= END DIMSE MESSAGE =======================
W: Status Detail:
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Implicit
W: (0000,0902) LO [Error: Unable to Process; Internal Error] # 40, 1 ErrorComment
W:
I: Releasing Association
Code: Select all
(0008,0054) ?? (AE) [REMOTENG] # 6,1-n Retrieve AE Title
So, am I making any glaring mistake, or is it time to go to remote server admin?
Thank you very much!