Error using dcmqr to retrieve studies

976 views
Skip to first unread message

Luis Silva

unread,
Apr 14, 2014, 5:28:06 PM4/14/14
to dcm...@googlegroups.com
Hi there,

I'm using ubuntu server 12.04 TLS, dcm4chee2.17 ,mysql 5.5, openjdk-6-jre and dcmtoolkit 2.17

The weird thing, is if I use the command to query/retrive a study (the same ) in dcmqr I got timeout (changed DIMSEttimeout on FileMove, QueryRetrive SCP, DCMserver,AE)has the slog extract could show .
If i connect osirix from a Mac with same ip address I could do a query and retrieve from study (using same accession Number)

The strange thing is that first pax it's dcm4chee and the second one it's dcm4chee.

I couldn't understood the problem, no network issue.

If I use a different approach no problem.

The pax are in different LANS. (pax1 -> 10.0.1.10 pax2 -> 192.168.1.0)
Anyone could Help ?

admin@Pax/etc/dcm4/bin# ./dcmqr -L DCM4CHEE PA...@192.168.1.30:11112 -cmove DCM4CHEE -qAccessionNumber=82679
22:15:57,000 INFO   - Association(1) initiated Socket[addr=/192.168.1.30,port=11112,localport=36204]
22:15:57,037 INFO   - PAX2(1) << A-ASSOCIATE-RQ[
  calledAET = PAX2
  callingAET = DCM4CHEE
  applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
  implClassUID = 1.2.40.0.13.1.1
  implVersionName = dcm4che-2.0
  maxPDULength = 16384
  maxOpsInvoked/maxOpsPerformed = 1/0
  PresentationContext[id = 1, as = 1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  PresentationContext[id = 3, as = 1.2.840.10008.5.1.4.1.2.1.1 - Patient Root Query/Retrieve Information Model - FIND
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  PresentationContext[id = 5, as = 1.2.840.10008.5.1.4.1.2.3.1 - Patient/Study Only Query/Retrieve Information Model - FIND (Retired)
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  PresentationContext[id = 7, as = 1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  PresentationContext[id = 9, as = 1.2.840.10008.5.1.4.1.2.1.2 - Patient Root Query/Retrieve Information Model - MOVE
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  PresentationContext[id = 11, as = 1.2.840.10008.5.1.4.1.2.3.2 - Patient/Study Only Query/Retrieve Information Model - MOVE (Retired)
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  Role Selection(0):
  Extended Negotiation(6):
    1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
      info = 00 00 00 00 
    1.2.840.10008.5.1.4.1.2.1.1 - Patient Root Query/Retrieve Information Model - FIND
      info = 00 00 00 00 
    1.2.840.10008.5.1.4.1.2.3.1 - Patient/Study Only Query/Retrieve Information Model - FIND (Retired)
      info = 00 00 00 00 
    1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
      info = 00 
    1.2.840.10008.5.1.4.1.2.1.2 - Patient Root Query/Retrieve Information Model - MOVE
      info = 00 
    1.2.840.10008.5.1.4.1.2.3.2 - Patient/Study Only Query/Retrieve Information Model - MOVE (Retired)
      info = 00 
  Common Extended Negotiation(0):
]
22:15:58,176 INFO   - PAX2(1) >> A-ASSOCIATE-AC[
  calledAET = PAX2
  callingAET = DCM4CHEE
  applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
  implClassUID = 1.2.40.0.13.1.1.1
  implVersionName = dcm4che-1.4.29
  maxPDULength = 16352
  maxOpsInvoked/maxOpsPerformed = 1/1
  PresentationContext[id = 1, result = 0 - acceptance
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 3, result = 0 - acceptance
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 5, result = 0 - acceptance
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 7, result = 0 - acceptance
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 9, result = 0 - acceptance
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 11, result = 0 - acceptance
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  Role Selection(0):
  Extended Negotiation(6):
    1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
      info = 00 00 00 00 
    1.2.840.10008.5.1.4.1.2.1.1 - Patient Root Query/Retrieve Information Model - FIND
      info = 00 00 00 00 
    1.2.840.10008.5.1.4.1.2.3.1 - Patient/Study Only Query/Retrieve Information Model - FIND (Retired)
      info = 00 00 00 00 
    1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
      info = 00 
    1.2.840.10008.5.1.4.1.2.1.2 - Patient Root Query/Retrieve Information Model - MOVE
      info = 00 
    1.2.840.10008.5.1.4.1.2.3.2 - Patient/Study Only Query/Retrieve Information Model - MOVE (Retired)
      info = 00 
  Common Extended Negotiation(0):
]
22:15:58,178 INFO   - Connected to PA...@192.168.1.30:11112 in 2.241 s
22:15:58,205 INFO   - Send Query Request using 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND:
(0008,0020) DA #0 [] Study Date
(0008,0030) TM #0 [] Study Time
(0008,0050) SH #6 [82679] Accession Number
(0008,0052) CS #6 [STUDY] Query/Retrieve Level
(0020,000D) UI #0 [] Study Instance UID
(0020,0010) SH #0 [] Study ID
(0020,1206) IS #0 [] Number of Study Related Series
(0020,1208) IS #0 [] Number of Study Related Instances

22:15:58,217 INFO   - PAX2(1) << 1:C-FIND-RQ[pcid=1, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
ts=1.2.840.10008.1.2/Implicit VR Little Endian]
22:15:58,722 INFO   - PAX2(1) >> 1:C-FIND-RSP[pcid=1
ts=1.2.840.10008.1.2/Implicit VR Little Endian, status=ff00H]
22:15:58,727 INFO   - Query Response #1:
(0008,0005) CS #10 [ISO_IR 100] Specific Character Set
(0008,0020) DA #8 [20100318] Study Date
(0008,0030) TM #10 [190100.046] Study Time
(0008,0050) SH #6 [82679] Accession Number
(0008,0052) CS #6 [STUDY] Query/Retrieve Level
(0008,0054) AE #8 [PAX2] Retrieve AE Title
(0008,0056) CS #6 [ONLINE] Instance Availability
(0020,000D) UI #44 [1.2.840.113619.6.95.31.0.3.4.1.8580.13.82679] Study Instance UID
(0020,0010) SH #0 [] Study ID
(0020,1206) IS #2 [1] Number of Study Related Series
(0020,1208) IS #2 [1] Number of Study Related Instances
(0088,0130) SH #0 [] Storage Media File-set ID
(0088,0140) UI #0 [] Storage Media File-set UID

22:15:58,731 INFO   - PAX2(1) >> 1:C-FIND-RSP[pcid=1, status=0H]
22:15:58,731 INFO   - Received 1 matching entries in 0.554 s
22:15:58,734 INFO   - Send Retrieve Request using 1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE:
(0008,0052) CS #6 [STUDY] Query/Retrieve Level
(0020,000D) UI #44 [1.2.840.113619.6.95.31.0.3.4.1.8580.13.82679] Study Instance UID

22:15:58,736 INFO   - PAX2(1) << 2:C-MOVE-RQ[pcid=7, aet=DCM4CHEE/?, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
ts=1.2.840.10008.1.2/Implicit VR Little Endian]
22:15:58,781 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:04,033 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:08,778 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:13,779 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:18,778 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:23,779 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:28,789 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:33,798 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:39,074 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:44,072 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:49,072 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:16:54,071 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:17:03,180 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=1, completed=0, failed=0, warning=0, status=ff00H]
22:17:03,180 INFO   - PAX2(1) >> 2:C-MOVE-RSP[pcid=7, remaining=null, completed=0, failed=1, warning=0
ts=1.2.840.10008.1.2/Implicit VR Little Endian, status=a702H]
22:17:03,181 INFO   - Retrieved 0 objects (warning: 0, failed: 1) in 64.45s
22:17:03,183 INFO   - PAX2(1) << A-RELEASE-RQ
22:17:03,361 INFO   - PAX2(1) >> A-RELEASE-RP
22:17:03,362 INFO   - PAX2(1): close Socket[addr=/192.168.1.30,port=11112,localport=36204]
22:17:03,363 INFO   - Released connection to PA...@192.168.1.30:11112

Luis Silva

unread,
Apr 15, 2014, 2:22:56 PM4/15/14
to dcm...@googlegroups.com
Anyone have similar problems like this ?

Luis Silva

unread,
Apr 23, 2014, 10:21:39 AM4/23/14
to dcm...@googlegroups.com

Hi there,

I've tried to make dcmqr has explained above and I got the following:

Log from source receives the request and try to send images but the destination log does not move to recive images.

I then tried to make telnet from source to destination to one port no problem
The problem is to make telnet from destination to source all at port 11112.

I saw the log that dcmqr uses from source port 11112  and then it takes dynamic port , although if I change and use osirix as the source it uses dynamic port but it could transfer exams.

With two servers dcm4chee that is not possible .

Weird, I think so .



Luis Silva

unread,
May 8, 2014, 5:43:14 AM5/8/14
to dcm...@googlegroups.com
Hi there,

Now what it happens it when using dcmqr it closes immediately the connection from source to destination.

I have changed some of the parameters of socket closed time-out on jmx-console.

Anyone got this on any troubleshooting ?

Thanks in advanced.


Reply all
Reply to author
Forward
0 new messages