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

BlackBerry® Enterprise Service 10

Reply
New Contributor
Posts: 5
Registered: ‎01-31-2011
My Device: Bold 9700
My Carrier: Plus

BES Socket connection - UnresolvedAddressException

Hello there,

 

I have read a lot of BES connection troubles around here but I am still not able to get my code working.

 

I am using API version 5.0 and the ConnectionFactory class.

All the connections (WiFi, direct TCP and MDS) work really fine with HTTP connections but when it comes to a Socket connection same ConnectionFactory setup runs into:

 

net.rim.device.cldc.io.ippp.SocketBaseIOException:

java.nio.channels.UnresolvedAddressException
This situation occurs only with MDS connection.
From the event log I can get the connection string which is:

socket://addres.com:8080;deviceside=false;ConnectionUID=S72177777;ConnectionTimeout=10000
(ConnectionUID is fake in this example)
What can cause such a situation? Our first thought was that the BES firewall keeps blocking our port but after changing it to 8080 nothing happend.
Do I have to be an alliance member to gain access to the BES connection like with the BIS one?
Regards,
Peter
Highlighted
New Contributor
Posts: 5
Registered: ‎01-31-2011
My Device: Bold 9700
My Carrier: Plus

Re: BES Socket connection - UnresolvedAddressException

Does anyone has some idea Smiley Sad?