web stats
SFTP file reader pipe closed error - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2019, 03:17 AM
Jacksonv Jacksonv is offline
What's HL7?
 
Join Date: Jan 2019
Location: Chennai,India
Posts: 5
Jacksonv is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 02-28-2019, 11:12 PM
Jacksonv Jacksonv is offline
What's HL7?
 
Join Date: Jan 2019
Location: Chennai,India
Posts: 5
Jacksonv is on a distinguished road
Default

This issue resolved after changing file age setting to 2 minutes
Reply With Quote
Reply

Tags
file reader, pipe closed, sftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:30 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation