Announcement

Collapse
No announcement yet.

SFTP file reader pipe closed error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SFTP file reader pipe closed error

    Hi All,

    I have setup a mirth channel which has source connector type "File Reader". It reads a csv file from a sftp folder. More often i am facing an issue with mirth processing the files from sftp. I get the error given below and the file was moved to error directory after the error. Does this error have anything to do with file age settings? Any help will be appreciated. Thanks.

    [2019-02-25 08:12:50,072] ERROR (com.mirth.connect.connectors.file.FileReceiver:43 1): Unable to dispatch message to channel 4794de2d-45ed-46ea-9999-23f0e786527e. File: /XXX/prod/ELB//workitem8.csv
    java.io.IOException: Pipe closed
    at java.io.PipedInputStream.read(PipedInputStream.jav a:307)
    at java.io.PipedInputStream.read(PipedInputStream.jav a:377)
    at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java: 2909)
    at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.jav a:2935)
    at com.jcraft.jsch.ChannelSftp.access$500(ChannelSftp .java:36)
    at com.jcraft.jsch.ChannelSftp$RequestQueue.cancel(Ch annelSftp.java:1262)
    at com.jcraft.jsch.ChannelSftp$2.close(ChannelSftp.ja va:1530)
    at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.j ava:378)
    at sun.nio.cs.StreamDecoder.close(StreamDecoder.java: 193)
    at java.io.InputStreamReader.close(InputStreamReader. java:199)
    at com.mirth.connect.connectors.file.FileReceiver.pro cessFile(FileReceiver.java:401)
    at com.mirth.connect.connectors.file.FileReceiver.pro cessFiles(FileReceiver.java:328)
    at com.mirth.connect.connectors.file.FileReceiver.pol l(FileReceiver.java:239)
    at com.mirth.connect.donkey.server.channel.PollConnec torJob.execute(PollConnectorJob.java:49)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:2 13)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run (SimpleThreadPool.java:557)

    Regards,
    Jackson V

  • #2
    This issue resolved after changing file age setting to 2 minutes

    Comment

    Working...
    X