This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes big problems with java.net.URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "big problems with java.net.URL" Watch "big problems with java.net.URL" New topic
Author

big problems with java.net.URL

John Davis
Ranch Hand

Joined: Nov 02, 2000
Posts: 189
I have an application which successfully constructs a URL object, opens a connection, and writes to an Https server - However, this same application fails when the URL object is constructed for a proxy.

If I construct the URL object with just the target address, the application connects Https to the server and everything works properly.
As soon as I construct the URL object with protocol ("https"), hostName, and port, the connection fails with SSL Handshake problems.
Anybody have an idea how to go about working on this problem?
[ August 28, 2003: Message edited by: Ernest Friedman-Hill ]
 
GeeCON Prague 2014
 
subject: big problems with java.net.URL