I can query but retrieve fails from pacs. I have no clue how to resolve this.

299 views
Skip to first unread message

Rajeev Nowrangi

unread,
Apr 1, 2021, 2:33:50 PM4/1/21
to RSNA MIRC CTP/TFS User Group
Hello,  I am unable to retrieve but can query pacs and I have run out of ideas on how to fix this.  

Any help will be much appreciated.

Thanks!

Rajeev


FB2E4164-8CD9-44BB-AD9C-EEC478C25807.jpeg

John Perry

unread,
Apr 1, 2021, 3:22:32 PM4/1/21
to rsnas-ctpmir...@googlegroups.com
Rajeev:
 
I assume you read the text in the Help tab of the program.
 
I also assume that you have configured the PACS to be able to export to your IP address and AE Title.
 
The next thing to check is whether your computer has a firewall that allows inbound connections on the port you have opened for the Storage SCP.

JP
--
You received this message because you are subscribed to the Google Groups "RSNA MIRC CTP/TFS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsnas-ctpmirc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rsnas-ctpmirc-user-group/7ee7b986-cee1-4906-a791-b9775e9575d4n%40googlegroups.com.

Joel Spangler

unread,
Apr 1, 2021, 4:37:23 PM4/1/21
to rsnas-ctpmir...@googlegroups.com
One of the things that most surprised me when I was learning about query/retrieve was that when requesting images it doesn't say "sent the images to me"  - it says send the images to AE title [fill in the blank].  The PACS system will look at its list of DICOM destinations and will send to the first AE title that matches.  If that AE title isn't in the list of destinations that PACS has, it won't send anything anywhere.  If there is more than one destination with the same AE title, it may send another destination.  

Rajeev Nowrangi

unread,
Apr 1, 2021, 7:58:23 PM4/1/21
to RSNA MIRC CTP/TFS User Group
Thanks for the guidance!  It ultimately ended up being the storage scp was set up incorrectly.  It’s working now!  Thank you!

during the retrieve what does it mean “File rejected (Secondary Capture)”. Does that still mean I’m getting the file?  Thanks again!

John Perry

unread,
Apr 1, 2021, 8:32:11 PM4/1/21
to rsnas-ctpmir...@googlegroups.com
Rajeev:
 
The default in the program is to reject secondary capture images. You can change that by clicking the Admin tab, then clicking the Filter sub-tab. You will see some checkboxes in the footer to control accepting or rejecting certain types of images. If you are familiar with the CTP DICOM filter script language (see http://mircwiki.rsna.org/index.php?title=The_CTP_DICOM_Filter), you can also enter a complex script in the main panel to get much more control of the acceptance/rejection process.
 
The rejection process takes place after the image has been received from the PACS. Rejection results in the image being deleted and not written to the local storage directory.
 
By the way, this program was written for a COVID image collection project, so its defaults might not be what you want if you are processing images for another purpose. That is especially true for the DICOM anonymizer script, which is probably more strict that you would want for a more general imaging trial. You can control the anonymizer script on the Admin –> Script tab (see http://mircwiki.rsna.org/index.php?title=The_CTP_DICOM_Anonymizer). Note that the UIDROOT parameter in the script is defaulted to the UID of the COVID project, so to be correct, you should get your own UID if you want to use the program for something else.
 
One more thing. The program does a DICOM C-FIND to find patients and studies on the PACS. It does a C-MOVE to transfer the images. The program doesn't implement C-GET.
 
JP
 
 
Sent: Thursday, April 01, 2021 6:58 PM
--
You received this message because you are subscribed to the Google Groups "RSNA MIRC CTP/TFS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsnas-ctpmirc-user...@googlegroups.com.

Rajeev Nowrangi

unread,
Apr 1, 2021, 10:43:44 PM4/1/21
to RSNA MIRC CTP/TFS User Group
Thanks John, for taking the time to explain some of the details!  It really helps.  I will look into the scripts and customize it for our purpose.

Rajeev

Rajeev Nowrangi

unread,
Jul 10, 2023, 8:51:02 PM7/10/23
to RSNA MIRC CTP/TFS User Group
While setting up the Storage SCP in RSNA Anonymizer, the application preselects the ip address.  In my case it is using my docker network interface ip address (172.17.0.1) not my system network interface.  I can choose the port but I cant change the ip address, which the application is automatically selecting.  Is there a way to choose a different ip address in the application under the Storage SCP tab?  I think this might be a reason why I can query but not retrieve.  Not sure if the setting in the Storage SCP tab even matter if I'm only doing Q/R.

I'm on Ubuntu 22.04, I installed 64 bit Java without ImageIO. I've disabled firewall, docker is install on my system (Anonymizer Storage SCP tab is getting the IP add from the docker network interface)

RSNA Anonymizer settings in the Q/R SCU Tab:
DICOM Q/R SCP: 143.198.111.11:104,  AET: PROD
DICOM Q/R SCU AET: TEST1

Also, the Q/R SCP gives the error "dicom source rejection" 

Anonymizer Q/R SCU log:
17:34:05 ERROR [net.ActiveAssociationImpl] Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:320)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:347)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:800)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at org.dcm4cheri.net.UnparsedPDUImpl.readFully(UnparsedPDUImpl.java:113)
at org.dcm4cheri.net.UnparsedPDUImpl.<init>(UnparsedPDUImpl.java:60)
at org.dcm4cheri.net.FsmImpl.read(FsmImpl.java:502)
at org.dcm4cheri.net.DimseReaderImpl.nextPDataTF(DimseReaderImpl.java:188)
at org.dcm4cheri.net.DimseReaderImpl.nextPDV(DimseReaderImpl.java:168)
at org.dcm4cheri.net.DimseReaderImpl.read(DimseReaderImpl.java:78)
at org.dcm4cheri.net.AssociationImpl.read(AssociationImpl.java:313)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:219)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:164)
at java.base/java.lang.Thread.run(Thread.java:833)
17:34:05 WARN  [anonymizer.SCUPanel] Retrieve Failed: dicom://PROD:TE...@143.198.111.11:104
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:320)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:347)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:800)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at org.dcm4cheri.net.UnparsedPDUImpl.readFully(UnparsedPDUImpl.java:113)
at org.dcm4cheri.net.UnparsedPDUImpl.<init>(UnparsedPDUImpl.java:60)
at org.dcm4cheri.net.FsmImpl.read(FsmImpl.java:502)
at org.dcm4cheri.net.DimseReaderImpl.nextPDataTF(DimseReaderImpl.java:188)
at org.dcm4cheri.net.DimseReaderImpl.nextPDV(DimseReaderImpl.java:168)
at org.dcm4cheri.net.DimseReaderImpl.read(DimseReaderImpl.java:78)
at org.dcm4cheri.net.AssociationImpl.read(AssociationImpl.java:313)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:219)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:164)
at java.base/java.lang.Thread.run(Thread.java:833)



Sorry for the constant pestering but I really want to get this Application to work.

Thanks so much!!

Sincerely,
Rajeev

Reply all
Reply to author
Forward
0 new messages