Connection error when performing "Do lookup"

Hi,
When I load “http://localhost:8042/dicom-web/studies” in the browser (or curl) I get a non-empty array of all 4 studies that I had loaded previously.
But when open the DICOMweb client and I click “Do lookup” while pointing to the server running on localhost, I get a connection error which reads"There was an error conneting to “thisBox” server. (thisBox is the name of the server of my LinuxBox on which Orthanc is running).
In DevTools, under the Network tab, I see the name of the resource qido in red, and under the General section of the Headers I see the following:

**Request URL:       http://localhost:8042/dicom-web/servers/thisBox/qido**
**Rquest Method:    POST**
**Status Code:        404 Not Found**
**Remote address: 127.0.0.1:8042**

And here’s the content of my dicomweb.json:
{
/**
* The following options control the configuration of the Orthanc
* plugin adding support of WADO and DICOMweb.
**/

"DicomWeb" : {
"Enable" : true,         
"Root" : "/dicom-web/",
"EnableWado" : true,
"WadoRoot" : "/wado",
"Ssl" : false,
"RemoteAccessEnabled": true,
"Servers": {
  "thisBox" : ["http://localhost:8042/dicom-web/studies"],
  "myLaptop": ["http://192.168.2.16:8042/dicom-web/studies"],
}
}

}

Hi,

You should try without the studies in your config:

HTH,

Alain

Oh man, that fixed it. I had the url without the studies route for the longest time, then I added it as I had seen a post that suggested it as a fix for a similar issue. Many thanks.

Hi, it seems I have similar issue:

my config is:

“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
“Ssl” : false, // Whether HTTPS should be used for subsequent WADO-RS requests

  "Servers" : {
  "ortweb" : ["http://192.168.55.107:8042/dicom-web/"]
}
}

On pressing look up, the DICOMweb client asks for authentication each time and after throws an error:

Connection error

There was an error connecting to “ortweb” server.

What am I missing?

Hello,

If you don’t provide a minimal working example to independently reproduce your issue, nobody will be able to help you.

Regards,
Sébastien-

Hi Sebastien, thanks for pointing me towards seeing the logs (of course).
I saw there was a problem with the authentication and adding user and pass to the config resolved it:

“ortweb” : [“http://192.168.55.107:8042/dicom-web/",“user”,"pass”]