Hello,

we defined a context parameter with type 'sensitive value'.
If we refer to this parameter in the ListFTP process group, we get the 
following error after the processor has started its work:

2019-11-28 08:38:55,725 ERROR [Timer-Driven Process Thread-3] 
o.a.nifi.processors.standard.ListFTP 
ListFTP[id=b3cd3ce8-fb5e-1726-e0d5-c3f6ff7ec0bf] Failed to perform listing on 
remote host due to Could not login for user 'user_xy': java.io.IOException: 
Could not login for user 'user_xy'
java.io.IOException: Could not login for user 'user_xy'
        at 
org.apache.nifi.processors.standard.util.FTPTransfer.getClient(FTPTransfer.java:601)
        at 
org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:229)
        at 
org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:192)
        at 
org.apache.nifi.processors.standard.ListFileTransfer.performListing(ListFileTransfer.java:106)
        at 
org.apache.nifi.processor.util.list.AbstractListProcessor.listByTrackingTimestamps(AbstractListProcessor.java:472)
        at 
org.apache.nifi.processor.util.list.AbstractListProcessor.onTrigger(AbstractListProcessor.java:414)
        at 
org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
        at 
org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1176)
        at 
org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:213)
        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)
        at java.lang.Thread.run(Thread.java:748)


The ftp server shows the following entry:
Nov 28 08:38:55 ftpp01-v pure-ftpd: ([email protected]) [WARNING] Authentication 
failed for user [user_xy]

When I enter the password in the password field instead of using the parameter, 
there occurs no error.

Regards
Christoph

Reply via email to