I have a pipeline that ends with the HTTPExportService, configured to send to XNAT. All of the exported images are successfully ingested into XNAT, but the HTTPExportService is still quarantining the images after they are sent. Setting the logger levels to DEBUG, I get log output like this:
14:03:09 DEBUG [HttpExportService] HTTPS Export to XNAT: Connection parameters:
Request method: POST
URL:
https://xxxxx:443/xnat/data/services/import?import-handler=DICOM-zip&inbody=true&dest=/prearchive/projects/test Request properties:
Cookie : JSESSIONID=xxxxxx
Content-Type : application/zip
14:03:10 DEBUG [HttpExportService] HTTPS Export to XNAT: Transmission response code = 200
14:03:10 DEBUG [HttpExportService] HTTPS Export to XNAT: Response: /data/prearchive/projects/test/20220622_210310023/batch325_trial
14:03:10 WARN [AbstractExportService] HTTPS Export to XNAT: Unable to export ./ROOT/storage/ROOT/HTTPExport/active/QF-5655520185744292963
It looks like the exporter gets a 200 status code response (and the path to where the data was saved in XNAT), but still thinks the export failed. Is anyone else getting this with exports to XNAT (1.8.3 and 1.8.4.1)? What response is the HTTPExportService expecting to receive on a successful send?
I'm using the latest CTP build:
14:25:02 INFO [Configuration] CTP build: 2022.03.26 at 11:21:47 CDT
14:25:02 INFO [Configuration] Util build: 2022.03.26 at 11:21:42 CDT
And here is my exporter config:
<HttpExportService
class="org.rsna.ctp.stdstages.HttpExportService"
name="HTTPS Export to XNAT"
root="ROOT/HTTPExport"
quarantine="ROOT/quarantines/HTTPExport"
sendDigestHeader="yes"
contentType="application/zip"
url="
https://xxxx:443/xnat/data/services/import?import-handler=DICOM-zip&inbody=true&dest=/prearchive/projects/test"
acceptFileObjects="no"
acceptXmlObjects="no"
acceptZipObjects="no">
<compressor
cacheSize="20"
defaultString="unknown"
structure="(0010,0020).(0010,0010)"/>
<xnat
url="
https://xxxx:443/xnat/data/JSESSION"
cookieName="JSESSIONID"
password="xxxx"
username="xxxx"/>
</HttpExportService>
Thanks for the help,
James