Cannot perform the C-STORE operation from my local HOROS to cloud Orthanc

Hi everyone,

I have been trying to connect Horos which is running on my MacBook with the Orthanc server hosted on EC2.

When I try to perform a C-Store operation from horos to Orthanc I get this error:
DICOM StoreSCU operation failed. DICOM Network Failure (STORE-SCU) Association Request Failed 0006:031b Failed to establish association 0006:0317 Peer aborted Association (or never connected) 0006:031c TCP Initialization Error: Operation now in progress (Timeout)

Is there some configuration that I am missing/using the wrong way on horos/orthanc?

Could someone provide some guidance and configuration on this one?

Regards

That gets to be pretty complicated, especially if you are trying to use TLS DICOM because I’m not sure that the HOROS implementation of that actually works well with Orthanc, if at all. It might depend upon your Mac OS version and HOROS version as well. If you are sending over the internet you should be using encryption of some type.

There are a lot of things that have to be setup correctly to allow communication. If you can, you might want to try it with anonymized studies initially with TLS turned off and check:

  1. Firewalls and ports.
  2. Use the CLI or the Connectivity tools in Orthanc Explorer to make sure that you can at least ECHO the EC2 instance.
  3. Verify that your security is setup sufficiently in both the orthanc.json and in the Cloud.

If that works, then maybe try setting up DICOM TLS.

I have not tried it recently, but if you have too much trouble getting TLS to work, you might also consider using an Orthanc router as an instance on both ends. i.e. Send from Horos to a local instance or Orthanc, and then send from that Orthanc using either Peering or DCM to send to an Orthanc router / instance to where the EC2 instance is. There are some advantages to using Peering between Orthanc instances vs. trying to setup all of the DICOM connections.

https://book.orthanc-server.com/users/rest.html#peering

https://book.orthanc-server.com/faq/dicom-tls.html

Stephen D. Scotti, M.D.

Hi Stephen, thanks for the response.

My Orthanc is running such that the IP is dynamic and so Horos fails to connect to Orthanc. I have been using the domain instead of the IP in the routing rules for port 4242.

I am new to Orthanc so please help me sort this out, If you were to set up Orthanc from scratch, along with Horos and dynamic IP, what configuration would you use?

Please any help is appreciated!!

Regards, Yash