HI all,
I 'm using cm4che2 2.0.26 and I have a problem with GE scanner when I try to comunicate to them, also for a simply echoscu.
I tried also with other tools such as JDicom and DCMTK from offis, with this tools the comunication is ok.
For storage comunication I haven't problem but for all comunication where my application is SCU I have a connection reset error.
I need help, thank you!
Follow the comunication log:
17:24:52,933 DEBUG - Initiate connection from /
10.10.100.254:0 to /
10.10.30.50:400617:24:52,933 DEBUG - Initiate connection from /
10.10.100.254:0 to /
10.10.30.50:400617:24:53,322 DEBUG - Check for idle Associations every 100.0s.
17:24:53,322 DEBUG - Check for idle Associations every 100.0s.
17:24:53,363 INFO - Association(1) initiated Socket[addr=/
10.10.30.50,port=4006,localport=6176]
17:24:53,363 INFO - Association(1) initiated Socket[addr=/
10.10.30.50,port=4006,localport=6176]
17:24:53,366 DEBUG - Association(1) enter state: Sta4
17:24:53,366 DEBUG - Association(1) enter state: Sta4
17:24:53,368 DEBUG - brsp(1) enter state: Sta5
17:24:53,368 DEBUG - brsp(1) enter state: Sta5
17:24:53,369 INFO - brsp(1): A-ASSOCIATE-RQ brsp << DCMECHO
17:24:53,369 INFO - brsp(1): A-ASSOCIATE-RQ brsp << DCMECHO
17:24:53,377 DEBUG - brsp(1): start ARTIM 5000ms
17:24:53,377 DEBUG - brsp(1): start ARTIM 5000ms
17:24:53,623 DEBUG - A-ASSOCIATE-RQ[
calledAET = brsp
callingAET = DCMECHO
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 = 0/0
PresentationContext[id = 1, as = 1.2.840.10008.1.1 - Verification SOP Class
ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
]
Role Selection(0):
Extended Negotiation(0):
Common Extended Negotiation(0):
]
17:24:53,623 DEBUG - A-ASSOCIATE-RQ[
calledAET = brsp
callingAET = DCMECHO
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 = 0/0
PresentationContext[id = 1, as = 1.2.840.10008.1.1 - Verification SOP Class
ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
]
Role Selection(0):
Extended Negotiation(0):
Common Extended Negotiation(0):
]
17:24:56,108 DEBUG - brsp(1) waiting for PDU
17:24:56,108 DEBUG - brsp(1) waiting for PDU
17:25:18,267 DEBUG - brsp(1) >> PDU[type=2, len=165]
17:25:18,267 DEBUG - brsp(1) >> PDU[type=2, len=165]
17:25:18,270 INFO - brsp(1): A-ASSOCIATE-AC DCMECHO >> brsp
17:25:18,270 INFO - brsp(1): A-ASSOCIATE-AC DCMECHO >> brsp
17:25:18,271 DEBUG - A-ASSOCIATE-AC[
calledAET = brsp
callingAET = DCMECHO
applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID = 1.2.840.113619.6.55
implVersionName = dcm4che-2.0
maxPDULength = 51200
maxOpsInvoked/maxOpsPerformed = 0/0
PresentationContext[id = 1, result = 0 - acceptance
ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
]
Role Selection(0):
Extended Negotiation(0):
Common Extended Negotiation(0):
]
17:25:18,271 DEBUG - A-ASSOCIATE-AC[
calledAET = brsp
callingAET = DCMECHO
applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID = 1.2.840.113619.6.55
implVersionName = dcm4che-2.0
maxPDULength = 51200
maxOpsInvoked/maxOpsPerformed = 0/0
PresentationContext[id = 1, result = 0 - acceptance
ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
]
Role Selection(0):
Extended Negotiation(0):
Common Extended Negotiation(0):
]
17:25:18,272 DEBUG - brsp(1): stop ARTIM
17:25:18,272 DEBUG - brsp(1): stop ARTIM
17:25:18,274 DEBUG - brsp(1) enter state: Sta6
17:25:18,274 DEBUG - brsp(1) enter state: Sta6
17:25:18,275 DEBUG - Start check for idle brsp(1)
17:25:18,275 DEBUG - Start check for idle brsp(1)
Connected to
br...@10.10.30.50:4006 in 25.416s
17:25:18,564 INFO - brsp(1) << 1:C-ECHO-RQ[pcid=1
cuid=1.2.840.10008.1.1/Verification SOP Class]
17:25:18,564 INFO - brsp(1) << 1:C-ECHO-RQ[pcid=1
cuid=1.2.840.10008.1.1/Verification SOP Class]
17:25:18,686 DEBUG - Command:
(0000,0002) UI #18 [1.2.840.10008.1.1] Affected SOP Class UID
(0000,0100) US #2 [48] Command Field
(0000,0110) US #2 [1] Message ID
(0000,0800) US #2 [257] Command Data Set Type
17:25:18,686 DEBUG - Command:
(0000,0002) UI #18 [1.2.840.10008.1.1] Affected SOP Class UID
(0000,0100) US #2 [48] Command Field
(0000,0110) US #2 [1] Message ID
(0000,0800) US #2 [257] Command Data Set Type
17:25:18,720 DEBUG - brsp(1) << PDV[len = 70, pcid = 1, mch = 3]
17:25:18,720 DEBUG - brsp(1) << PDV[len = 70, pcid = 1, mch = 3]
17:25:18,720 DEBUG - brsp(1) << P-DATA-TF[len=74]
17:25:18,720 DEBUG - brsp(1) << P-DATA-TF[len=74]
17:25:21,523 DEBUG - brsp(1) waiting for PDU
17:25:21,523 DEBUG - brsp(1) waiting for PDU
17:25:21,529 WARN - i/o exception in State Sta6
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:196)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at org.dcm4che2.net.PDUDecoder.readFully(PDUDecoder.java:106)
at org.dcm4che2.net.PDUDecoder.nextPDU(PDUDecoder.java:171)
at org.dcm4che2.net.Association.run(Association.java:859)