Deactive DicomModalities check

453 views
Skip to first unread message

Adly Nuqman

unread,
Oct 20, 2021, 1:46:37 PM10/20/21
to Orthanc Users

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

Stephen Douglas Scotti

unread,
Oct 20, 2021, 2:24:46 PM10/20/21
to Orthanc Users
There are a number of configuration options that might help:


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.

Michel Rozpendowski

unread,
Oct 21, 2021, 3:11:29 AM10/21/21
to Orthanc Users
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

Adly Nuqman

unread,
Oct 21, 2021, 12:14:03 PM10/21/21
to Orthanc Users
Thank you Stephen and Michel, will try this setting.
Thanks a lot

Reply all
Reply to author
Forward
0 new messages