Deactive DicomModalities check

Hi, i’m trying to configure to access orthanc server using HOROS without declaring HOROS IP,AET and port. i need to do this as i’m using dynamic IP for my HOROS, the IP is keep changing. I’m trying to deactivate DICOM check but failed.

I’m using osimis/orthanc docker to deploy orthanc server.

this is my environment for orthanc

environment:

ORTHANC__NAME: “TEST”

ORTHANC__DICOM_SERVER_ENABLED: “true”

ORTHANC__DICOM_MODALITIES_IN_DATABASE: “true”

ORTHANC__ORTHANC_PEERS_IN_DATABASE: “true”

DICOM_WEB_PLUGIN_ENABLED: “true”

OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: “true”

PYTHON_PLUGIN_ENABLED: “true”

TRANSFERS_PLUGIN_ENABLED: “true”

WORKLISTS_PLUGIN_ENABLED: “true”

ORTHANC__REGISTERED_USERS: |

{“ipadi”: “ipadi”}

ORTHANC__DICOM_WEB__ENABLE: “true”

ORTHANC__DICOM_WEB__ROOT: “/dicom-web/”

ORTHANC__DICOM_WEB__ENABLEWADO: “true”

ORTHANC__DICOM_WEB__WADOROOT: “/wado”

ORTHANC__DICOM_WEB__SSL: “true”

ORTHANC__DICOM_WEB__STUDIESMETADATA: “MainDicomTags”

ORTHANC__DICOM_WEB__SERIESMETADATA: “Full”

ORTHANC__DICOM_AET_CHECK_ENABLE: “false”

ORTHANC__DICOM_ALWAYS_ALLOW_ECHO_ENABLE: “true”

ORTHANC__LISTENER_LISTEN_ALL_ADDR: “true”

ORTHANC__DICOM_ALWAYS_ALLOW_FIND: “true”

ORTHANC__DICOM_ALWAYS_ALLOW_GET_ENABLE: “true”

ORTHANC__ALLOW_MOVE: “true”

By using this environment, i’m able to see list of cases in orthanc server, but when i click download,

This message will appear: Peer aborted Association (or never connected)

This are the error message from orthanc

rthanc | W1020 17:23:22.531791 main.cpp:445] Unable to check DICOM authorization for AET ORTHANC on IP 1.1.1.1: 21 modalites found with this AET in configuration option “DicomModalities”, but none of them matches the IP

orthanc | W1020 17:23:22.531856 CommandDispatcher.cpp:817] Rejected Move request from remote DICOM modality with AET “ORTHANC” and hostname “1.1.1.1”

I need help to deactivate DicomModalities check.

Thank you in advance

There are a number of configuration options that might help:

https://book.orthanc-server.com/faq/dicom.html

If you are using Docker, you’ll either have to specify those in an orthanc.json or use the environment setting format for those settings. See: https://book.orthanc-server.com/users/docker-osimis.html?highlight=docker

e.g.

// Whether Orthanc checks the IP/hostname address of the remote
// modality initiating a DICOM connection (as listed in the
// “DicomModalities” option above). If this option is set to
// “false”, Orthanc only checks the AET of the remote modality.
“DicomCheckModalityHost” : false,

// Check whether the called AET corresponds to the AET of Orthanc
// during an incoming DICOM SCU request
“DicomCheckCalledAet” : false,

Stephen D. Scotti, M.D.

Hi,

You should double-check the environment variable you are setting.

For instance:

  • it’s not ORTHANC__DICOM_WEB__ENABLE but ORTHANC__DICOM_WEB__ENABLED with a D at the end.
  • it’s not ORTHANC__DICOM_WEB__ENABLEWADO but ORTHANC__DICOM_WEB__ENABLE**_**WADO
  • it’s not ORTHANC__DICOM_WEB__STUDIESMETADATA but ORTHANC__DICOM_WEB__STUDIES**_**METADATA

Please check https://book.orthanc-server.com/users/docker-osimis.html#environment-variables for more information on the naming convention of the Osimis Orthanc images.

Kind regards,

Michel

Thank you Stephen and Michel, will try this setting.
Thanks a lot