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 222481 - Setting same proxy for all protocols breaks FTP connection from behind proxy
Summary: Setting same proxy for all protocols breaks FTP connection from behind proxy
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 15:59 UTC by Vladimir Riha
Modified: 2012-11-30 02:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (36.06 KB, text/x-log)
2012-11-20 15:59 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-11-20 15:59:06 UTC
Created attachment 128148 [details]
IDE log

To reproduce:
- set manually same proxy for all protocols
- invoke New Project wizard, PHP|From Remote server
- in 3rd step, press Manage to create a new remote connection
- fill in data for FTP connection and press Test Connection

=> dialog

"Cannot connect to server XX. (Cause: Malformed reply from SOCKS server) "



Product Version: NetBeans IDE Dev (Build web-main-9269-on-20121120)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16
System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Tomas Mysik 2012-11-20 16:24:59 UTC
Not sure what can be done with this issue... Perhaps we could check SOCKS proxy as well and show warning? But it seems to me to be a bug in an FTP library...
Comment 2 Tomas Mysik 2012-11-20 16:27:17 UTC
I will add a comment to the Commons-Net issue tracker.
Comment 3 Tomas Mysik 2012-11-20 16:40:27 UTC
Comment added [1].

[1] https://issues.apache.org/jira/browse/NET-422#comment-13501288
Comment 4 Tomas Mysik 2012-11-21 06:19:51 UTC
Mayve we could just improve the warning? Something like "avoid using SOCKS proxy"? The problem here is that I do not know why this error happens... We can wait if any comment will be added to the Commons-Net issue tracker.
Comment 5 Vladimir Riha 2012-11-21 08:30:35 UTC
We can wait for Common-Net and if there will be no response in time for 7.3, I think the suggested improvement could be sufficient
Comment 6 Tomas Mysik 2012-11-29 07:37:12 UTC
No response on Commons-Net issue tracker, I will improve the warning.
Comment 7 Tomas Mysik 2012-11-29 10:57:38 UTC
Warning improved.

http://hg.netbeans.org/web-main/rev/cacfd2eb8c09
Comment 8 Vladimir Riha 2012-11-29 14:29:21 UTC
verified, thanks

 Product Version         = NetBeans IDE Dev (Build web-main-9379-on-20121129) (#8589ce649a4e)
  Operating System        = Linux version 3.2.0-33-generic-pae running on i386
  Java; VM; Vendor        = 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
  Java Home               = /usr/local/jdk1.7.0_10/jre
Comment 9 Quality Engineering 2012-11-30 02:50:24 UTC
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cacfd2eb8c09
User: Tomas Mysik <tmysik@netbeans.org>
Log: #222481 - Setting same proxy for all protocols breaks FTP connection from behind proxy

Warning message improved.