You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/10 08:18:08 UTC

[GitHub] [netbeans] shoblingr opened a new issue #3748: Proxy authentication is not working

shoblingr opened a new issue #3748:
URL: https://github.com/apache/netbeans/issues/3748


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   The proxy is configured in the config panel, with user and password specified. But at login we get message "407 Proxy Ahtentication Required". See attached image for detail.
   ![manual config](https://user-images.githubusercontent.com/3625366/157617870-08e22bbd-001c-49fe-b9f6-0273df322400.png)
   ![proxy test](https://user-images.githubusercontent.com/3625366/157617913-241aad2e-e440-4295-9c0b-9d1ce6ff4e79.png)
   
   
   ### How to reproduce
   
   configure proxy and click test...
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.3 or earlier
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   jdk-11.0.8+10
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1069236521


   > > Maybe this conf could be added by default in netbean distribution ?
   > 
   > Doesn't that amount to disabling a security feature of the JDK by default? In which case, probably not. Better error message maybe? Also see https://bugzilla.redhat.com/show_bug.cgi?id=1386103
   
   If we warn the user, it is a feature, not a CVE. If your IT department requires you to use an authenticated proxy, you probably won't have a chance to change their thinking.
   
   The problem is, that the JDK at least partitially uses aggressive caching of the property:
   
   https://github.com/openjdk/jdk/blob/47b1c51bbd28582d209db07052e553a76acced65/src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java#L260-L274
   
   So if you want to make that dynamic you have to reflect into an internal module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] vieiro commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1065856536


   Ah, very true, I didn't notice you were already setting user/password.
   What kind of proxy authentication are you using, @shoblingr ? Is it basic, NTLM or what?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068005237


   Hi, it basic authentication (Proxy-Authenticate: BASIC realm="Auth_LDAP"). I did some tests using jmeter to pass through the proxy. Using java sampler implementation, I have the same behavior than netbeans :
   java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
   	at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2177)
   	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
   	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
   	at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:540)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:67)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1282)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1271)
   	at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627)
   	at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551)
   	at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490)
   	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
   	at java.base/java.lang.Thread.run(Thread.java:836)
   
   But if I switch to Apache HttpClient4 implementation, the call is successful with the same proxy configuration...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr closed issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr closed issue #3748:
URL: https://github.com/apache/netbeans/issues/3748


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068005237


   Hi, I guess it is basic authentication. I did some tests using jmeter to pass threw the proxy. Using java sampler implementation, I have the same behavior than netbeans :
   java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
   	at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2177)
   	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
   	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
   	at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:540)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:67)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1282)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1271)
   	at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627)
   	at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551)
   	at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490)
   	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
   	at java.base/java.lang.Thread.run(Thread.java:836)
   
   But if I switch to Apache HttpClient4 implementation, the call is successful with the same proxy configuration...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] vieiro commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1065574090


   Hi @shoblingr ,
   You're getting an HTTP 407 "Proxy Authentication Required" (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407)
   
   - Click the "More..." button at the right of the "Manual Proxy Settings".
   - Check the "Proxy Requires Explicit Authentication" 
   - The "Advanced Proxy Options" dialog appears, enter the username and password that you need for that proxy.
   
   ![imagen](https://user-images.githubusercontent.com/564140/157976209-aef8c7d0-e68c-46bb-9744-f25007ee68f1.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1065852879


   Hi,
   Thanks @vieiro for your advice, unfortunately this is already done, chek my screnshots in the first post, but it is not working...
   Stef


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068005237


   Hi, I guess it is basic authentication. I did some tests using jmeter to pass through the proxy. Using java sampler implementation, I have the same behavior than netbeans :
   java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
   	at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2177)
   	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
   	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
   	at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:540)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:67)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1282)
   	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1271)
   	at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627)
   	at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551)
   	at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490)
   	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
   	at java.base/java.lang.Thread.run(Thread.java:836)
   
   But if I switch to Apache HttpClient4 implementation, the call is successful with the same proxy configuration...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068101087


   No, password is in only standard letters and numbers... So it is ASCII only


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068106929


   Interesting: I just saw this info for the JMeter Java Sampler vs HttpClient4:
   There is a bug in the handling of HTTPS via a Proxy (the CONNECT is not handled correctly). See Java bugs 6226610 and 6208335.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1064883368


   Hi,
   
   Here it is
   [messages.log](https://github.com/apache/netbeans/files/8230284/messages.log)
   .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068063798


   I'll risk a guess: Your password (or the username) contains characters outside the ASCII range. If I remember correctly Basic Auth was only defined for Latin1, but was extended to UTF-8 . Do you have the option to test with a password containing only ASCII characters?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1070096455


   we could add a hint to the proxy settings window explaining that a flag might be required to get legacy auth behavior back.
   
   Accessing JDK internals should only be used as last resort IMO. Ideally we should try to shrink the --add-opens list if possible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068206052


   Ok I found a solution :)
   Following this article : https://stackoverflow.com/questions/41505219/unable-to-tunnel-through-proxy-proxy-returns-http-1-1-407-via-https
   It seems the problem is comming from:
   _Change in Java 8 Update 111:
   Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removing Basic from the jdk.http.auth.tunneling.disabledSchemes networking property, or by setting a system property of the same name to "" ( empty ) on the command line._
   
   To fix the issue, I added the option -Djdk.http.auth.tunneling.disabledSchemes="" to netbean conf as follow:
   netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m **-J-Djdk.http.auth.tunneling.disabledSchemes=\\"\\" ** -J-Dapple.laf.useScreenMenuBar=true (...)
   
   Now it works great :)
   Maybe this conf could be added by default in netbean distribution ?
   Thanks for your help!
   
   Stef


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068206052


   Ok I found a solution :)
   Following this article : https://stackoverflow.com/questions/41505219/unable-to-tunnel-through-proxy-proxy-returns-http-1-1-407-via-https
   It seems the problem is comming from:
   _Change in Java 8 Update 111:
   Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removing Basic from the jdk.http.auth.tunneling.disabledSchemes networking property, or by setting a system property of the same name to "" ( empty ) on the command line._
   
   To fix the issue, I added the option -Djdk.http.auth.tunneling.disabledSchemes="" to netbean conf as follow:
   netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m **-J-Djdk.http.auth.tunneling.disabledSchemes=\ " \ " ** -J-Dapple.laf.useScreenMenuBar=true (...)
   
   Now it works great :)
   Maybe this conf could be added by default in netbean distribution ?
   Thanks for your help!
   
   Stef


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
mbien edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1070096455


   we could add a hint to the proxy settings window explaining that a flag might be required to get legacy auth behavior back.
   
   Accessing JDK internals should only be used as last resort IMO. Ideally we should try to shrink the --add-opens list if possible (edit: [link to list + readme](https://github.com/apache/netbeans/tree/master/nbbuild/jms-config)).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1064499416


   Please provide the message.log file. On windows it can be found in the directory `C:\Users\$USERNAME\AppData\Roaming\NetBeans\$VERSION\var\log\messages.log`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1069186660


   > Maybe this conf could be added by default in netbean distribution ?
   
   Doesn't that amount to disabling a security feature of the JDK by default?  In which case, probably not.  Better error message maybe?  Also see https://bugzilla.redhat.com/show_bug.cgi?id=1386103


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068206052


   Ok I found a solution :)
   Following this article : https://stackoverflow.com/questions/41505219/unable-to-tunnel-through-proxy-proxy-returns-http-1-1-407-via-https
   It seems the problem is comming from:
   _Change in Java 8 Update 111:
   Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removing Basic from the jdk.http.auth.tunneling.disabledSchemes networking property, or by setting a system property of the same name to "" ( empty ) on the command line._
   
   To fix the issue, I added the option -Djdk.http.auth.tunneling.disabledSchemes="" to netbean conf as follow:
   netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m -J-Djdk.http.auth.tunneling.disabledSchemes=\\"\\" -J-Dapple.laf.useScreenMenuBar=true (...)
   
   Now it works great :)
   Maybe this conf could be added by default in netbean distribution ?
   Thanks for your help!
   
   Stef


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068206052


   Ok I found a solution :)
   Following this article : https://stackoverflow.com/questions/41505219/unable-to-tunnel-through-proxy-proxy-returns-http-1-1-407-via-https
   It seems the problem is comming from:
   _Change in Java 8 Update 111:
   Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removing Basic from the jdk.http.auth.tunneling.disabledSchemes networking property, or by setting a system property of the same name to "" ( empty ) on the command line._
   
   To fix the issue, I added the option -Djdk.http.auth.tunneling.disabledSchemes="" to netbean conf as follow:
   etbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m **-J-Djdk.http.auth.tunneling.disabledSchemes=\"\"** -J-Dapple.laf.useScreenMenuBar=true (...)
   
   Now it works great :)
   Maybe this conf could be added by default in netbean distribution ?
   Thanks for your help!
   
   Stef


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068101087


   No, password is in only standard letters and numbers...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] shoblingr removed a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
shoblingr removed a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1068106929


   Interesting: I just saw this info for the JMeter Java Sampler vs HttpClient4:
   There is a bug in the handling of HTTPS via a Proxy (the CONNECT is not handled correctly). See Java bugs 6226610 and 6208335.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] vieiro commented on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1072755284


   I created this PR for the website explaining the problem https://github.com/apache/netbeans-website/pull/592
   Maybe we can add a link to this page from the dialog, so users can learn about the problem (and the solution) in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] vieiro edited a comment on issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
vieiro edited a comment on issue #3748:
URL: https://github.com/apache/netbeans/issues/3748#issuecomment-1065574090


   Hi @shoblingr ,
   You're getting an HTTP 407 "Proxy Authentication Required" (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407)
   
   - Click the "More..." button at the right of the "Manual Proxy Settings".
   - The "Advanced Proxy Options" dialog appears
   - Check the "Proxy Requires Explicit Authentication" 
   - Enter the username and password that you need for that proxy.
   
   ![imagen](https://user-images.githubusercontent.com/564140/157976209-aef8c7d0-e68c-46bb-9744-f25007ee68f1.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] vieiro closed issue #3748: Proxy authentication is not working

Posted by GitBox <gi...@apache.org>.
vieiro closed issue #3748:
URL: https://github.com/apache/netbeans/issues/3748


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists