[ https://issues.apache.org/jira/browse/NIFI-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-6266: ----------------------------------- Affects Version/s: 1.11.4 1.15.2 > FTP processors do not honor Proxy settings > ------------------------------------------- > > Key: NIFI-6266 > URL: https://issues.apache.org/jira/browse/NIFI-6266 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 1.9.2, 1.11.4, 1.15.2 > Reporter: Steven Arnott > Assignee: David Handermann > Priority: Major > Attachments: image-2019-05-06-10-34-04-951.png > > > Trying to use GetFTP to download a file via our company proxy. But the > processor does not seem to honor the proxy settings in any way. > The GetFTP issues a connection timeout error: > {code:java} > 2019-05-06 10:32:17,065 ERROR [Timer-Driven Process Thread-10] > o.apache.nifi.processors.standard.GetFTP > GetFTP[id=7f520fd2-016a-1000-5012-ae01d3493bfa] Unable to fetch listing from > remote server due to java.net.ConnectException: Connection timed out > (Connection timed out): java.net.ConnectException: Connection timed out > (Connection timed out) > java.net.ConnectException: Connection timed out (Connection timed out) > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) > at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > at java.net.Socket.connect(Socket.java:589) > at org.apache.commons.net.SocketClient._connect(SocketClient.java:243) > at org.apache.commons.net.SocketClient.connect(SocketClient.java:181) > at > org.apache.nifi.processors.standard.util.FTPTransfer.getClient(FTPTransfer.java:585) > at > org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:228) > at > org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:191) > at > org.apache.nifi.processors.standard.GetFileTransfer.fetchListing(GetFileTransfer.java:284) > at > org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:127) > at > org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) > at > org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1162) > at > org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:209) > at > org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117) > at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > {code} > The process is configured thus to hit a netcat process to see if any > connection is made > !image-2019-05-06-10-34-04-951.png! > When I change the target of the FTP to this debug endpoint it does shows it > connecting to my listener for the FTP server but not to the proxy. > Running 1.9.2 in a Docker container. > -- This message was sent by Atlassian Jira (v8.20.1#820001)