Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
When I run my job with Talend management console, here is my problem :
the job does the job, but I always get this error :
tFTPGet_1 FTP response 421 received. Server closed connection.
org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:388)
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:523)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:648)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:622)
at org.apache.commons.net.ftp.FTP.quit(FTP.java:904)
at org.apache.commons.net.ftp.FTPClient.logout(FTPClient.java:1148)
at tosreposnow.log_in_shop_0_1.Log_in_shop.tFTPGet_1Process(Log_in_shop.java:3130)
at tosreposnow.log_in_shop_0_1.Log_in_shop.runJobInTOS(Log_in_shop.java:3863)
at tosreposnow.log_in_shop_0_1.Log_in_shop.main(Log_in_shop.java:3624)
Thank your
Hello,
Please check below whether resolve the issue:
Maybe you're not reusing a connection but using a new connection for every request, flooding the server with connections until it hits the connection limit. Try closing your connections or reusing them.
https://stackoverflow.com/questions/24799518/ftp-response-421-received-server-closed-connection
https://knowledge.informatica.com/s/article/597734?language=en_US