Dicom Web Server - Credentials error

327 views
Skip to first unread message

Anat Tal Gagnon

unread,
Jul 24, 2022, 7:45:40 AM7/24/22
to Orthanc Users
Hi guys, 
I setup a super basic test for Dicom Web Server,
But when I click "Do Lookup" I get in the log "Bad credentials were provided to an HTTP request"

From Log
orthanc1       | I0724 11:42:09.418848 OrthancPlugins.cpp:2443] (plugins) Delegating HTTP request to plugin for URI: /dicom-web/servers/sample/qido
orthanc1       | I0724 11:42:09.418936 HttpClient.cpp:835] (http) New HTTP request to: http://localhost:8042/dicom-web/studies?fuzzymatching=true&limit=101 (timeout: 60s)
orthanc1       | I0724 11:42:09.419683 HttpClient.cpp:1057] (http) HTTP status code 401 in 0 ms after GET request on: http://localhost:8042/dicom-web/studies?fuzzymatching=true&limit=101
orthanc1       | E0724 11:42:09.419729 HttpClient.cpp:1084] Error in HTTP request, received HTTP status 401 (Unauthorized) after GET request on: http://localhost:8042/dicom-web/studies?fuzzymatching=true&limit=101
orthanc1       | E0724 11:42:09.419862 PluginsManager.cpp:186] Exception while invoking plugin service 34: Bad credentials were provided to an HTTP request
orthanc1       | E0724 11:42:09.419961 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Bad credentials were provided to an HTTP request

From Config
"DicomWeb": {
   "Servers": {
        "sample": [ "http://localhost:8042/dicom-web/"  ]
    },
    "Enable": true
},


Screenshot 2022-07-24 144019.png


Anat Tal Gagnon

unread,
Jul 24, 2022, 8:59:44 AM7/24/22
to Orthanc Users
login is default orthanc  orthanc

Alain Mazy

unread,
Aug 2, 2022, 6:16:38 AM8/2/22
to Anat Tal Gagnon, Orthanc Users
Looks like your config should be:
From Config
"DicomWeb": {
   "Servers": {
        "sample": [ "http://localhost:8042/dicom-web/", "orthanc", "orthanc"  ]
    },
    "Enable": true
},

--
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/ac569cf0-5bfc-483c-b78b-2e3a072977d3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages