Cannot access Explorer after update

Hi,

Yesterday I updated to package 23.3.2 for Windows.

When going to Explorer 2 I get the following:

Screenshot 2023-03-23 153906.jpg

When going to Explorer I get the following error:
“HttpError” : “Not Found”, “HttpStatus” : 404, “Message” : “Unknown resource”,
“Method” : “GET”, “OrthancError” : “Unknown resource”, “OrthancStatus” : 17, “Uri” : “/app/explorer.html”

Thank you all!

Could be a few things.

  1. Make sure you have Explorer 2 Enabled and that the Plug-in itself installed.

  2. Read the instructions in the config file and in the book.

The URL there with the 404 error is for the legacy explorer.

https://book.orthanc-server.com/plugins/orthanc-explorer-2.html?highlight=explorer
https://github.com/orthanc-server/orthanc-explorer-2/blob/master/Plugin/DefaultConfiguration.json

Stephen D. Scotti, M.D.

Thank you for that.
It worked up until the update and nothing was changed in the configure files.

Screenshot 2023-03-23 153906.jpg

Hi Chaim,

This should not happen - I’m using 23.3.2 too on Windows without any issues.
Could you collect Orthanc verbose logs using these instructions?

Best regards,

Alain

Screenshot 2023-03-23 153906.jpg

Hi,

I attached the log.

Thank you!

Screenshot 2023-03-23 153906.jpg

Orthanc.log (43.5 KB)

I do not use the Windows setup much. Looking through the log it looks like the Plug-in installed.
Loading:

W0324 14:24:33.824022 OrthancConfiguration.cpp:57] Reading the configuration from: “C:\Program Files\Orthanc Server\Configuration\orthanc-explorer-2.json”
I0324 14:24:34.099287 PluginsManager.cpp:303] (plugins) Found a shared library: “C:\Program Files\Orthanc Server\Plugins\OrthancExplorer2-win64.dll”
W0324 14:24:34.101287 PluginsManager.cpp:261] Registering plugin ‘orthanc-explorer-2’ (version 0.8.0)

The only thing I see that might be an issue might be:

W0324 14:24:34.200226 PluginsManager.cpp:157] When using OE2 and the authorization plugin together, you must set ‘Authorization.CheckedLevel’ to ‘studies’. Unless you are using this orthanc only to generate tokens.

See: https://book.orthanc-server.com/plugins/authorization.html?highlight=checkedlevel

I have never used that setup, but it looks like the front-end is actually loading and the Auth plug-in might be blocking the API requests.

Stephen D. Scotti, M.D.

Hi,

I don’t have the authorization plugin enabled. Regardless I attempted adding “CheckedLevel” : “studies”,to my json, didn’t help.

Thank you!

Hi Chaim,

Could you open the Dev tools in your browser and check if there are any errors in the console and possibly report the content of the responses to /pre-login-configuration and /configuration ?

image.png

Best regards,

Alain.

Hi again,

I think I’ve been able to reproduce your error while working on another setup.
image.png

I’m investigating now and I’ll keep you posted.

Alain

image.png

Ok, found it. I introduced a bug in 0.8.0 while fixing another issue. the OE2 UI was then not running correctly if there were no UiOptions section in the configuration file.

This is now fixed in v 0.8.2 that is being built right now. An updated installer will be available in a few hours max.

Best regards and sorry for the inconvenience

Alain.

image.png

image.png

Wow, thank you so much!

image.png

image.png

Yep, that did it, I added one line for UiOptions and it came back to life.

Thank you!

image.png

image.png