[ 
https://issues.apache.org/jira/browse/NIFI-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444748#comment-17444748
 ] 

Wiktor Kubicki commented on NIFI-9324:
--------------------------------------

I tried it on localhost at 1.15.0 and suprisely i've got error too:


{code:java}
2021-11-16 20:15:01,470 INFO [NiFi Web Server-119175] 
org.apache.nifi.controller.scheduling.StandardProcessScheduler Running once 
ListSFTP[id=c0df183e-1059-1175-550b-5e974eb68b88]
2021-11-16 20:15:01,470 INFO [NiFi Web Server-119175] 
org.apache.nifi.controller.StandardProcessorNode Starting 
ListSFTP[id=c0df183e-1059-1175-550b-5e974eb68b88]
2021-11-16 20:15:01,471 WARN [NiFi Web Server-119175] 
org.apache.nifi.audit.ProcessorAuditor Unable to record actions: null
2021-11-16 20:15:01,912 ERROR [Timer-Driven Process Thread-47] 
net.schmizz.concurrent.Promise <<chan#0 / chanreq for subsystem>> woke to: 
net.schmizz.sshj.connection.ConnectionException: Request failed
2021-11-16 20:15:01,916 ERROR [Timer-Driven Process Thread-47] 
org.apache.nifi.processors.standard.ListSFTP 
ListSFTP[id=c0df183e-1059-1175-550b-5e974eb68b88] Failed to perform listing on 
remote host due to Request failed: 
net.schmizz.sshj.connection.ConnectionException: Request failed
net.schmizz.sshj.connection.ConnectionException: Request failed
        at 
net.schmizz.sshj.connection.channel.AbstractChannel.gotResponse(AbstractChannel.java:405)
        at 
net.schmizz.sshj.connection.channel.AbstractChannel.handle(AbstractChannel.java:192)
        at 
net.schmizz.sshj.connection.ConnectionImpl.handle(ConnectionImpl.java:130)
        at 
net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:472)
        at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:113)
        at net.schmizz.sshj.transport.Decoder.received(Decoder.java:200)
        at net.schmizz.sshj.transport.Reader.run(Reader.java:60)
2021-11-16 20:15:01,917 INFO [Timer-Driven Process Thread-47] 
org.apache.nifi.controller.scheduling.StandardProcessScheduler Stopping 
ListSFTP[id=c0df183e-1059-1175-550b-5e974eb68b88]
2021-11-16 20:15:01,917 INFO [Timer-Driven Process Thread-47] 
org.apache.nifi.controller.StandardProcessorNode Stopping processor: 
ListSFTP[id=c0df183e-1059-1175-550b-5e974eb68b88]
{code}


> SFTP handling of Server Banners
> -------------------------------
>
>                 Key: NIFI-9324
>                 URL: https://issues.apache.org/jira/browse/NIFI-9324
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.14.0
>         Environment: Redhat Linux 
> Nifi 1.14.0
>            Reporter: Alan Rigele
>            Priority: Major
>              Labels: fetchsftp, listsftp, nifi
>
> WHen attempting to connect to an SFTP server to list and then fetch files, 
> the processor will fail with a socker timeout. The server is avilable from 
> the nifi server, and the user/pwd has been tested. The one difference to 
> another srver is that the failign one has a server banner which returns 
> This is the reponse from the shell test. 
> $ sftp [[email protected]|mailto:[email protected]]
> *You are trying to access a restricted zone. Only Authorized Users allowed.*
> [[email protected]'s|mailto:[email protected]'s] password:
> Connected to yy.yy.yy.yy
>  
> I dont see any possible parameter to configure. And scanning the code does 
> not show too much. 
> Any ideas
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to