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
New Developer
Posts: 2
Registered: ‎04-13-2009
My Device: Not Specified

Error Connection Timed out

Hi.

I have been testing an application which calls a web-service on the 8310 device. The application works, However, rarely hang-up for two minutes and then it throws an exception :
net.rim.device.cldc.io.ippp.socketbaseioexception:connection timed out.

When this happens, the application can't connect to web service and it throws the same exception again.

I must to close the application and restart the device.

Any Idea??

 

Excuse my english

 

Thanks

Highlighted
BlackBerry Development Advisor
Posts: 15,300
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Error Connection Timed out

The timeout for a connection on a BlackBerry handheld is 2 minutes.  So it looks like the handheld is unable to connect to your server and the connection is timing out.  What BlackBerry Smartphone model and BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.  What route is your connection being made over?  Refer to the following links for information on connection routes.

 

What Is - Different ways to make an HTTP or socket connection
Article Number: DB-00396
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

 

Network Transports Video
http://www.blackberry.com/DevMediaLibrary/view.do?name=NetworkingTransports

Is the BlackBerry handheld in coverage at the time?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker