This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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
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 ]
 
Don't get me started about those stupid light bulbs.
 
subject: big problems with java.net.URL
 
Similar Threads
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
Multithreading client socket throws Stream corrupted exception
Migrating to Https(SSLSession & HttpsSession)