wood burning stoves*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "big problems with java.net.URL" Watch "big problems with java.net.URL" New topic

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 ]
subject: big problems with java.net.URL
Similar Threads
Multithreading client socket throws Stream corrupted exception
general encoding questions
Problem in reading the InputStream and setting the cookie value after applying the SSL(Using https).
Java client connect to soap server
Migrating to Https(SSLSession & HttpsSession)