Hi,
Yesterday I updated to package 23.3.2 for Windows.
When going to Explorer 2 I get the following:
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.
-
Make sure you have Explorer 2 Enabled and that the Plug-in itself installed.
-
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.
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
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 ?
Best regards,
Alain.
Hi again,
I think I’ve been able to reproduce your error while working on another setup.
I’m investigating now and I’ll keep you posted.
Alain
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.
Yep, that did it, I added one line for UiOptions and it came back to life.
Thank you!