So i’m sending lot’s of images from my local orthanc server to remote orthanc via transfer accelerator. I easily upload xray images but i fit it difficult to completely upload some large CT images(some 2.45gb, 1.7gb,etc). Sometimes they upload up to a 100% and after a very long time, the job fails. I’ve even tried to adjust timeouts both on the remote and local server configurations but nothing. Sometimes some jobs stops half way, and after a long time, it fails.
This is my current orthanc.json locally:
{
"Name": "Orthanc",
"StorageDirectory": "${STORAGE_DIR}",
"DicomAet": "ORTHANC",
"DicomPort": 8595,
"HttpPort": 8090,
"Plugins": [
"libOrthancDicomWeb.dylib",
"libOrthancOHIF.dylib",
"libOrthancTransfers.dylib",
"libOrthancPostgreSQLIndex.dylib",
"libOrthancPostgreSQLStorage.dylib"
],
"OrthancExplorer2": {
"Enable": true,
"IsDefaultOrthancUI": false
},
"DicomWeb": {
"Enable": true,
"Root": "/dicom-web/",
"EnableWado": true,
"WadoRoot": "/wado",
"Host": "localhost",
"Ssl": false,
"StowMaxInstances": 0,
"StowMaxSize": 0,
},
"AuthenticationEnabled": false,
"RemoteAccessAllowed": true,
"RegisteredUsers": {
"<username>": "<password>"
},
"HttpServerEnabled": true,
"HttpServer": {
"Enabled": true,
"Port": 8090,
"Cors": {
"EnableCrossOrigin": true,
"AllowedOrigin": "*",
"AllowedMethods": "GET,POST,PUT,DELETE,OPTIONS",
"AllowedHeaders": "Content-Type, Authorization"
}
},
"DicomServerEnabled": true,
"LuaScripts": ["my_script.lua"],
"LogLevel": "DEBUG",
"LogFile": "orthanc.log",
"OnChange": "http://localhost:3020/instance-received",
"HttpNotifications": true,
"HttpsCACertificates": "combined_certificates.pem",
"OrthancPeers": {
"RemoteOrthanc": {
"Url": "https://remote-orthanc-server",
"Username": "<username>",
"Password": "<password>",
"AllowFind": true,
"AllowRetrieve": true,
"AllowStore": true,
"SslCheckCertificate": true,
"AllowPush": true,
"TransferAccelerator": true,
"Timeout": 5400
}
},
"HttpTimeout": 5400,
"HttpRequestTimeout": 5400,
"UserMetadata": {
"AdditionalPatientHistory": 1026
},
"ConcurrentJobs": 4,
"DicomScuTimeout": 5400,
"DicomScpTimeout": 5400,
"TransfersPluginEnabled": true,
"Transfers": {
"Threads": 4,
"BucketSize": 2048,
"CacheSize": 1024,
"MaxPushTransactions": 4,
"MaxHttpRetries": 10,
"PeerConnectivityTimeout": 5400
},
"PostgreSQL": {
"EnableIndex": true,
"EnableStorage": false,
"Port": 5432,
"Host": "localhost",
"Database": "orthancDB",
"Username": "postgres",
"Password": "<password>",
"EnableSsl": false,
"Lock": false,
"TransactionMode": "ReadCommitted"
},
"Verbose": true,
"StorageCompression": false,
"KeepAlive": true,
"TcpNoDelay": true,
"SaveJobs": false,
"LimitFindResults": 1000,
"LimitFindInstances": 5000
}
And this is my remote orthanc server on aws behing nginx:
version: "3.3"
services:
orthanc:
# note: you need a post 22.2.0 tag (first tag with S3 plugin included)
image: orthancteam/orthanc
ports:
- "8042:8042"
- "4242:4242"
environment:
- ORTHANC__AWS_S3_STORAGE__BUCKET_NAME=
- ORTHANC__AWS_S3_STORAGE__REGION=
- ORTHANC__AWS_S3_STORAGE__ACCESS_KEY=
- ORTHANC__AWS_S3_STORAGE__HYBRID__MODE=WriteToObjectStorage
- ORTHANC__AWS_S3_STORAGE__USE_TRANSFER_MANAGER=true
- ORTHANC__AWS_S3_STORAGE__ENABLE_AWS_SDK_LOGS=true
- ORTHANC__POSTGRESQL__HOST=
- ORTHANC__POSTGRESQL__PORT=5432
- ORTHANC__POSTGRESQL__USERNAME=postgres
- ORTHANC__POSTGRESQL__DATABASE=orthanc_db
- ORTHANC__POSTGRESQL__ENABLE_SSL=true
- ORTHANC__POSTGRESQL__ENABLE_INDEX=true
- ORTHANC__POSTGRESQL__ENABLE_STORAGE=false
- ORTHANC__AUTHENTICATION_ENABLED=false
- ORTHANC__DICOM_SERVER_ENABLED=true
- ORTHANC__REMOTE__ACCESS__ALLOWED=true
- ORTHANC_LOGGING_LEVEL=verbose
- DICOM_WEB_PLUGIN_ENABLED=true
- VERBOSE_ENABLED=true
- TRANSFERS_PLUGIN_ENABLED=true
- ORTHANC__TRANSFERS__MAX_HTTP_RETRIES=5
- DICOM_SCP_TIMEOUT=5400
- HTTP_TIMEOUT=5400