From Java 8 Update 111 (8u111) onwards, the basic authentication scheme has been deactivated, by default, in the Oracle Java Runtime.
If you are using this version (or later), 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
Please visit http://www.oracle.com/technetwork/java/javase/8u111-relnotes-3124969.html (Java 8 Update 111 (8u111) - Disable Basic authentication for HTTPS tunneling )