Compiled the AWS S3 plugin (Osimis version) for OSX and it seemed to compile and load OK:
W1121 20:18:56.189536 main.cpp:802] Loading plugin(s) from: libOrthancAwsS3Storage.mainline.dylib
W1121 20:18:56.216348 PluginsManager.cpp:269] Registering plugin ‘AWS S3 Storage’ (version mainline)
W1121 20:18:56.217111 PluginsManager.cpp:168] AWS S3 Storage plugin is initializing
W1121 20:18:58.237113 PluginsManager.cpp:168] AWS S3 Storage: client-side encryption is disabled
W1121 20:18:58.237224 main.cpp:1405] Using a custom database from plugins
W1121 20:18:58.237244 main.cpp:1416] Using a custom storage area from plugins
I sent a 1 image study to to my local instance of Orthanc via a local HOROS, and it sent to Orthanc, but nothing in the log with that. When I look at my Orthanc Explorer, the study info shows up.
When I try to view using the Osimis Viewer I get this in the log:
E1121 20:29:26.048836 PluginsManager.cpp:164] AWS S3 Storage: error while reading object 1ef9c380-4feb-40f3-a0cd-4165f1e44e6a, size of file is too small: 0 bytes
E1121 20:29:26.049068 PluginsManager.cpp:197] Exception while invoking plugin service 3010: Error in the plugin implementing a custom storage area
E1121 20:29:26.049207 PluginsManager.cpp:164] (SeriesController) Orthanc::OrthancException 7/404 Accessing an inexistent item
In the browser console I see a 404 error for:
http://localhost:8042/osimis-viewer/series/8bccacc7-d470b154-446c649d-2f08a482-b18cd25d
In my AWS Console I see a list of a .json file and .dcm file in my bucket, and that matches when is stored in the attachedfiles table in my Postgres database.
The .json shows on AWS shows:
AccessDenied
Access Denied
1S7MDWBTCV8XAM7R
omVL0SZv9YtceuCr8siZBUlQodvv2kUkD7gmeeEMblXtyBgpR6eWzw6r37+Q5ZXh3oI1SykUvb8=
My storage config is like:
“AwsS3Storage” : {
“BucketName”: “xxxx”,
“Region” : “us-east-2”,
“AccessKey” : “xxxx”,
“SecretKey” : “xxxx”,
“Endpoint”: “”, // custom endpoint
“ConnectionTimeout”: 30, // connection timeout in seconds
“RequestTimeout”: 1200, // request timeout in seconds (max time to upload/download a file)
“RootPath”: “”, // see below
“MigrationFromFileSystemEnabled”: false, // see below
“StorageStructure”: “flat”, // see below
“VirtualAddressing”: true // see the section related to MinIO
},
“PostgreSQL” : {
“EnableIndex” : true,
“EnableStorage” : false,
“Host” : “localhost”,
“Port” : 5432,
“Database” : “Orthanc”,
“Username” : “xxx”,
“Password” : “xxx”,
“EnableSsl” : false // New in version 3.0
},
I presume that that has something to do with the AWS config and nothing to do with the plugin or Orthanc ??
BTW, the Google interface changed again, and some issues with sending messages. Is there a way to send messages using your own e-mail client if you use the same e-mail as the google account ?
Stephen D. Scotti