Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Socket open on Private APN | Telit Cinterion IoT Developer Community

October 2, 2018 - 8:26pm, 2491 views

Hello.

I'm currently using the BGS5T for a project. For communication, we're using gsm m2m cards to connect into a private APN. (I have tested the connection on public APNs and it works just fine)
Unfortunatly, I'm not managing to open the socket with it. Does the BGS5T support this? If so, how should I do this?

This is the error presented:

avax.microedition.io.ConnectionNotFoundException: error -121 in socket::open

 - com.sun.midp.io.j2me.socket.Protocol.open0(), bci=0

 - com.sun.midp.io.j2me.socket.Protocol.connect(), bci=101

 - com.sun.midp.io.j2me.socket.Protocol.open(), bci=154

 - com.sun.midp.io.j2me.socket.Protocol.openPrim(), bci=4

 - com.sun.midp.io.j2me.http.Protocol.createConnection(), bci=31

 - com.sun.midp.io.j2me.http.Protocol.connect(), bci=41

 - com.sun.midp.io.j2me.http.Protocol.streamConnect(), bci=108

 - com.sun.midp.io.j2me.http.Protocol.startRequest(), bci=7

 - com.sun.midp.io.j2me.http.Protocol.sendRequest(), bci=33

 - com.sun.midp.io.j2me.http.Protocol.sendRequest(), bci=3

 - com.sun.midp.io.j2me.http.Protocol.getResponseCode(), bci=5

Thank you so much in advance