BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-13-2007, 01:06 PM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8707g
PIN: N/A
Carrier: programmeur
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Ssl client never instantiate handshake

Please Login to Remove!

Hi ,
i want to create a ssl connection on a extern server. When i start the client, the tcp connection is made and the client drop after and throw exception : connection not found.

So, in wireshark we can see, the client never send the first hello message. after the tcp connection.

In the fact, my program, work sometimes, and sometimes not. So, the code is fine, some external config may be in conflict.

someone have an idea of the reason of javax.microedition.io.ConnectionNotFoundException or have the same problem

thanks
Offline  
Old 09-14-2007, 03:18 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

can you post the piece of code which calls Connector.open() method? especially it is interesting to look at the url string.

Does your device use BES?
Offline  
Old 09-17-2007, 08:54 AM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8707g
PIN: N/A
Carrier: programmeur
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default code of connector

hi ,

Some new informations.
With simulator. First times i use simulator and send data, work fine one time. after nothing , same error "connection not found".
If i clean the memory of simulator, work fine one time. So i think its configuration of my simulator.

Code:
String url = "ssl://192.168.201.189:443;deviceside=true;EndToEndRequired;";
sc =  (SecureConnection)Connector.open(url);
Any other suggestion.

thanks
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.