rexcardan / Evil-DICOM

A C# DICOM Library
168 stars 98 forks source link

RTDose CStore error when sending to MIM #99

Open crazywill32 opened 1 year ago

crazywill32 commented 1 year ago

When trying to push Eclipse Doses to MIM, the send gets hung up on sending the Pixel data. The connection is cancelled by MIM due to a long delay. If I delete the pixel data the other data is sent fine.

Any suggestions as to what it could be?

isachpaz commented 1 year ago

Hi, I had the same problem with large dose files, ca. 45 MB or more. When I increased the connection timeout and idle timeout, everything worked fine!

_client = new DICOMSCU(_localDicomEntity) { ConnectionTimeout = 600_000, // in ms IdleTimeout = 600_000, // in ms Logger = loggerFactory.CreateLogger("DicomNetwork.DicomNet") }; var storer = _client.GetCStorer(_remoteDicomEntity);

Best wishes,

Ilias