bioinformatics-ua / dicoogle

Dicoogle - Open Source PACS
http://www.dicoogle.com/
GNU General Public License v3.0
444 stars 131 forks source link

cannot retrieve dicoms if it has videos in it #575

Open beavermml opened 2 years ago

beavermml commented 2 years ago

can upload from modality ( ultrasound ) just fine to the dicoogle server

try to retrieve the files from another PC using MicroDicom and Radiant Viewer.

Fails silently..

No logs whatsover.. If manually copy the folder that contains the DICOM files to the PC, the files can be read just fine including videos

can be replicated as long as the sets contain videos

Enet4 commented 2 years ago

Thank you for reaching out. Could you provide additional details about the DICOM instances in question (i.e. at least SOP Class, Transfer Syntax, file size), and how you configured Dicoogle and the DICOM viewer to retrieve the DICOM data?

beavermml commented 2 years ago

Using MicroDicom viewer

The logs shows

2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-2] (Association.java:148) - Association(3601) accepted Socket[addr=/10.8.0.2,port=62827,localport=1044]
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (Association.java:964) - Association(3601): A-ASSOCIATE-RQ RAJA >>ABC
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (PDUEncoder.java:156) - RAJA(3601): A-ASSOCIATE-AC ABC << RAJA
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (PDUDecoder.java:515) - RAJA(3601) >> 1:C-MOVE-RQ[pcid=1, aet=RAJA/?, 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]
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (CMoveServiceSCP.java:95) - Client association with RAJA is permitted!
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (SearchDicomResult.java:94) - QUERY: StudyInstanceUID:1.2.156.112536.1.2136.15020030208008.14181253600.37
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (SearchDicomResult.java:95) - QUERYLEVEL: IMAGE
2022-04-08 15:24:28 | INFO  [pool-2-thread-2] (LuceneQuery.java:119) - Finished opening result stream, Query: 0,2,StudyInstanceUID:1.2.156.112536.1.2136.15020030208008.14181253600.37
2022-04-08 15:24:28 | INFO  [DICOOGLE-STORAGE-3855] (Association.java:916) - RAJA(3601): close Socket[addr=/10.8.0.2,port=62827,localport=1044]

and in microdicom/radiant no downloads at all.. it just fails silently.. always happen whenever there are videos in the sets of studies

beavermml commented 2 years ago

after updating to te latest version..

i can retrieve sets with 1 video.. however if more than 1 video in in the set.. the tranfer will fail silently with the following log

2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-278] (Association.java:147) - Association(235) accepted Socket[addr=/10.8.0.2,port=64346,localport=1044]
2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-294] (Association.java:964) - Association(235): A-ASSOCIATE-RQ RAJA >> AAAA
2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-294] (PDUEncoder.java:156) - RAJA(235): A-ASSOCIATE-AC AAAAA << RAJA
2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-294] (PDUDecoder.java:515) - RAJA(235) >> 1:C-MOVE-RQ[pcid=1, aet=RAJA/?, 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]
2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-294] (CMoveServiceSCP.java:95) - Client association with RAJA is permitted!
2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-294] (SearchDicomResult.java:94) - QUERY: StudyInstanceUID:1.2.156.112536.1.2136.15020030208008.14185165530.1
2022-04-12 12:17:00 | INFO  [DICOOGLE-STORAGE-294] (SearchDicomResult.java:95) - QUERYLEVEL: IMAGE
2022-04-12 12:17:00 | INFO  [pool-3-thread-2] (LuceneQuery.java:119) - Finished opening result stream, Query: 0,8,StudyInstanceUID:1.2.156.112536.1.2136.15020030208008.14185165530.1
2022-04-12 12:17:06 | INFO  [DICOOGLE-STORAGE-294] (Association.java:916) - RAJA(235): close Socket[addr=/10.8.0.2,port=64346,localport=1044]

in Radiant.. it shows connection is terminated by the server

Enet4 commented 2 years ago

What are the characteristics of the DICOM files involved?

Do you mean that one of the DICOM files has more than one video, and that is the one which fails to be retrieved?

beavermml commented 2 years ago

What are the characteristics of the DICOM files involved?

SOP Class UID : 1.2.840.10008.5.1.4.1.1.3.1 Transfer Syntax : Implicit VR Little Endian avg number of frames : 30 file size in MBs : 300MB for the video

Do you mean that one of the DICOM files has more than one video, and that is the one which fails to be retrieved? : no.. specifically.. i want to retrieve a set of DICOM files.. if the sets contain more than 1 video ( multi DICOM files ).. download will fail in Radiant. If the sets only contain 1 Video files ( others are pictures ) then it just work.. the download just wont happen ( the connection is terminated at the beginning ) and i cannot retrieve even just 1 dicom file.

Enet4 commented 1 year ago

With #604, the DICOM data sender used by the Move SCP has been made more efficient. Could you try again with the upstream dev version?

beavermml commented 1 year ago

great.. i will test it ASAP

beavermml commented 1 year ago

2022-11-01 03:17:43 | INFO [DICOOGLE-STORAGE-74] (NetworkApplicationEntity.java:996) - No common Transfer Capability between

it seems i got this error once upgrade to dev version.. no other settings has been done

Enet4 commented 1 year ago

You may need to enable more transfer options in the archive. In the Dicoogle management page, open Transfer Options and ensure that the transfer syntaxes are enabled for the intended SOP Class. More details in the learning pack

Screenshot of Dicoogle UI - Transfer Options

beavermml commented 1 year ago

it seems i cannot get any US with this cuid

image

same error.. no common tranfer...

last version works fine