Re: Difficulties with dicom-web plugin and orthanc

725 views
Skip to first unread message
Message has been deleted

Björn Albers

unread,
Oct 7, 2022, 6:04:00 AM10/7/22
to Nikolay Zaynelov, Orthanc Users
Hey Nicolay,

did you load the plugin?
Try adding this to your config:

  "Plugins" : [
    "libOrthancDicomWeb.dylib", // adapt the path according to your installation
    //...
  ],



Björn

Am Fr., 7. Okt. 2022 um 10:40 Uhr schrieb Nikolay Zaynelov <commerci...@gmail.com>:
Hi,
I try to enable dicom-web plugin on the same host as the server because I want to present the studies in the current orthanc server to other applications via dicom-web.

My configuration file is:

{
    /**
     * The following options control the configuration of the Orthanc
     * plugin adding support of WADO and DICOMweb.
     **/

    "DicomWeb" : {
        "Enable" : true,         // Whether DICOMweb support is enabled
        "Root" : "/dicom-web/",  // Root URI of the DICOMweb API (for QIDO-RS, STOW-RS and WADO-RS)
        "EnableWado" : true,     // Whether WADO-URI (aka. WADO) support is enabled
        "WadoRoot" : "/wado",    // Root URI of the WADO-URI (aka. WADO) API
        "Host" : "10.30.12.17",             // Hard-codes the name of the host for subsequent WADO-RS requests
        "Ssl" : false,           // Whether HTTPS should be used for subsequent WADO-RS requests
        "Servers" : {
                "self" : [ "http://10.30.12.17/dicom-web/", "user", "pass" ]
        }
    }
}

But I got the following error on the web client when i "Do Lookup":

Connection error

There was an error connecting to "self" server.

In the log file I see:

E1007 11:35:58.127262 HttpClient.cpp:1084] Error in HTTP request, received HTTP status 404 (Not Found)
E1007 11:35:58.127480 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Unknown resource

I looked in the documentation here: https://book.orthanc-server.com/plugins/dicomweb.html

Any suggestions? I think I miss something small.

Kind regards,

Nikolay


--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/b2db1c53-a519-4164-9048-8684335c8ca1n%40googlegroups.com.

Nikolay Zaynelov

unread,
Oct 7, 2022, 6:32:03 AM10/7/22
to Orthanc Users
Yes,
it is loaded with the following configuration:

  "Plugins" : [
    "/usr/share/orthanc/plugins/"
  ],

and the file exists on the server:

root@hbpntestpacs2:/usr/share/orthanc/plugins# ls -la
...
lrwxrwxrwx 1 root root   46 Jun  6 21:55 libOrthancDicomWeb.so -> ../../../lib/orthanc/libOrthancDicomWeb.so.1.7
...

root@hbpntestpacs2:/usr/lib/orthanc# ls -la
...
-rw-r--r--  1 root root 4618312 Jun  6 21:55 libOrthancDicomWeb.so.1.7
...

Also it presents in the log file:

W1007 11:32:20.914491 OrthancConfiguration.cpp:55] Reading the configuration from: "/etc/orthanc/dicomweb.json"
....
W1007 11:32:20.956554 PluginsManager.cpp:258] Registering plugin 'dicom-web' (version 1.7)
W1007 11:32:20.956851 PluginsManager.cpp:157] URI to the DICOMweb REST API: /dicom-web/
W1007 11:32:20.957030 PluginsManager.cpp:157] URI to the WADO-URI API: /wado

Nikolay Zaynelov

unread,
Oct 7, 2022, 6:40:24 AM10/7/22
to Orthanc Users
My bad  - missing port 8042 in the URL...
Reply all
Reply to author
Forward
0 new messages