StoreSCP error while receiving file

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
ashishbme
Posts: 30
Joined: Tue, 2011-05-10, 14:32

StoreSCP error while receiving file

#1 Post by ashishbme »

Hi,

I am running storescp and trying to get send dicom files, but getting error (0006:0308 DUL Illegal PDU LEngth 209504. Max expected 16384) .
Please find the log below.
D: Association Received: LMSBAN-FVN28Q2
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: PDU Type: Associate Request, PDU Length: 217 + 6 bytes PDU header
D: 01 00 00 00 00 d9 00 01 00 00 46 49 4e 44 53 43
D: 55 20 20 20 20 20 20 20 20 20 41 45 41 53 48 49
D: 53 48 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 20 00 00 36 13 00 00 00 30 00 00 19 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 35 2e 31
D: 2e 34 2e 31 2e 31 2e 32 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: 3e 51 00 00 04 00 00 80 00 52 00 00 22 31 2e 32
D: 2e 38 32 36 2e 30 2e 31 2e 33 36 38 30 30 34 33
D: 2e 32 2e 31 33 35 2e 31 30 36 36 2e 31 30 31 55
D: 00 00 0c 31 2e 34 2e 31 39 2f 57 49 4e 33 32
D: Parsing an A-ASSOCIATE PDU
I: Association Received
D: Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.3
D: Our Implementation Version Name: OFFIS_DCMTK_363
D: Their Implementation Class UID: 1.2.826.0.1.3680043.2.135.1066.101
D: Their Implementation Version Name: 1.4.19/WIN32
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: AEASHISH
D: Called Application Name: FINDSCU
D: Responding Application Name:
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 32768
D: Presentation Contexts:
D: Context ID: 19 (Proposed)
D: Abstract Syntax: =CTImageStorage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
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 ======================
D: Constructing Associate AC PDU
I: Association Acknowledged (Max Send PDV: 32756)
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.3
D: Our Implementation Version Name: OFFIS_DCMTK_363
D: Their Implementation Class UID: 1.2.826.0.1.3680043.2.135.1066.101
D: Their Implementation Version Name: 1.4.19/WIN32
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: AEASHISH
D: Called Application Name: FINDSCU
D: Responding Application Name: FINDSCU
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 32768
D: Presentation Contexts:
D: Context ID: 19 (Accepted)
D: Abstract Syntax: =CTImageStorage
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 ======================
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-STORE RQ
D: Presentation Context ID : 19
D: Message ID : 287
D: Affected SOP Class UID : CTImageStorage
D: Affected SOP Instance UID : 1.3.46.670589.5.2.10.2156913941.892665339.718742
D: Data Set : present
D: Priority : medium
D: Move Originator AE Title : AEASHISH
D: Move Originator ID : 5
D: ======================= END DIMSE MESSAGE =======================
E: Store SCP Failed: 0006:020c DIMSE Read PDV failed
E: 0006:0308 DUL Illegal PDU Length 209504. Max expected 16384
E: DIMSE failure (aborting association): 0006:020c DIMSE Read PDV failed
E: 0006:0308 DUL Illegal PDU Length 209504. Max expected 16384
Thank you
Ashish

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: StoreSCP error while receiving file

#2 Post by J. Riesmeier »

What exactly is your question? The SCU seems to use PDUs (protocol data units) that are larger than the 16 K that were negotiated during the association setup. Of course, you could try to increase the PDU size that the storescp accepts when receiving DICOM data using option -pdu (--max-pdu).

Anyway, there seems to be a protocol violation caused by the SCU (Implementation Class UID: 1.2.826.0.1.3680043.2.135.1066.101).

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest