Global timeout setting dcmConnectionTimeout not working on Linux platform for C-FIND

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
kumarm
Posts: 15
Joined: Tue, 2019-06-18, 08:47

Global timeout setting dcmConnectionTimeout not working on Linux platform for C-FIND

#1 Post by kumarm » Thu, 2019-10-24, 08:33

Hello,

I am using 'performQuery' API on Linux platform with timeout setting >=0 for global timeout 'dcmConnectionTimeout'. Setting this global variable has no impact on execution of API 'performQuery' on Linux platform. I am using DCMTK version 3.6.4 build. To test the impact of timeout configuration, I stopped the PACS server dcmqrscp.exe before invoking 'performQuery' API. I assume this API should wait until timeout occurs based on the value set to global timeout 'dcmConnectionTimeout'. But, this API returns immediately without wait time. In log file, Following error messages are shown:

ERROR: Association Request Failed: 0006:031b Failed to establish association
ERROR: 0006:0317 Peer aborted Association (or never connected)
ERROR: 0006:031c TCP Initialization Error: Connection refused.

When I test the same behavior on Windows platform with DCMTK 3.6.3 build. Global timeout setting for 'dcmConnectionTimeout' has an impact on execution of API 'performQuery'. API returns only after the timeout occurs. In log file, Following error messages are shown:

ERROR: Association Request Failed: 0006:031b Failed to establish association
ERROR: 0006:0317 Peer aborted Association (or never connected)
ERROR: 0006:031c TCP Initialization Error: The operation completed successfully.
ERROR: (Timeout)


Is there any configuration setting to be enabled on Linux platform to activate the global timeout setting 'dcmConnectionTimeout'? I assume the behviour on Linux platform should be same as on Windows platform. I can see the error messages are also different on Linux and Windows platform.

Thanks
Manoj

Post Reply

Who is online

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