Peer can't sent images

Hello Sebastien,

Congratulation and thank you for the recent releases.

We have problem with peer upload. we get the error below. I am suspicious with dicom files itself but peer Orthanc 0.9.2 gets the files and preview them but when we try to sent to master Orthanc 0.9.2.

Where we can check what is happening? Or would you like to get the dicom files.

E0820 11:58:34.356485 6452 StorePeerCommand.cpp:88] Unable to forward to an Orthanc peer in a Lua script (instance 319000d9-a205626b-6d13907a-90c9b2ec-598cdc88, peer http://imagerad.com:8042/): libCURL error: Timeout was reached
E0820 11:58:34.356485 6452 ServerScheduler.cpp:122] Job has failed (HTTP request: POST to peer “IDC”)

Thanks for your help in advance. (or anyone who has similar problem)

Best Regards,

Haluk Celikel

Hi,

Such timeouts over HTTP connections look like the effect of a firewall.

You must first check whether the computer that runs the “client peer” can connect to the “master peer”. Log into the client computer, and play with curl (resp. Firefox) to ensure you can interact with Orthanc (resp. Orthanc Explorer).

If this does not help, please provide a sample problematic DICOM file.

Regards,
Sébastien-

Hello,

I have made tests with the problematic DICOM image you sent me by private mail.

I confirm that everything works properly on my side. You have to thoroughly check your network topology, I cannot provide any help.

I suggest you to try and send the DICOM image to the REST API of the “master peer”, using the command-line tool “curl” running in verbose mode (“-v” flag) on the “client peer”:
https://code.google.com/p/orthanc/wiki/StoringInstances#Through_the_REST_API

HTH,
Sébastien-

we tasted bit more. same image can be sent within LAN however when we try to sent the same image over WAN (that works for other images) it gives the same error. Image itself good and can be displayed by Orthanc but somehow can’t be sent over internet by peer.

21 Ağustos 2015 Cuma 09:21:57 UTC+3 tarihinde Sébastien Jodogne yazdı:

Definitely looks like a problem with your outbound (WAN) firewall or router.

It presumably blocks large-sized HTTP POST requests. I indeed suspect that the files that are correctly sent are smaller than the 7.2MB DICOM file you sent me.

You should definitely ask the team that manages your computer network, and tell us the outcome of this discussion.

Hi Sebastien,

Thanks for your support Sebastien. We have working peer with many different images but this large size CR and some other small size U\S images from the same centre can’t sent these images. I am sending privetly the master peer connection details that we may test the client if you like.

Best Regards,

Haluk Celikel

21 Ağustos 2015 Cuma 10:39:05 UTC+3 tarihinde Sébastien Jodogne yazdı:

For those interested: I was able to successfully transmit Haluk’s DICOM file from my personal computer to the cloud instance of Orthanc.

So, the problem is definitely not on Orthanc’s side. It is most probably due to the parameters of the WAN router/firewall.

I have just added the option “HttpTimeout” in the configuration file of Orthanc, as your problem most probably indicates a HTTP timeout (that is set by default to 10 seconds), as it depends on the size of the DICOM file:
https://bitbucket.org/sjodogne/orthanc/commits/ba0226474e2265acaddf485a84170fe1d4ccb25f

Please would you kindly give another try, e.g. by setting this option to a large number (such as 1000 seconds)?

HTH,
Sébastien-

Note to further readers of this thread: The new option “HttpTimeout” indeed solves the issue reported by Haluk Celikel.

Hii ,

Just need a quick advise re Orthanc peer . Have successfully set up 2 orthanc peers but can only transfer study in one direction ( ip ending 214 to 125 but not vice versa. All firewall down. logs as below

W0407 21:56:55.975753 MongooseServer.cpp:950] HTTP keep alive is disabled

W0407 21:56:55.975753 MongooseServer.cpp:976] HTTP compression is enabled

W0407 21:56:55.978753 main.cpp:707] HTTP server listening on port: 8042

W0407 21:56:55.978753 main.cpp:630] Orthanc has started

E0407 21:57:13.190474 StorePeerCommand.cpp:79] Unable to send resource 0bd7f857-9ce14089-238f33b2-5ae362a4-053ce6f0 to peer “http://10.18.11.214:8042/

E0407 21:57:13.190474 StorePeerCommand.cpp:88] Unable to forward to an Orthanc peer in a Lua script (instance 0bd7f857-9ce14089-238f33b2-5ae362a4-053ce6f0, peer http://10.18.11.214:8042/): Error in the network protocol

E0407 21:57:13.194475 ServerScheduler.cpp:122] Job has failed (HTTP request: POST to peer “OnnOrthanc”)

W0408 11:01:52.438649 OrthancMoveRequestHandler.cpp:171] Move-SCU request received for AET “RADIANT”

W0408 11:23:27.180554 EmbeddedResourceHttpHandler.cpp:91] Unable to find HTTP resource: /

W0408 11:23:33.050728 EmbeddedResourceHttpHandler.cpp:91] Unable to find HTTP resource: /

E0408 12:39:52.351235 StorePeerCommand.cpp:79] Unable to send resource 0bd7f857-9ce14089-238f33b2-5ae362a4-053ce6f0 to peer “http://10.18.11.214:8042/

E0408 12:39:52.351235 StorePeerCommand.cpp:88] Unable to forward to an Orthanc peer in a Lua script (instance 0bd7f857-9ce14089-238f33b2-5ae362a4-053ce6f0, peer http://10.18.11.214:8042/): Error in the network protocol

E0408 12:39:52.354236 ServerScheduler.cpp:122] Job has failed (HTTP request: POST to peer “OnnOrthanc”)

E0408 12:42:42.414694 HttpClient.cpp:111] libCURL error: Failure when receiving data from the peer

E0408 12:42:42.414694 StorePeerCommand.cpp:88] Unable to forward to an Orthanc peer in a Lua script (instance 0bd7f857-9ce14089-238f33b2-5ae362a4-053ce6f0, peer http://10.18.11.214:8042/): Error in the network protocol

E0408 12:42:42.416695 ServerScheduler.cpp:122] Job has failed (HTTP request: POST to peer “OnnOrthanc”)

Can someone assist ? thank you

Configuration.json (10.1 KB)

Please post the configuration of both peers, together with their full logs in “–verbose” mode.

Regards,
Sébastien-

Hii Sebastien,

apologies , problem solved , mistake in json file ( did not include the username and password)

by the way, i have showed Orthanc around to a quite a few DICOM vendors in Malaysia , they have been consistently impressed.

have a great difficulties in finding someone who knows c++ and python here though.\

Thank you for your prompt responses .

Onn