You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2017/05/02 15:37:47 UTC

[Bug 61061] New: setproxy does not work with JDK1.8.0_121_jce

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: notifications@ant.apache.org
          Reporter: flop.m@usa.net
  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.

[Bug 61061] setproxy does not work with JDK1.8.0_121_jce

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61061

Alexandru Luchian CONSTANTINESCU <al...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexandru.luchian88@gmail.c
                   |                            |om

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

[Bug 61061] setproxy does not work with JDK1.8.0_121_jce

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61061

Jaikiran Pai <ja...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Jaikiran Pai <ja...@apache.org> ---
Can you attach a sample build file which we can use to try and reproduce this
issue? That will also help us see what your Ant target looks like.

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

[Bug 61061] setproxy does not work with JDK1.8.0_121_jce

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61061

--- Comment #3 from Issa Gorissen <fl...@usa.net> ---
@jaikiran,

If this might help someone,

Our issue was caused by jdk.http.auth.tunneling.disabledSchemes set to Basic
following change by Oracle in JDK 8u111.

http://www.oracle.com/technetwork/java/javase/8u111-relnotes-3124969.html

Regards

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

[Bug 61061] setproxy does not work with JDK1.8.0_121_jce

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61061

Issa Gorissen <fl...@usa.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux                       |Windows Server 2008
         Resolution|---                         |WORKSFORME
             Status|NEEDINFO                    |RESOLVED

--- Comment #2 from Issa Gorissen <fl...@usa.net> ---
Hello,

I have tried to reproduce this and could not. THe build was ran in Atlassian
Bamboo; as there are many factors here, and I could not isolate them, I am
closing this report.

Thank you!

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

[Bug 61061] setproxy does not work with JDK1.8.0_121_jce

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61061

--- Comment #4 from Jaikiran Pai <ja...@apache.org> ---
@Issa, thank you for adding that detail.

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