This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Error on closing remote connection by FTP server | ||
---|---|---|---|
Product: | php | Reporter: | mmolda |
Component: | FTP Support | Assignee: | Tomas Mysik <tmysik> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Warning screenshot
Remote Log - connection Remote Log: Remote synchronization NOOP failed IDE log NOOP failed full IDE log |
Well, since it is an error (the line is red), I don't think we can distinguish it from some other error... But I will try to look at it. Thanks. Please, paste here your full FTP remote log. Thanks. Created attachment 137863 [details]
Remote Log - connection
Remote Log output (creating remote project and downloading files(index.php) from FTP)
Created attachment 137864 [details]
Remote Log: Remote synchronization
Edited index.php and Uploaded On Save.
Weird, after ten NOOPs, there should be some "real" FTP operation. I will look at it. Thanks. Aha, the "real" operation is not logged in the Output window. Could you please start NB with [1], reproduce your problem and attach IDE log? Thanks. [1] -J-Dorg.netbeans.modules.php.project.connections.ftp.level=FINE Attaching IDE log. Created attachment 138876 [details]
NOOP failed IDE log
Please, always attach the full log. Thanks. Created attachment 139061 [details]
NOOP failed full IDE log
Sorry, here it is.
So, this is "problem" of your FTP server - it simply has some timeout for being idle (it seems to me that if you don't transfer any file during this time interval, server will disconnect you). Have a look e.g. here [1]. I will try to improve the current behaviour to avoid this (using LIST command instead of PWD, it apparently does not help, at least in your case). Thanks. [1] http://www.smartftp.com/support/kb/421-no-transfer-timeout-f45.html Could you please try it now? Thanks. http://hg.netbeans.org/web-main/rev/4b0c50d2a1f2 (In reply to Tomas Mysik from comment #11) > So, this is "problem" of your FTP server - it simply has some timeout for > being idle (it seems to me that if you don't transfer any file during this > time interval, server will disconnect you). Yes, that is what I wrote in bug description. I will test it, thanks :) For the next version of NetBeans, we could try to implement automatic reconnect if keep-alive fails. Please, submit it as a new enhancement. Thanks. > I will try to improve the current behaviour to avoid this (using LIST command > instead of PWD Looks like using LIST command solves the problem. Thank you! Verified. > For the next version of NetBeans, we could try to implement automatic > reconnect if keep-alive fails. Please, submit it as a new enhancement. Reported as Bug 234871. Thanks. Product Version: NetBeans IDE Dev (Build 201308280001) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) |
Created attachment 137857 [details] Warning screenshot My FTP server is set to close connection after 600 seconds of no transfer, so when I'm inactive for a few minutes, NetBeans is trying to keep-alive connection by sending 200 NOOP command. After 600 seconds server sends: 421 No transfer timeout (600 seconds): closing control connection QUIT Keep-alive failed for server moldamil.sk (unknown reason). NetBeans shows Warning window with Error message (see screenshot). I'm not sure but I think this warning should not pop out. Tomasi, what do you think?