Configuration of query/retrieve

184 views
Skip to first unread message

Jeff Berry

unread,
Aug 23, 2017, 8:47:55 AM8/23/17
to dcm4che
Good day all,

I've got dcm4chee 2.17 installed on ubuntu 16 and it's working a treat for most things.  Data sent from the scanner is accepted, and the scanner can query the data.  However, retrieval is failing.   It looks like some sort of configuration error, but I can't figure out where the problem is arising.   We've changed the called AET and the PACS is accepting the data, the query runs find, as near as I can tell, and then this happens:

2017-08-23 08:40:35,361 INFO  SCANNER->NEWAET (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received [pc-1] 2:C_MOVE_RQ with Dataset
        class:  1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
        move dest:      SCANNER
2017-08-23 08:40:35,762 INFO  SCANNER->NEWAET (Timer-2) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 2:C_MOVE_RSP
        class:  1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
        status: ff00
2017-08-23 08:40:35,769 INFO  SCANNER->NEWAET (Thread-21325) [org.dcm4chex.archive.dcm.qrscp.QueryRetrieveScpService] Failed to open assocation to DCM4CHEE
java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at org.dcm4chex.archive.mbean.TLSConfigDelegate.createSocket(TLSConfigDelegate.java:187)
        at org.dcm4chex.archive.dcm.qrscp.QueryRetrieveScpService.createSocket(QueryRetrieveScpService.java:1252)
        at org.dcm4chex.archive.dcm.qrscp.MoveScu.openAssociation(MoveScu.java:241)
        at org.dcm4chex.archive.dcm.qrscp.MoveScu.forwardMoveRQ(MoveScu.java:178)
        at org.dcm4chex.archive.dcm.qrscp.MoveTask.run(MoveTask.java:322)
        at java.lang.Thread.run(Thread.java:748)
2017-08-23 08:40:35,772 WARN  SCANNER->NEWAET (Thread-21325) [org.dcm4chex.archive.dcm.qrscp.QueryRetrieveScpService] Failed SOP InstanceUID List exceeds 64KB limit - send empty attribute instead
2017-08-23 08:40:35,773 INFO  SCANNER->NEWAET (Thread-21325) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 2:C_MOVE_RSP with Dataset
        class:  1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
        status: a702
2017-08-23 08:40:35,776 INFO  SCANNER->NEWAET (ActiveAssoc-1486-1) [org.dcm4cheri.net.FsmImpl] received A-ABORT
        source=0 - service-user
        reason=0 - reason-not-specified
2017-08-23 08:40:35,776 INFO  SCANNER->NEWAET (ActiveAssoc-1486-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/172.31.5.11,port=51402,localport=104]
2017-08-23 08:40:35,776 INFO  -> (TCPServer-1-2) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/172.31.5.11,port=51402,localport=104]
2017-08-23 08:40:35,777 ERROR -> (ActiveAssoc-1486-1) [org.dcm4cheri.net.ActiveAssociationImpl] Received A-ABORT
        source=0 - service-user
        reason=0 - reason-not-specified
org.dcm4che.net.PDUException: Received A-ABORT

Is this a configuration problem on the PACS or on the scanner console?  Any pointers would be gratefully accepted ...

Jeff, MRC CBU

Arnold Maderthaner

unread,
Sep 20, 2017, 7:54:07 AM9/20/17
to dcm4che
did you change the DCM4CHEE AET to NEWAET cause it seems like it tries to open an association to the DCM4CHEE AET ?

fleetwoodfc

unread,
Sep 20, 2017, 8:31:19 AM9/20/17
to dcm4che
I suspect this is an issue on the PACS. Did you use the "updateAETitle" method to change the dcm4chee AE?  If you have a large number of studies this method can take a long time to complete as it has to update 'retrieve_aets' in every study, series and instance database record:

If the specified AE Title is associated with file systems, also the Retrieve AE Title of these file systems is updated to the new value as the Retrieve AE Titles associated with Instances, Series and Studies that have files on this file systems.
Reply all
Reply to author
Forward
0 new messages