HTTP Max POST size for API calls?

Hello all!
We currently use the API calls to get DICOM images into the Orthanc server, which has currently worked very well with general radiology images but now we’re experimenting with some Cardio and other 'ologies within our environment and getting some instances where our API call times out (60 sec curl calls).

On further inspection, we’re seeing that these calls are failing with larger instances (typically >1GB in file size) and wondered if there was a setting in Orthanc that is akin to nginx / Apache “max post size”?

If not, would there be any other settings that would affect these API calls for larger instances that we could try? I’ve gone through the full configuration, focussing primarily on the HTTP server section, and I don’t see anything that’s obvious…?

Thanks in advance,

Dave

Hi,

I don’t think your issue is with file size, it’s probably with Orthanc’s default HTTP timeout setting. Try adjusting config with

“HttpTimeout” : 3000,

or more/less according to your needs.