{"id":345,"date":"2020-11-22T12:48:17","date_gmt":"2020-11-22T12:48:17","guid":{"rendered":"https:\/\/lookouthost.com\/?p=345"},"modified":"2024-12-16T10:43:48","modified_gmt":"2024-12-16T05:13:48","slug":"filezilla-ftp-error-connection-timed-out-after-20-seconds-of-inactivity","status":"publish","type":"post","link":"https:\/\/lookouthost.com\/blog\/filezilla-ftp-error-connection-timed-out-after-20-seconds-of-inactivity\/","title":{"rendered":"FileZilla FTP Error: Connection timed out after 20 seconds of inactivity"},"content":{"rendered":"<p>FileZilla can give your connection timed out error as new version of FileZill forces TLS encryption over plain FTP connections. This is applicable even on the new sites created under Site Manager or any site configured previously. This can lead to an issue of Connection timed out after 20 second of inactivity due to security purpose. <\/p><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Response: 421 Timeout &#8211; try typing a little faster next time<br>Error: GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.<br>Status: Server did not properly shut down TLS connection<br>Error: Could not read from socket: ECONNABORTED &#8211; Connection aborted<br>Error: Disconnected from server<\/p><\/blockquote><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"549\" src=\"https:\/\/lookouthost.com\/wp-content\/uploads\/2020\/11\/image-1024x549.png\" alt=\"\" class=\"wp-image-350\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1024x549.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-600x322.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-300x161.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-768x412.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image.png 1360w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>This issue can be resolved by resetting accounts to use plain, unencrypted FTP connections. <\/p><p>Just follow these easy steps to configure FileZilla&#8217;s ftp connection settings:<\/p><ol class=\"wp-block-list\"><li>Start FileZilla.<\/li>\n\n<li>On the File menu, click Site Manager.<\/li>\n\n<li>Under Select Entry, click the site.<\/li>\n\n<li>On the General tab, in the Encryption list box, select Only use plain FTP (insecure).<\/li>\n\n<li>Click OK.<\/li><\/ol><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/lookouthost.com\/wp-content\/uploads\/2020\/11\/filezilla-connection-setting-1024x547.png\" alt=\"filezilla connection setting\" class=\"wp-image-347\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/filezilla-connection-setting-1024x547.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/filezilla-connection-setting-600x320.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/filezilla-connection-setting-300x160.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/filezilla-connection-setting-768x410.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/filezilla-connection-setting.png 1364w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>Still Not Working?<\/strong><\/p><p>If this still does not works then modify the connection mode. <\/p><ol id=\"block-c89e0428-ceaa-47fe-9cb1-5aba929e0a54\" class=\"wp-block-list\"><li>Start FileZilla.<\/li>\n\n<li>On the Edit menu, click Settings.<\/li>\n\n<li>Select \u201c<strong>FTP<\/strong>\u201d and then select Transfer Mode \u201c<strong>Active mode or Passive mode<\/strong>\u201d.<\/li><\/ol><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/lookouthost.com\/wp-content\/uploads\/2021\/04\/image-1024x547.png\" alt=\"\" class=\"wp-image-451\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-1024x547.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-600x320.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-300x160.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-768x410.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image.png 1360w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><h2 class=\"wp-block-heading\"><strong>FileZilla FTP Settings<\/strong><\/h2><p>Check Filezilla FTP connection. Change the timeout in seconds from 20 to 0 if you get <strong><em>connection timed out after 20 seconds of inactivity<\/em><\/strong> error.<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"811\" src=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-1024x811.png\" alt=\"FPT connection time out after 20 sec.\" class=\"wp-image-1491\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-1024x811.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-300x238.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-768x609.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-600x475.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2020\/11\/image-1.png 1180w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><h2 class=\"wp-block-heading\"><strong>Connection Time Out Resolution at server level (CPanel)<\/strong><\/h2><p>At server level the admin can allow the client to connect directly without an unencrypted connection which will resolve the connection time out issue.<\/p><ol class=\"wp-block-list\"><li>Open WHM\/CPanel Admin panel.<\/li>\n\n<li>Click on <strong>Service configuration<\/strong> >>\u00a0<strong>FTP server configuration<\/strong>.<\/li>\n\n<li><strong>TLS encryption support<\/strong>\u00a0should be set to optoinal<\/li><\/ol><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/hoststud.com\/attachments\/ftp5-png.389\/\" alt=\"ftp5.png\"\/><\/figure><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/hoststud.com\/attachments\/ftp6-png.390\/\" alt=\"ftp6.png\"\/><\/figure><h3 class=\"wp-block-heading\"><strong>Resolution Step 2<\/strong><\/h3><p>If the above setting still gives time out issue this means the ports are not properly opened. In that case if CSF firewall is installed on CPanel then add the following port range as described by CPanel for Passive mode. <\/p><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The system enables passive ports\u00a0<code>49152<\/code>\u00a0through\u00a0<code>65534<\/code>\u00a0for Pure-FTPd servers and ProFTPd servers by default.<\/p><cite>https:\/\/documentation.cpanel.net\/display\/CKB\/How+to+Enable+FTP+Passive+Mode<\/cite><\/blockquote><p>Add the port range 49152:65534 in firewall as follow:<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/lookouthost.com\/wp-content\/uploads\/2021\/04\/image-1-1024x468.png\" alt=\"\" class=\"wp-image-454\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-1-1024x468.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-1-600x274.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-1-300x137.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-1-768x351.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2021\/04\/image-1.png 1359w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>You can enable the passive ports, in order for connection with TLS encryption. Pure-ftpd configuration files is located at <strong>\/etc\/pure-ftpd.conf<\/strong>&nbsp;which has <strong>PassivePortRange<\/strong>&nbsp;field commented out. This has the range of ports that needs to be opened for the FTP service with passive mode. Also add these port ranges in the firewall .<\/p><p>Code:<\/p><pre class=\"wp-block-code\"><code># Port Ranges for passive connection replies \u2013 Firewall\n# PassivePortRange  300000  50000<\/code><\/pre><h2 class=\"wp-block-heading\"><br>Pure FTP Config File in CyberPanel<\/h2><p>The FTP Config file in CyperPanel is located at following location:<\/p><p>Just use your favorite editor like nano or vim<\/p><p>nano \/etc\/pure-ftpd\/pure-ftpd.conf<\/p><h2 class=\"wp-block-heading\">FTP Connection Timout Error in DirectAdmin<\/h2><p>Edit the following file of Pure FTP to add ports<\/p><p>nano \/etc\/pure-ftpd.conf<\/p>","protected":false},"excerpt":{"rendered":"<p>FileZilla can give your connection timed out error as new version of FileZill forces TLS encryption over plain FTP connections. This is applicable even on the new sites created under Site Manager or any site configured previously. This can lead to an issue of Connection timed out after 20 second of inactivity due to security purpose. Response: 421 Timeout &#8211; try typing a little faster next timeError: GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.Status: Server did not properly shut down TLS connectionError: Could not read from socket: ECONNABORTED &#8211; Connection abortedError: Disconnected from server This issue&hellip; <\/p>\n","protected":false},"author":1,"featured_media":347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-loh"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":3,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":1496,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/345\/revisions\/1496"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media\/347"}],"wp:attachment":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/categories?post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/tags?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}