Association release failure

  • Dear Marcel, community


    I have a Conquest server that receives various objects to be fed into our radiation dose monitoring software OpenREM (http://openrem.org). This has been running without incident for some time.


    A new modality is now failing to work correctly. The image is sent from the modality, it is received and processed, but the association is not released. After 300s, Conquest aborts the connection.


    The vendors have looked at the logs, and point out that the wrong context ID number is being sent back from Conquest, and therefore the association is not released. In the logs below from the modality side you will see that the context id for message in the C-Store-Rq is 5, whereas the context id for message in the C-Store-Rsp is 3:


    Quote


    Do you have any ideas about what may be happening, and whether there is something I can do about it! The current situation is that the image is sent to the dose server (successfully), 5 minute time out, the image is sent again, 5 minutes time out, the image is sent a third time, times out then is marked as failed. Then the next image starts!


    I appreciate any help you may be able to give.


    Kind regards


    Ed


    P.S. I tried searching for any previous examples in this forum, but any query I came up with was either ignored for having too short words or too common words, or returned 16 pages (no matter what the search terms).

  • Hm,


    the context ID is not the same as the message ID (both are the same and 0). The context ID is the index in the list of proposed presentation syntaxes. Since these lists are different for the incoming connection (it contains C-MOVE) and the outgoing connection (it contains C-STORE), I do not think the context ID's need to be the same at all. A typical C-STORE can contain dozens of contexts, while a C-MOVE only has a few.


    So I am not convinced this is the issue.


    Marcel


    P.S. Have a look at: http://dicomiseasy.blogspot.nl…om-chapter-5-solving.html

  • When we took the logs, I did a successful store to Conquest on Windows before doing the unsuccessful store to Conquest on linux, so I have asked the vendor's engineer to send me the full set of logs so we can take a look.


    I'll get back to you as soon as I can get them.


    Thanks Marcel.

  • Marcel has worked on this for me, and we think we know what the problem is.


    If Conquest offers more than one transfer presentation syntax (eg JPEG or not), then the two systems negotiate as expected on which one to use, with each one being referred to by a Context ID. The problem is that when the transfer successfully completes Conquest doesn't necessarily specify in the associated message the context ID that was actually used. If they don't match, then Hologic won't release the association, leading to Conquest to abort it on timeout. No other system I have used cares whether the context ID matches or not, hence not seeing a problem with any other modality.


    Two solutions, that I haven't been able to test due to access to the system (but will on Tuesday):
    1/ Reduce the number of presentation syntaxes available by hashing them out in dgatesop.lst, forcing the right context ID to be returned
    2/ Marcel has engineered a fix in the latest beta of 1.4.17e that he has shared with me privately. I aim to test this on Tuesday too.


    I hope that helps.


    Kind regards


    Ed

  • Marcel - thanks for working with me to fix this.


    I have now tried the following, with the associated results:


    • Linux 1.4.16i, 64 bit, any more than one transfer syntax un-hashed in dgatesop.lst (including just explicit and implicit): Association release fails
    • Linux 1.4.16i, 64 bit, just one transfer syntax un-hashed in dgatesop.lst (explicit little endian): Association release successful
    • Windows 1.4.17, 32 bit, JPEG support disabled: Association release successful
    • Windows 1.4.17, 32 bit, JPEG support enabled: Association release fails
    • Windows 1.4.17e1, 32 bit, JPEG support disabled: Association release successful
    • Windows 1.4.17e1, 32 bit, JPEG support enabled: Association release successful


    So Marcel, from my testing your proposed fix in 1.4.17e1 has worked.


    Thank you very much.


    I have yet to roll out a fresh install of the Windows client to check the full dgatesop.lst to look for the missing image and report objects - I will when I get a chance.


    Thanks again


    Ed

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!