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: | Remote Error. Reason: ProxyHTTP: java.io.IOException: proxy error: Tunnel or SSL Forbidden | ||
---|---|---|---|
Product: | php | Reporter: | terje7601 |
Component: | FTP Support | Assignee: | Tomas Mysik <tmysik> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | DeveloperChris, mmolda, ogj, vriha |
Priority: | P3 | ||
Version: | 7.3.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
screen grab of the failure
redacted IDE log file proxy settings sftp settings |
Description
terje7601
2013-07-09 12:29:12 UTC
Could you please try it with the dev version of NetBeans [1] (use the ZIP file)? It should work there I hope (but please use the latest version, I have fixed it yesterday AFAIR). Thanks. [1] http://bertram.netbeans.org:8080/job/PHP-build/ No sorry, it doesn't work yet with the latest version (NetBeans-dev-2013-07-09_09-04-38-php.zip). What else can I do to help? There isn't anything in the log (messages.log) about it. I will have a look at it. Thanks. Should be fixed now, please verify. Thanks. http://hg.netbeans.org/web-main/rev/783c24d39892 I verified & it is fixed now, thanks. Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/783c24d39892 User: Tomas Mysik <tmysik@netbeans.org> Log: #232443 - Remote Error. Reason: ProxyHTTP: java.io.IOException: proxy error: Tunnel or SSL Forbidden Thanks for verification. This bug is still occurring in NetBeans IDE 8.0 (Build 201403101706) Like above I have an sftp connection configured to a remote server. If I configure a http proxy I get the connection forbidden message If I configure no proxy everything works as expected. I don't know why the http proxy effects an non http ssh connection. @DeveloperChris: Please, do not reopen issues without the IDE log file. Thanks. (In reply to Tomas Mysik from comment #9) > @DeveloperChris: Please, do not reopen issues without the IDE log file. > Thanks. (And provide also exact steps to reproduce, thanks.) Created attachment 148690 [details]
screen grab of the failure
screen grab of the failure
Created attachment 148691 [details]
redacted IDE log file
redacted IDE log file
Created attachment 148692 [details]
proxy settings
This is the proxy setting during failure. simply changing it to no proxy makes it work as expected
I would have included extra info if it didn't quite match the original posters bug. I have added more now. To reproduce the issue enable the http proxy setting. right click a file and select upload. To fix the problem disable the proxy settings right click the same file and upload the next image shows my sftp settings and the result of clicking the test button. Clearly the http proxy settings are being used for some reason during the upload process. If I add the IP address of the remote server to my ignore list in the http proxy settings everything works as expected. HTTP proxy should not be used for sftp connections. Created attachment 148693 [details]
sftp settings
sftp settings with test button clicked
I am also struggling with the "No proxy hosts" in Netbeans 8.0.2. I have a manual proxy setup, and a list of hosts that should not be proxied (tried with wildcards, with and without FQDN, makes no difference). I try to connect to an internal (Informix) database server with the database explorer. The message on the message log is: INFO [org.netbeans.modules.db.explorer.action.ConnectAction] java.net.SocketException: Malformed reply from SOCKS server at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:129) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:460) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:208) at com.informix.asf.Connection.openSocket(Connection.java:1745) Caused: com.informix.asf.IfxASFException: Attempt to connect to database server (prod1_tst) failed. at com.informix.util.IfxErrMsg.getLocIfxASFException(IfxErrMsg.java:750) at com.informix.asf.Connection.openSocket(Connection.java:1786) at com.informix.asf.Connection.<init>(Connection.java:391) at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:1375) Caused: java.sql.SQLException at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:1391) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:237) at org.netbeans.modules.db.explorer.DbDriverManager.getConnection(DbDriverManager.java:131) at org.netbeans.modules.db.explorer.DatabaseConnection.doConnect(DatabaseConnection.java:904) at org.netbeans.modules.db.explorer.DatabaseConnection.access$200(DatabaseConnection.java:103) [catch] at org.netbeans.modules.db.explorer.DatabaseConnection$3.run(DatabaseConnection.java:970) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) (In reply to ogj from comment #16) > org.netbeans.modules.db.explorer.DbDriverManager. > getConnection(DbDriverManager.java:131) @ogj: Not related to PHP support, feel free to submit a new issue against Databases. Thanks. (In reply to DeveloperChris from comment #14) > HTTP proxy should not be used for sftp connections. Why? If you think that SFTP should not use HTPP ptoxy ever, then why com.jcraft.jsch.ProxyHTTP class exists? Marking back as VERIFIED, please submit a new specific issue but I do not see any issue here, it works as expected - if proxy is set, it is used; if not then no proxy is used. Thanks. Returning back the correct status. |