sftp problem – Failed sending data to the peer

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf sftp problem – Failed sending data to the peer

  • Creator
    Topic
  • #54558
    John Bonnie
    Participant

    I’m getting an error on an outbound thread when I try to send a file using sftp. From the process log below it appears to connect to the external system but it wont write the file. Any ideas as to why this is happening?

    * Connected to emft.relayhealth.com (206.227.220.9) port 22 (#0)

    * SSH authentication methods available: publickey,password

    * Using ssh public key file /home/hci/.ssh/id_dsa.pub

    * Using ssh private key file /home/hci/.ssh/id_dsa

    * SSH public key authentication failed: Unable to initialize private key from file

    * Initialized password authentication

    * Authentication complete

    * Closing connection #0

    * Failed sending data to the peer

    [fset:wrte:ERR /0: rh_b340b_o_i:01/30/2015 09:24:43] Error while trying to write 01419765150130092411.txt.

    Detailed error:Failed sending data to the peer

    Curl errCode:55 Curl error: Failed sending data to the peer

    [pd :pdtd:INFO/1: rh_b340b_o_i:01/30/2015 09:24:43] Set driver status to PD_STATUS_OPENING

    [pd :pdtd:INFO/1: rh_b340b_o_i:01/30/2015 09:24:45] Set driver status to PD_STATUS_ERROR

    [pd :pdtd:INFO/1: rh_b340b_o_i:01/30/2015 09:24:45] [0.0.20741089] Writing message failed

    [msg :Msg :DBUG/0: rh_b340b_o_i:01/30/2015 09:24:45] msgFree 0x0xf46c1d28 refCnt 1

    [diag:leak:DBUG/0: rh_b340b_o_i:01/30/2015 09:24:45] diag ev alloc 0x0xed166eb0

Viewing 0 reply threads
  • Author
    Replies
    • #81963
      Jeff Drumm
      Participant

      Hi John, long time 🙂

      Have you verified that you can actually establish an sftp connection to the site via the command-line sftp utility? The public/private key authentication has failed, and although it looks like password authentication has succeeded, I’m not sure you actually have access.

      Try:

      /home/hci $ sftp @emft.relayhealth.com

      Replace with the username supplied by RelayHealth.

      If public/private key authentication still fails (it likely will), enter the password when prompted. If you get the sftp> prompt, you’ve authenticated successfully.

      Next, try transferring a file:

      sftp> put

      If that fails, I’d assume it’s a permissions problem on the RelayHealth side, or that you’re not in the right directory for file transfer. You may need to have RH set the home directory for that account to the proper directory or issue a ‘cd’ command to change to it.

      If it succeeds, though, we’ll need to do some tcl debugging in the transfer script.

      Hope this gives you something to go on.

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10