You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kknd2015 <su...@gmail.com> on 2014/10/09 12:09:48 UTC
File operation failed: Broken pipe. Code: 215
hi,
My route met this problem in one machine, but for the same target server, it
can work well on the other machines.
I can use ftp command to connect the target serer in this machine.
it's my route.
03 Oct 2014 08:57:45,898 WARN [CMS] [Camel (camel-1) thread #5 -
ftp://username@1xx.198.225.111:21//Folder] Logger.warn() - Consumer
FtpConsumer[ftp://rogerscomm@1xx.198.225.111:21//Folder?binary=true&consumer.delay=28860000&delete=false&disconnect=true&fileName=%28Programs%7CSeries%7CSource%7CChannel_Lineups%7CSchedule%29_20141001.zip&initialDelay=10000&localWorkDirectory=tmp%2Fftptmpforprovider&maximumReconnectAttempts=0&noop=false&password=******&recursive=true&separator=UNIX&throwExceptionOnConnectFailed=true]
failed polling endpoint:
Endpoint[tp://username@1xx.198.225.111:21//Folder?binary=true&consumer.delay=28860000&delete=false&disconnect=true&fileName=%28Programs%7CSeries%7CSource%7CChannel_Lineups%7CSchedule%29_20141001.zip&initialDelay=10000&localWorkDirectory=tmp%2Fftptmpforprovider&maximumReconnectAttempts=0&noop=false&password=******&recursive=true&separator=UNIX&throwExceptionOnConnectFailed=true].
Will try again at next poll. Caused by:
[org.apache.camel.component.file.GenericFileOperationFailedException - File
operation failed: Broken pipe. Code: 215]
org.apache.camel.component.file.GenericFileOperationFailedException: File
operation failed: Broken pipe. Code: 215
at
org.apache.camel.component.file.remote.FtpOperations.getCurrentDirectory(FtpOperations.java:643)
at
org.apache.camel.component.file.remote.FtpConsumer.pollDirectory(FtpConsumer.java:45)
at
org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:107)
at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:142)
at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:92)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:
any suggestion, I guess it might the problem of network setting.
--
View this message in context: http://camel.465427.n5.nabble.com/File-operation-failed-Broken-pipe-Code-215-tp5757446.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: File operation failed: Broken pipe. Code: 215
Posted by Willem Jiang <wi...@gmail.com>.
Can you check the firewall setting of the box which cannot start the ftp connection?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On October 10, 2014 at 1:59:38 PM, kknd2015 (supertoy@gmail.com) wrote:
> hi,
> My route met this problem in one machine, but for the same target server, it
> can work well on the other machines.
> I can use ftp command to connect the target serer in this machine.
>
> it's my route.
>
> 03 Oct 2014 08:57:45,898 WARN [CMS] [Camel (camel-1) thread #5 -
> ftp://username@1xx.198.225.111:21//Folder] Logger.warn() - Consumer
> FtpConsumer[ftp://rogerscomm@1xx.198.225.111:21//Folder?binary=true&consumer.delay=28860000&delete=false&disconnect=true&fileName=%28Programs%7CSeries%7CSource%7CChannel_Lineups%7CSchedule%29_20141001.zip&initialDelay=10000&localWorkDirectory=tmp%2Fftptmpforprovider&maximumReconnectAttempts=0&noop=false&password=******&recursive=true&separator=UNIX&throwExceptionOnConnectFailed=true]
> failed polling endpoint:
> Endpoint[tp://username@1xx.198.225.111:21//Folder?binary=true&consumer.delay=28860000&delete=false&disconnect=true&fileName=%28Programs%7CSeries%7CSource%7CChannel_Lineups%7CSchedule%29_20141001.zip&initialDelay=10000&localWorkDirectory=tmp%2Fftptmpforprovider&maximumReconnectAttempts=0&noop=false&password=******&recursive=true&separator=UNIX&throwExceptionOnConnectFailed=true].
> Will try again at next poll. Caused by:
> [org.apache.camel.component.file.GenericFileOperationFailedException - File
> operation failed: Broken pipe. Code: 215]
> org.apache.camel.component.file.GenericFileOperationFailedException: File
> operation failed: Broken pipe. Code: 215
> at
> org.apache.camel.component.file.remote.FtpOperations.getCurrentDirectory(FtpOperations.java:643)
> at
> org.apache.camel.component.file.remote.FtpConsumer.pollDirectory(FtpConsumer.java:45)
> at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:107)
> at
> org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:142)
> at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:92)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:
>
> any suggestion, I guess it might the problem of network setting.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/File-operation-failed-Broken-pipe-Code-215-tp5757446.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>