https://bz.apache.org/bugzilla/show_bug.cgi?id=61061

            Bug ID: 61061
           Summary: setproxy does not work with JDK1.8.0_121_jce
           Product: Ant
           Version: 1.9.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

In a simple build.xml with a target containing a setproxy task and a get task,
we have this issue where the build can download a file fine when running with
Oracle JDK1.7.0_80 (with JCE) but *not* with Oracle JDK1.8.0_121 (with JCE)
where we always get


02-May-2017 14:27:14   
E:\bamboo\remoteagent\xml-data\build-dir\A2B-AB-JOB1\builders\product\crowd\build.xml:17:
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1
407 Proxy Authentication Required"
02-May-2017 14:27:14            at
sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2124)
02-May-2017 14:27:14            at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
02-May-2017 14:27:14            at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
02-May-2017 14:27:14            at
org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:737)
02-May-2017 14:27:14            at
org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:650)
02-May-2017 14:27:14            at
org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:640)




Are you able to reproduce this issue?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to