Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 73
Registered: ‎07-15-2008
My Device: Not Specified

Https connection fails in the middle of communication and cannot establish connection again!

Hello Everyone,

 

I am using Https connection to connect to the server. When I am sending some data to server, most of the times, the connection is terminated without any reason and it just cannot connect again! And it happens randomly. When I tried to debug the app, I couldn't find any specific point where it stops communicating to server. It just stops randomly at anytime!

 

Please guide me to the proper direction to solve this issue.

 

 

 

Thanks,

- Rohan

Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: Https connection fails in the middle of communication and cannot establish connection again!

Have you tried to replicate problem with http and monitor with packet capture?

For that matter, have you checked your server logs?

Do you see any exceptions? How does your code terminate on the phone?

Highlighted
Developer
Posts: 73
Registered: ‎07-15-2008
My Device: Not Specified

Re: Https connection fails in the middle of communication and cannot establish connection again!

Hi Marchywka,

 

Thanks for the instant reply. I will try to replicate the problem with http and get back to you asap.

 

 

Thanks,

- Rohan