• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help! App using JSSE 1.0.2 freezes

 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm attempting to use JSSE to connect to a URL. For some reason, my program (code follows) freezes at the openConnection() call. I'm new to this. Does anyone see anything I'm doing wrong?
Thanks!

I did some code cleanup just to prevent it from pushing off the page---
Carl
[This message has been edited by Carl Trusiak (edited February 21, 2001).]
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see a problem. I took your code, added readin from the input stream you created and the setProperties for the proxy I'm behind and it worked great. One thing to remember, SSL handshake takes about 10-15 secs so, your app may seem to do nothing for a while then give you output.


------------------
Hope This Helps
Carl Trusiak
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply! You were right -- I just needed to be more patient.
 
Alok
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Carl Trusiak:
[B]I don't see a problem. I took your code, added readin from the input stream you created and the setProperties for the proxy I'm behind and it worked great. One thing to remember, SSL handshake takes about 10-15 secs so, your app may seem to do nothing for a while then give you output.


[/B]

Hi,
The same kind of problem I m getting in my code.
I used the same code listed ablove and added code for the proxy to receive user id and password.
The same program works if I give http but with https it is not able to go through..
what may be the reason.?
plz help
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!