Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

Microsoft store version DICOM-export error

Open imarlan opened this issue 3 months ago • 3 comments

Describe the bug. What happened?

  1. Run Windows Store version Weasis
  2. Import DICOM Dir
  3. DICOM export to pacs dcm4chee
  4. Error [DicomSend-1] org.weasis.dicom.send.SendDicomView: StowRS error: java.io.IOException: Unable to establish loopback connection

Next try with msi installer version. No problem. In the logs there is only one difference in the sequence of activation of the Export ISO image and DICOM Send modules.

What version of Weasis are you running?

4.6.3

On which system the problem occurs?

Windows

Relevant log output

MS store version
----------------
17.09.2025 10:43:04.033 *INFO * [AWT-EventQueue-0] o.w.dicom.isowriter.ExportIsoFactory: Export ISO image is activated
17.09.2025 10:43:04.051 *INFO * [AWT-EventQueue-0] o.weasis.dicom.send.SendDicomFactory: DICOM Send is activated
17.09.2025 10:43:16.098 *ERROR* [DicomSend-1] org.weasis.dicom.send.SendDicomView: StowRS error: java.io.IOException: Unable to establish loopback connection

msi installer version
---------------------
17.09.2025 10:53:04.665 *INFO * [AWT-EventQueue-0] o.weasis.dicom.send.SendDicomFactory: DICOM Send is activated
17.09.2025 10:53:04.698 *INFO * [AWT-EventQueue-0] o.w.dicom.isowriter.ExportIsoFactory: Export ISO image is activated
17.09.2025 10:55:03.949 *INFO * [DicomSend-1] org.weasis.dicom.send.StowRS: STOW-RS server response message: HTTP Status-Code 200: OK for all the image set

Retry MS store verion
---------------------
17.09.2025 10:58:04.968 *INFO * [AWT-EventQueue-0] o.w.dicom.isowriter.ExportIsoFactory: Export ISO image is activated
17.09.2025 10:58:04.979 *INFO * [AWT-EventQueue-0] o.weasis.dicom.send.SendDicomFactory: DICOM Send is activated
17.09.2025 10:58:20.140 *ERROR* [DicomSend-1] org.weasis.dicom.send.SendDicomView: StowRS error: java.io.IOException: Unable to establish loopback connection

Additional contextual elements

No response

imarlan avatar Sep 17 '25 08:09 imarlan

I could not reproduce the error on a freshly installed Windows 11 system; the DICOM export works without issues in this environment.

Please note the warning message on the download page: "The package management systems above can limit certain functionalities because they work in sandbox mode."

This limitation is probably due to how Windows Store apps are sandboxed for security. Specifically, loopback connections (e.g., to localhost) are restricted by default for apps installed via the Microsoft Store. See this Stack Overflow discussion for more details.

You may want to investigate if your use-case requires loopback network access and consider possible workarounds or recommend using the MSI version for full functionality.

nroduit avatar Sep 18 '25 15:09 nroduit

I added it to the exceptions using CheckNetIsolation. The situation hasn't changed. I'll use MSI. Thanks.

imarlan avatar Sep 19 '25 08:09 imarlan

A loopback connection is the computer connecting with itself, localhost or 127.0.0.1. It could be related to the system firewall, proxy or VPN.

nroduit avatar Sep 21 '25 18:09 nroduit