Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
86 views
asked in Java FTP by (120 points)

Hi,

Our customer has experienced the following exception when they try to upload a file into their AWS FTP Server.

DEBUG 25.06.18 10:40:15,547 [IS-inubitDemo--MThread-13] FTPClient                 Transferred 0 bytes to remote host
DEBUG 25.06.18 10:40:15,547 [IS-inubitDemo--MThread-13] FTPConnector              Message from server. Code:550 Message:I/O Error: java.net.SocketTimeoutException: Accept timed out
DEBUG 25.06.18 10:40:15,547 [IS-inubitDemo--MThread-13] FTPConnector              DEBUG
com.enterprisedt.net.ftp.FTPException: 550 I/O Error: java.net.SocketTimeoutException: Accept timed out
	at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1289)
	at com.enterprisedt.net.ftp.FTPClient.initPut(FTPClient.java:2851)
	at com.enterprisedt.net.ftp.FTPClient.b(FTPClient.java:2916)
	at com.enterprisedt.net.ftp.FTPClient.a(FTPClient.java:2623)
	at com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2497)
	at com.inubit.ibis.plugins.ftp.FTPConnector.execute(FTPConnector.java:677)
	at com.inubit.ibis.server.IBISPluginExecutorThread.execute(IBISPluginExecutorThread.java:221)
	at com.inubit.ibis.server.IBISPluginExecutorThread.run(IBISPluginExecutorThread.java:150)

FTP Connector configuration : 
* Passive ftp on port 21
* FTP server: Cleo VLProxy/3.6.1.7
Following logs are from wireshark: 

1094	28.042079	192.168.97.49	52.31.115.72	TCP	66	49814 → 21 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1
1095	28.068501	52.31.115.72	192.168.97.49	TCP	66	21 → 49814 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 WS=256 SACK_PERM=1
1096	28.068683	192.168.97.49	52.31.115.72	TCP	54	49814 → 21 [ACK] Seq=1 Ack=1 Win=65536 Len=0
1097	28.094978	52.31.115.72	192.168.97.49	FTP	98	Response: 220 Cleo VLProxy/3.6.1.7 FTP server ready.
...
1390	36.776274	192.168.97.49	52.31.115.72	FTP	65	Request: STOR TEST
1391	36.776992	192.168.97.49	52.31.115.72	TCP	66	49815 → 20459 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1
1392	36.853434	52.31.115.72	192.168.97.49	TCP	60	21 → 49814 [ACK] Seq=355 Ack=82 Win=262656 Len=0
1524	39.782392	192.168.97.49	52.31.115.72	TCP	66	[TCP Retransmission] 49815 → 20459 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1
1780	45.793380	192.168.97.49	52.31.115.72	TCP	66	[TCP Retransmission] 49815 → 20459 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1
6761	185.268617	52.31.115.72	192.168.97.49	FTP	120	Response: 550 I/O Error: java.net.SocketTimeoutException: Accept timed out
6762	185.268771	52.31.115.72	192.168.97.49	TCP	60	21 → 49814 [FIN, ACK] Seq=421 Ack=82 Win=262656 Len=0
6763	185.268865	192.168.97.49	52.31.115.72	TCP	54	49814 → 21 [ACK] Seq=82 Ack=422 Win=65280 Len=0
6764	185.269689	192.168.97.49	52.31.115.72	FTP	60	Request: QUIT
6765	185.270678	192.168.97.49	52.31.115.72	TCP	54	49814 → 21 [FIN, ACK] Seq=88 Ack=422 Win=65280 Len=0
6769	185.295723	52.31.115.72	192.168.97.49	TCP	60	21 → 49814 [RST, ACK] Seq=422 Ack=88 Win=0 Len=0
6770	185.296667	52.31.115.72	192.168.97.49	TCP	60	21 → 49814 [RST] Seq=422 Win=0 Len=0

1 Answer

0 votes
answered by (152k points)
Timeouts on data transfers or directory listings are usually a firewall problem.
commented by (120 points)
Yes, We also suspected that this could be a firewall issue, but the same is working fine with Filezilla and WinScp tools.  Will the firewall allow the request from those tools?

Thanks,
Suresh
commented by (152k points)
It depends on your firewall. If you are unable to resolve this issue, please open a support ticket at the URL below and provide your license details.
https://enterprisedt.atlassian.net/servicedesk/customer/portal/1

Categories

...