Support Questions

Find answers, ask questions, and share your expertise

Nifi: Failed to retrieve directory listing when connecting to FTP server

avatar
Explorer

Hello !

I have a ListenFTP processor opened on a port and when i am trying to connect to it via FileZila i have an error "Failed to retrieve directory listing". 
The connection seems to be establish first but then this error occurs.

image (17).png

 Nifi is hosted on an ubuntu server running in a docker image

image (16).png

 ListenFTP processor is opened on port 2221 

azg_0-1651060476235.png

I tried to change some configuration in FileZila but nothing worked. 

The connection works well on localhost. 

Somone has already encoutered that kind of issue ?

2 REPLIES 2

avatar

Hi @azg ,

 

Do you know what version of NiFi is included in the docker image you're running?

And when you say "the connection works well on localhost", can you expand on what exactly you did to confirm that the connection "works"?

 

 

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Explorer

The latest version of Nifi is running (1.16.0)
When I say the connection works fine in localhost, I mean that my Nfii service is launched via docker-compose on my computer. When I access Nifi via https://localhost:8443/nifi/ and use a ListenFTP processor on port 2221, the connection via FileZila works. i can transfer files and treat them in Nifi.
Localhost :

azg_0-1651224052132.png

FileZila connection : 

azg_1-1651224083665.png