Getting Error Error in the network protocol When I Sending Case-1 DICOM file

Hello

I am using OSIMIS Orthanc server.

My Orthanc.json file at my local machine is:

{
        "Name": "Orthanc",
        "StorageDirectory": "/var/lib/orthanc/db",
        "Plugins": [
                "/usr/share/orthanc/plugins",
                "/usr/local/share/orthanc/plugins" // ModalityWorklists and ServeFolders plugins are in this folder !
        ],
        "DicomAet": "ORTHANC",
        "DicomModalities": {
                "bar": ["BAR", "bar", 104]
        },
        "OrthancPeers" : {
            "peer2" : [ "http://xxx.xxx.xx.xx:8042" ]
          },
        "HttpTimeout" : 60,
        "RemoteAccessAllowed": true,
        "PostgreSQL": {
                "EnableIndex": true,
                "EnableStorage": false,
                "Host": "orthanc-index",
                "Database": "postgres",
                "Username": "postgres"
        }
}

When i am sending studies from local to live orthanc server some files are sending and some files are not sending.

During sending CASE-1(size about 566MBs) I am getting following error at terminal:

orthanc_1 | E1207 11:54:29.968444 StorePeerCommand.cpp:70] Unable to send resource e0551a96-ccf93766-a2d57ddf-361c8462-46b8b196 to peer "http://xxx.xxx.xx.xx:8042/"

orthanc_1 | E1207 11:54:29.968546 StorePeerCommand.cpp:79] Unable to forward to an Orthanc peer in a Lua script (instance e0551a96-ccf93766-a2d57ddf-361c8462-46b8b196, peer http://xxx.xxx.xx.xx:8042/): Error in the network protocol

orthanc_1 | E1207 11:54:29.986653 ServerScheduler.cpp:122] Job has failed (HTTP request: POST to peer "peer2")

How to fixe this issue?