Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

Weasis not loading any image with MacOS

Open subhasishdash opened this issue 2 years ago • 3 comments

Describe the bug Weasis not loading any image with MacOS latest Mojave

To Reproduce Steps to reproduce the behavior:

  1. Go to weasis web launcher
  2. Click on any launch button
  3. It will load the weasis on desktop on MacOS
  4. See error : weasis

Expected behavior It should load the examples from https://nroduit.github.io/en/getting-started/weasis-protocol/

Desktop:

  • OS: MacOS
  • Java Rutime: java 18
  • Weasis Version 4.0.0.rc

Screenshots weasis

Traces boot-0.0.log default.log

27.04.2022 21:27:40.562 ERROR [SwingWorker-pool-3-thread-3] org.weasis.dicom.explorer.wado.LoadRemoteDicomManifest: Download failed org.weasis.dicom.explorer.wado.DownloadException: Error on loading the XML Manifest from: https://nroduit.github.io/samples/Lumbar/mf.xml at org.weasis.dicom.explorer.wado.DownloadManager.buildDicomSeriesFromXml(DownloadManager.java:372) at org.weasis.dicom.explorer.wado.LoadRemoteDicomManifest.downloadManifest(LoadRemoteDicomManifest.java:168) at org.weasis.dicom.explorer.wado.LoadRemoteDicomManifest.doInBackground(LoadRemoteDicomManifest.java:147) at org.weasis.dicom.explorer.wado.LoadRemoteDicomManifest.doInBackground(LoadRemoteDicomManifest.java:42) at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.desktop/javax.swing.SwingWorker.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

subhasishdash avatar Apr 27 '22 16:04 subhasishdash

Thanks for your feedback, but I can't reproduce this problem when trying on versions 10.15 and 12.1.

According to the error, it's like a root certificate for https is missing, I don't understand why.

Could you test on another computer ?

nroduit avatar Apr 28 '22 12:04 nroduit

I added boot.logs for the OS details. Please check ***** Configuration ***** OSGI native specs = macosx-x86-64 HTTP user agent = Weasis/4.0.0-RC (Mac OS X; 10.14.2; x86_64; default; NATIVE) Operating system = Mac OS X 10.14.2 x86_64 Java vendor = Eclipse Adoptium Java version = 18 Java Path = /Applications/Weasis.app/Contents/runtime/Contents/Home Java max memory (less survivor space) = 2.0 GiB ***** End of Configuration ***** 27.04.2022 09:46:49.903 INFO [main] org.weasis.launcher.WeasisLauncher: Starting OSGI Bundles...

     | | /| / /__ ___ ____ (_)__
     | |/ |/ / -_) _ `(_-</ (_-<
     |__/|__/\__/\_,_/___/_/___/

27.04.2022 09:46:56.935 INFO [FelixStartLevel] org.opencv.osgi: Successfully loaded OpenCV native library.

We have a issue in this specific case only for the Mac OS X 10.14.2 x86_64. Weasis loads properly on other PC's

I tried your examples from weasis web launcher page to avoid confusion about certificate. Because the logs says something else and the prompt says something about certificate.

subhasishdash avatar Apr 28 '22 12:04 subhasishdash

You can try to set the set log level at DEBUG in the weasis preferences dialog.

Adding java-options=-Djavax.net.debug=allin the weasis package (Weasis.cfg) should help to understand which certificate is missing and where it try to get it on the system.

nroduit avatar Apr 29 '22 06:04 nroduit

Please reopen this issue if it has not been resolved in the current version.

nroduit avatar May 27 '23 08:05 nroduit