Project-MONAI / monai-deploy

MONAI Deploy aims to become the de-facto standard for developing, packaging, testing, deploying and running medical AI applications in clinical production.
Apache License 2.0
97 stars 22 forks source link

MDExpress: Orthanc Configurations #99

Open vikashg opened 1 year ago

vikashg commented 1 year ago

I am trying one of the demos, when I send the images using terminal using storescu I can upload the images on Orthanc. However when I try to send the images from Orthanc to MONAI-DEPLOY I get the following error: image

I checked the Orthanc Configuration files and RemoteAccessAllowed is set to true and AuthenticationEnabled is set to false. Any suggestions.

mocsharp commented 1 year ago

@vikashg You are correct, the Insecure Setup yellow warning displays when RemoteAccessAllowed is set to true and AuthenticationEnabled is set to false. This was by design to make the experience easier.

If you want to secure the Orthanc instance, you may update the configuration file and set AuthenticationEnabled to true and add RegisteredUsers as follows:

"RemoteAccessAllowed" : true,
"AuthenticationEnabled" : true,
"RegisteredUsers" : {
  "admin" : "password"

Please refer to Orthanc for additional configuration options.

vikashg commented 1 year ago

Hi @mocsharp So, I did what you said. and I think there is some AETitle mismatch image

I am using the instructions for Liver Segmentation MAP.

mocsharp commented 1 year ago

@vikashg have you tried restarting the services by running

docker compose down

and then

docker compose up

If that doesn't work, please provide logs from Informatics Gateway by running

docker logs mdl-ig
vikashg commented 1 year ago

Seems like compose down and up solved that problem. However, it seems to take a long time due to insufficient storage. Atleast thats what I gather from logs.

image

Is it something that I can change in the configurations?

mocsharp commented 1 year ago

@vikashg It looks like your drive is 95% filled; one option is to modify the informatics-gateway.json line 47, and set to "watermarkPercent": 99, and then restart all the services again.

vikashg commented 1 year ago

That is interesting because I just checked that our drives are not full image

I think if there is a way to clearly specify where this whole operation will go on, it will be helpful for testing.

mocsharp commented 1 year ago

@vikashg it's usually the drive that you are running MD express on.
By default $PWD/.md/mdig/payloads/ is mounted to /payloads in the Informatics Gateway container.