0

I need to consume file from ftps via camel(ServiceMix), so I launched local FTPS server with FileZilla. Connection with this server via FileZilla Client works great, but using camel in karaf logs I get IOException(shortcut StackTrace below). Camel Version 2.16.4

My in xml DSL(blueprint) code:

<from uri="ftps://127.0.0.1:990/newFold/?username=test&amp;password=12345&amp;binary=true&amp;download=true&amp;passiveMode=true"/>

In FileZilla logs: (000396)07.05.2018 16:27:00 - (not logged in) (127.0.0.1)> Connected on port 990, sending welcome message...

And then connection timeout

StackTrace:

2018-05-07 16:13:50,357 | WARN | mix-6.1.3/deploy | FtpConsumer | 151 - org.apache.camel.camel-core - 2.16.4 | Error auto creating directory: newFold/ due File operation failed: Timed out waiting for initial connect reply. Code: 0. This exception is ignored. org.apache.camel.component.file.GenericFileOperationFailedException: File operation failed: Timed out waiting for initial connect reply. Code: 0

Caused by: java.io.IOException: Timed out waiting for initial connect reply

Caused by: java.net.SocketTimeoutException: Read timed out

ArAk
  • 1
  • 2
  • Have you consider updating camel version? according to official website Camel versions 2.18.x and older are no longer actively developed. – Rcordoval May 07 '18 at 11:37
  • @Rcordoval My whole company uses version 2.16.4, this is not in my power :) – ArAk May 07 '18 at 11:42
  • Can you check whether an SSL handshake error occurred on adding [`-Djavax.net.debug=all`](https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html) as system argument to your application invocation? Maybe the connection is refused due to some insecure ciphers being used. You can also enable Camel's TRACE log to gain more insight what was causing the issue inside the FTPConsumer – Roman Vottner May 07 '18 at 12:24
  • May you try this please? – Rcordoval May 07 '18 at 13:09
  • @Rcordoval Sorry, for late answer, with this options bundle works same, initial connection to ftps timed out. – ArAk May 08 '18 at 07:21

0 Answers0