Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178082

Java doesn't prompt for Proxy Authentication when inherit setting from browser

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+161)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+161, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Enterprise
      Serevick Pack 1

      A DESCRIPTION OF THE PROBLEM :
       1) Set browser's Proxy server setting to a proxy server that needs an authentication
       2) Java proxy setting is set to 'Use browser settings'
       3) Launch JNLP file. Its codebase should be applicable by the proxy server

      Instead of prompting the user/password for proxy server when condition 2) is not met, it always show 'Unable to tunnel through proxy. Proxy returns "HTTP/1.0 407 Unauthorized' error.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
       1) Set browser's Proxy server setting to a proxy server that needs an authentication
       2) Java proxy setting is set to 'Use browser settings'
       3) Launch JNLP file. Its codebase should be applicable by the proxy server


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should prompt for user/password for proxy server
      ACTUAL -
       it always show 'Unable to tunnel through proxy. Proxy returns "HTTP/1.0 407 Unauthorized' error.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      'Unable to tunnel through proxy. Proxy returns "HTTP/1.0 407 Unauthorized' error.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Use other mean to set the proxy for Java ( other than 'Use browser setting' )

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: