• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help! App using JSSE 1.0.2 freezes

 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply! You were right -- I just needed to be more patient.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I don't always make ads but when I do they're tiny
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic