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.
Hi, when I upload a document some times an error occured at end of connection with this message: Cannot logout from server It is very uncomfortable for a user that use ftp all along the day I attach a screenshot
Created attachment 89366 [details] ftp error logout
hi, yep, this happens sometimes. I guess it happens when a timeout at logout occurs but am not sure about this. Anyway, could you please start NetBeans using: netbeans -J-Dorg.netbeans.modules.php.project.connections.level=500 and then attach your IDE log (View > IDE Log) - please, do not copy&paste but attach, please
No response from reporter for a long time, so closing as WORKSFORME. Feel free to reopen if you disagree. Thanks for reporting.
Created attachment 106073 [details] FTP log with logout error
Created attachment 106074 [details] IDE log after FTP logout error
Product Version: NetBeans IDE Dev (Build 201102160501) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Windows XP version 5.1 running on x86; Cp1252; no_NO (nb) I get this often too. I have "Upload on save" enabled, so I get a dialog box telling me the upload failed, and asks me if I want to disable the "upload on save" feature. (See attachment). If this error should prove to be too difficult to fix, would it be possible to disable the dialog which appear? It gets quite annoying after getting it a few times. I have attached the FTP and IDE log after getting the error. The server address and my company's name has been anonymized in these logs. I did this when creating the logs: - Opened netbeans - Saved a file until it gave an ftp logout error. This happened on the fifth try.
Created attachment 106076 [details] Faildialog
*** Bug 197228 has been marked as a duplicate of this bug. ***
Fixed in trunk. http://hg.netbeans.org/web-main/rev/2689a0566936
Transplanted to release 7.0.1. http://hg.netbeans.org/releases/rev/47ef47dcb6d8
No WAY!!! Is it really fixed? Those are great great news. Waiting for the release :D
Well, to be honest - the error is just ignored (can be changed in remote connection configuration) since I have no idea why this occurs (upload is fine but logout is not). If you want to try it sooner, download PHP development build 3313 (currently not finished yet) or newer [1] and let us know, any feedback is more than welcome. Thanks for reporting. [1] http://bertram.netbeans.org/hudson/job/PHP-build/
*** Bug 179203 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ User: Log:
I can verify that there is an option to "Ignore disconnect errors" and it's checked by default. Since it is basically the core of fix and no erros were displayed with this checked option, verified for me... Product Version: NetBeans IDE 7.0.1 (Build 201107211357) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
(In reply to comment #16) > I can verify that there is an option to "Ignore disconnect errors" and it's > checked by default. Since it is basically the core of fix and no erros were > displayed with this checked option, verified for me... > > Product Version: NetBeans IDE 7.0.1 (Build 201107211357) > Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 > System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Where is the "Ignore disconnect errors" option found?? I'd really love to ignore those errors...
(In reply to comment #17) > Where is the "Ignore disconnect errors" option found?? I'd really love to > ignore those errors... In FTP configuration details (in Manage Remote Connections window).
Created attachment 109847 [details] Save failed, version 7.0.1 - Ignore connection errors checked. I got this just now, checking the ingnore connection errors in the connection's settings didn't help :( Save failed, version 7.0.1 - Ignore connection errors checked.
Screenshot is useless, we need IDE log with the exception.
Created attachment 109856 [details] IDE Log, just after the error. Added log
Two exceptions in the log: 1) Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot log out from server ftp.pnc.co.il. at org.netbeans.modules.php.project.connections.ftp.FtpClient.disconnect(FtpClient.java:179) Looking at sources of NB 7.0.1 [1], it seems that the "Ignore Disconnect Errors" is NOT checked. Please, double check the settings of the proper FTP connection (since the default value is unchecked, it means do not ignore errors). 2) Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot connect to server ftp.pnc.co.il. at org.netbeans.modules.php.project.connections.ftp.FtpClient.connect(FtpClient.java:163) This one is irrelevant, FTP client cannot connect. Thanks for reporting. [1] http://hg.netbeans.org/releases/file/618b573e7ab8/php.project/src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java
(In reply to comment #22) > Two exceptions in the log: > > > 1) Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot > log out from server ftp.pnc.co.il. > at > org.netbeans.modules.php.project.connections.ftp.FtpClient.disconnect(FtpClient.java:179) > > Looking at sources of NB 7.0.1 [1], it seems that the "Ignore Disconnect > Errors" is NOT checked. Please, double check the settings of the proper FTP > connection (since the default value is unchecked, it means do not ignore > errors). > > > 2) Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot > connect to server ftp.pnc.co.il. > at > org.netbeans.modules.php.project.connections.ftp.FtpClient.connect(FtpClient.java:163) > > This one is irrelevant, FTP client cannot connect. > > Thanks for reporting. > [1] > http://hg.netbeans.org/releases/file/618b573e7ab8/php.project/src/org/netbeans/modules/php/project/connections/ftp/FtpClient.java I have "Ignore Disconnect Errors" checked for sure. This is the only feature I was waiting for in 7.0.1, so it is checked indeed.
(In reply to comment #23) > I have "Ignore Disconnect Errors" checked for sure. In such case, I will try to reproduce and let you know.
I just verified that it works in the development version of NetBeans (using debugger and simulating an exception during disconnecting). Unfortunately, since I'm not able to reproduce your problem, I can only repeat - just be sure that the Ignore Disconnect Errors checkbox is checked for the server which is assigned to you project (since this checkbox must be checked for all problematic FTP servers).
*** Bug 202280 has been marked as a duplicate of this bug. ***
(In reply to comment #26) > *** Bug 202280 has been marked as a duplicate of this bug. *** Hi, I checked the Ignore connection errors option but still have the same issue. I'm still on Scenario 1 described in Bug 187836 and the symptoms are the same as described in Bug 202280. The log is attached.
Created attachment 110958 [details] keep alive/upload on save issue with ignore connection errors checked
There is no exception in your log. The only message related to FTP failure is: > Reason: Cannot change directory to /testapp/protected/views/layouts. It is another issue, likely you don't have permissions to enter that directory on your server? BTW I have noticed that you are using OpenJDK - please notice that OpenJDK has some bugs, try to use Sun/Oracle JDK instead. Thanks.
Changing back to verified fixed.
Guys, first of all I'd like to say that I really appreciate your work, and love the IDE. There are some really great and addictive features in it :) Second, from a user perspective: is there any chance to make the whole FTP/SFTP usage experience transparent to the user? I've seen it done in other software. No dialogs, no errors over folders with no permissions, keep alive dialogs, SFTP keys confirmation dialogs on every save etc. Is there a way to make it simply do it's thing and output all the errors (if found) to the console? Thanks
(In reply to comment #31) > first of all I'd like to say that I really appreciate your work, and love the > IDE. There are some really great and addictive features in it :) Thanks a lot! > Second, from a user perspective: is there any chance to make the whole FTP/SFTP > usage experience transparent to the user? I've seen it done in other software. > No dialogs, no errors over folders with no permissions, keep alive dialogs, > SFTP keys confirmation dialogs on every save etc. > Is there a way to make it simply do it's thing and output all the errors (if > found) to the console? Feel free to submit enhancements and/or bugs [1] with description, scenario, expected behavior etc. Thanks. [1] please, exactly one enhancement/bug for one idea/problem