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.

Bug 250764 - Project with remote server and SFTP connection causes ip blocking
Summary: Project with remote server and SFTP connection causes ip blocking
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.0.2
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 12:11 UTC by mwitzmann
Modified: 2015-03-30 05:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log output from netbeans (7.15 KB, text/plain)
2015-03-09 11:25 UTC, mwitzmann
Details
auth.log from server (762 bytes, text/plain)
2015-03-09 11:25 UTC, mwitzmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mwitzmann 2015-02-27 12:11:05 UTC
Hey,

I created a project with "PHP Application from remote server", used the connection type SFTP and left the field "password" empty.
This server blocked my ip after some failed logins.
The server provider told me that netbeans always tries to login with a wrong password first and then tries a new connection with the correct password, which I typed in in the prompted password field before.

Why does netbeans login in with a wrong password first even though when I typed in a correct one?
Comment 1 Tomas Hurka 2015-02-27 13:42:48 UTC
Why did you file this issue under Ide/Logger Server category? Reassigning.
Comment 2 Tomas Mysik 2015-03-04 08:58:46 UTC
(In reply to mwitzmann from comment #0)
> The server provider told me that netbeans always tries to login with a wrong
> password first and then tries a new connection with the correct password,
> which I typed in in the prompted password field before.

Sounds really weird to me; could you please reproduce your issue and attach here output of the Output window so we can look at it? Also, you can enable debug logging - start NB from command line with [1] and attach your IDE log [2] here as well.

Simply reopen this issue, thanks.
[1] -J-Dorg.netbeans.modules.php.project.connections.level=FINE
[2] http://wiki.netbeans.org/FaqLogMessagesFile
Comment 3 mwitzmann 2015-03-09 11:25:14 UTC
Created attachment 152497 [details]
Log output from netbeans
Comment 4 mwitzmann 2015-03-09 11:25:31 UTC
Created attachment 152498 [details]
auth.log from server
Comment 5 mwitzmann 2015-03-09 11:33:16 UTC
Hey,

I attached two logs.

I replaced the servers address and also my IP with ###SERVER### and ###MY_IP###.

The auth.log shows, that netbeans tries to connect two times already before I entered the password.
And then, when I accept the prompt with the entered password by clicking "ok", it connects me successfully.
Comment 6 Tomas Mysik 2015-03-09 11:57:09 UTC
Perfect, thanks a lot, I will look at it!
Comment 7 Tomas Mysik 2015-03-30 05:41:55 UTC
(In reply to Tomas Mysik from comment #2)
> Also, you can enable
> debug logging - start NB from command line with [1] and attach your IDE log
> [2] here as well.
> 
> Simply reopen this issue, thanks.
> [1] -J-Dorg.netbeans.modules.php.project.connections.level=FINE
> [2] http://wiki.netbeans.org/FaqLogMessagesFile

I have a suspicion but need to verify it - please provide also IDE log with FINE logging.

Thanks.