message: Association Release Failed

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Alessandro.DelPrete
Posts: 2
Joined: Tue, 2025-03-11, 18:13

message: Association Release Failed

#1 Post by Alessandro.DelPrete »

Hello,
I have a question regarding the following message:

E: Association Release Failed: 0006:031a DUL network read timeout

I am using findscu or echoscu with dcmtk-3.6.9-win64-dynamic to communicate with a DICOM service implemented in C# using the fo-dicom library.
Everything is working well, except that I receive this message when the peer releases the association, I’m unsure whether this indicates an actual issue or if it is expected behavior in DCMTK.

I would appreciate any clarification on this.

Thanks a lot,
Alessandro Del Prete

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1523
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: message: Association Release Failed

#2 Post by Marco Eichelberg »

This is not what should be happening, but I suspect that the problem is on the fo-dicom side.
The protocol for closing a DICOM network association requires one side (usually the client, as with findscu or echoscu) to send an A-RELEASE-RQ message to the server, indicating the wish to close the network connection.
The server will then respond with an A-RELEASE-RSP message, confirming the end of the connection (there is no way for the server to refuse it).
After receiving the A-RELEASE-RSP message, the client closes the network connection (on TCP/IP level).

It seems that the fo-dicom based server does not send the A-RELEASE-RSP message (at least not while echoscu/findscu are willing to wait, I think 30 seconds by default), so our tool reports a timeout and then closes the connection.

Alessandro.DelPrete
Posts: 2
Joined: Tue, 2025-03-11, 18:13

Re: message: Association Release Failed

#3 Post by Alessandro.DelPrete »

thank for the reply, we find the ritgh method in fo-dicom to release association
Alessandro

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest