TCP time-out error(-986)


#1

Hi all,
I am madhu. I am using wmp100 module. Before i was able to connect with my server with public T-mobile APN. I didnt face any problem.
But now we are using a private APN with another embedded SIM(meant only for this private APN). If i try to connect with the same server, i am getting time-out error.(error: -986)

code as follows:

[GPRS]: open: -> DISCONNECTED
[GPRS]: start: -> CONNECTING
[GPRS]: GPRS EVENT SETUP OK (cid=1): GPRS activate
[GPRS]: GPRS EVENT: 27 (cid=1)
[GPRS]: GPRS EVENT ACTIVATE OK (cid=5)
[GPRS]: GPRS: -> CONNECTED
[SAMPLE]: connecting to client 64.239.241.212:1300...
[WIP] new TCPCLIENT 0x180c60dc

As I know the client must send something to the server automatically. but nothing happen at the server side.
then after a while the client closes the TCPCLIENT

[SAMPLE]: Error -986 on socket. Closing.
[WIP] closing TCPCLIENT 0x180c60dc
[GPRS]: GPRS EVENT: 27 (cid=5)

With the same module:
Old embedded SIM + with T-mobile public APN —> WORKING PROPERLY

New embedded SIM + with private APN(meant only for this SIM) —> NOT WORKING PROPERLY!!! (unable to create TCP socket)

I talked with T-mobile and Server side guys, no problem from their side. They told that it has to work properly :open_mouth: . No firewall is blocking this to connect.

1) I just want to know what need to be done in modem setting?
2) One SIM is working with public APN and another is not working with private APN. What might be the problem?
3) Is there something missing?

Pls help me, its very urgent…

Thanks in advance,
Madhu