*Hello! I hope you are all doing well, and thank you in advance.
I am experiencing an issue that I cannot understand because it is not reproducible locally. I have an Orthanc Docker image running on Digital Ocean, and it works correctly. However, when I send DICOM files via DICOMweb from “K-PACS,” it crashes and does not allow me to upload them (the ECHO connection test works fine).
We suspect it is a database issue since we have been facing some difficulties in that area recently. We tried to reproduce the error locally for debugging, but we are unable to build the image (even though it is running fine on Digital Ocean).
Below, I provide all the relevant information:
**Ports (enabled through the firewall):
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.9p1 Ubuntu 3ubuntu0.10 (Ubuntu Linux; protocol 2.0)
80/tcp open http
104/tcp filtered acr-nema
443/tcp open https
4242/tcp open vrml-multi-use?
Orthanc.json:
{
//! General configuration
“HttpsCACertificates”: “/etc/orthanc/certs/amazonrootca1.pem”,
“RemoteAccessAllowed”: true,
“RestApiWriteToFileSystemEnabled”: true,
“TransferSyntaxAccepted”: true,
“DicomAssociationCloseDelay”: 0,
“DicomModalities”: {},
“DicomAssociationMaximumLength”: 16777216,
“DicomCheckCalledAet”: false,
“DicomCheckModalityHost”: false,
“DicomAlwaysAllowEcho”: true,
“DicomAlwaysAllowFind”: true,
“DicomAlwaysAllowStore”: true,
“DicomAlwaysAllowGet”: true,
//! Servers
“DicomPort”: 4242,
“DicomServerEnabled”: true,
“HttpEnabled”: false,
“DicomAet”: “ORTHANC”,
“StrictDicom”: false,
“HttpsEnabled”: false,
//! Server configuration
“HttpServer”: {
“Enabled”: false,
“Port”: 8042,
“AllowOrigin”: [
“http://localhost:3000”,
“https://medconnectback-staging.up.railway.app”,
“https://medconnectfront-staging.up.railway.app”
]
},
“DicomWeb”: {
“Enable”: true,
“Root”: “/dicom-web/”,
“EnableWado”: true,
“WadoRoot”: “/wado”,
“Ssl”: false,
“QidoCaseSensitive”: false,
“Host”: “”,
“port”: 4242,
“StudiesMetadata”: “Full”,
“SeriesMetadata”: “Full”,
“EnableMetadataCache”: true,
“MetadataWorkerThreadsCount”: 4,
“PublicRoot”: “/dicom-web/”
},
//! Plugins
“Plugins”: [“/usr/local/share/orthanc/plugins”],
“PostgreSQL”: {
“EnableIndex”: true,
“EnableStorage”: false,
“ConnectionUri”: “”,
“UnixSocket”: “”,
“EnableSsl”: true,
“MaximumConnectionRetries”: 10,
“ConnectionRetryInterval”: 5,
“IndexConnectionsCount”: 50,
“TransactionMode”: “ReadCommitted”,
“EnableVerboseLogs”: false,
“HousekeepingInterval”: 1
},
“AwsS3Storage”: {
“Enable”: true,
“BucketName”: “orthanc-dicom-database”,
“Region”: “us-east-2”,
“AccessKey”: “”,
“SecretKey”: “”,
“ConnectionTimeout”: 30,
“RequestTimeout”: 1200,
“RootPath”: “”,
“MigrationFromFileSystemEnabled”: false,
“StorageAccessOnFind”: true,
“StorageStructure”: “flat”,
“EnableLegacyUnknownFiles”: true,
“VirtualAddressing”: true,
“HybridMode”: “Disabled”,
“UseTransferManager”: false,
“EnableAwsSdkLogs”: false,
“StorageClass”: “STANDARD”
},
“PythonScript”: “/etc/orthanc/meddream.py”,
“JobsEngineThreadsCount”: {
“ResourceModification”: 1
},
//! Users
“RegisteredUsers”: {
“admin”: “ServerAdmin”,
“user1”: “UserAccess”
},
//! Just in case
// “Servers”: {
// “OrthancLocal”: {
// “Url”: “http://localhost:8042/dicom-web/”,
// “Username”: “orthanc”,
// “Password”: “orthanc”
// }
// }
“Authorization”: {
“Enabled”: true,
“CheckedLevel”: “studies”
}
}
Latest error logs:
HTTP-18 dicom-web:/Configuration.cpp:643] Unsupported return MIME type: application/dicom+json, multipart/related; type=application/octet-stream; transfer-syntax=*, will return DICOM+JSON
E0214 18:12:58.990031 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 47
E0214 18:12:59.314033 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 4f
E0214 18:12:59.637836 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 4f
E0214 18:12:59.928604 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 80
E0214 18:13:00.270005 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 0
E0214 18:13:00.614706 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 0
E0214 18:13:00.945515 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 48
E0214 18:13:08.581460 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 16
E0214 18:13:09.260214 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 16
E0214 18:13:09.553061 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 0
E0214 18:13:09.878847 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 0
E0214 18:13:10.203281 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 6c
E0214 18:13:10.492928 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 47
E0214 18:13:10.783388 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: A-ASSOCIATE PDU too large
E0214 18:13:11.109281 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 30
E0214 18:13:11.402539 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 30
E0214 18:13:11.713621 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 4f
E0214 18:13:12.007566 DICOM-SERVER CommandDispatcher.cpp:285] Receiving Association failed: Unrecognized PDU type: 54