SMPPCLIENT_NOCONN / dropped connection.
Posted: Fri Sep 01, 2017 3:39 pm
Hi everyone,
Server : Windows Server 2008 R2 Standard SP1
Use : Inetlab.SMPP Client Demo that I have rebuild to make a TLS connexion enable(SslProtocols(Tls)) :

I am trying to get a connexion with my Japanese provider and I get the following message :
23:36:30: INFO : 1: (SmppClient) Inetlab.SMPP v.1.2.5.0. (8/13/2017) EVALUATION VERSION. Expires on 29.10.2017, in 58 days.
23:37:21: DEBUG: 11: (SmppSocket) Socket #31914638: Connection established. 192.168.110.160:49919 => smpp01.acrt.jp:3550
23:37:21: INFO : 11: (SmppClientDemo) SmppClient connected
23:37:21: INFO : 11: (SmppClientDemo) Binding SmppClient for SystemId: xxxxxx
23:37:21: DEBUG: 17: (SmppClient) Sending PDU: BindTransceiver, Length: 16, Status: ESME_ROK, Sequence: 1
23:37:21: TRACE: 17: (SmppSocket) Socket #31914638: Sending data: 0000002d0000000900000000000000016672303532333639004756374d66486833004f44595356430034000000
23:37:31: DEBUG: 12: (SmppSocket) Socket #31914638: Remote side smpp01.acrt.jp:3550 has dropped connection.
23:37:31: INFO : 12: (SmppClientDemo) Bad status returned during Bind : BindTransceiverResp with status SMPPCLIENT_NOCONN
23:37:31: DEBUG: 12: (SmppSocket) Socket #31914638: Connection closed. 192.168.110.160:49919 => smpp01.acrt.jp:3550
23:37:31: INFO : 12: (SmppClientDemo) SmppClient disconnected
So I cannot stay connected over 10 seconds. I asked my provider why I got a "Bad status returned" and he answered,
We recommend to use stunnel to create the SSL connection. And use regular connection in our system.
With a stunnel.conf file such as
stunnel.conf
----
sslVersion = TLSv1
ciphers = AES256-SHA
[accrete1]
client = yes
accept = 13551
connect = smpp01.acrt.jp:3550
[accrete2]
client = yes
accept = 13552
connect = smpp02.acrt.jp:3550
"
And...he is right, if I use stunnel I don't have any problem. Still, I cannot figure out what is wrong my first connexion, and for some reasons I cannot afford to use stunnel.
Any idea ? Thank you
Regards.
Server : Windows Server 2008 R2 Standard SP1
Use : Inetlab.SMPP Client Demo that I have rebuild to make a TLS connexion enable(SslProtocols(Tls)) :
I am trying to get a connexion with my Japanese provider and I get the following message :
23:36:30: INFO : 1: (SmppClient) Inetlab.SMPP v.1.2.5.0. (8/13/2017) EVALUATION VERSION. Expires on 29.10.2017, in 58 days.
23:37:21: DEBUG: 11: (SmppSocket) Socket #31914638: Connection established. 192.168.110.160:49919 => smpp01.acrt.jp:3550
23:37:21: INFO : 11: (SmppClientDemo) SmppClient connected
23:37:21: INFO : 11: (SmppClientDemo) Binding SmppClient for SystemId: xxxxxx
23:37:21: DEBUG: 17: (SmppClient) Sending PDU: BindTransceiver, Length: 16, Status: ESME_ROK, Sequence: 1
23:37:21: TRACE: 17: (SmppSocket) Socket #31914638: Sending data: 0000002d0000000900000000000000016672303532333639004756374d66486833004f44595356430034000000
23:37:31: DEBUG: 12: (SmppSocket) Socket #31914638: Remote side smpp01.acrt.jp:3550 has dropped connection.
23:37:31: INFO : 12: (SmppClientDemo) Bad status returned during Bind : BindTransceiverResp with status SMPPCLIENT_NOCONN
23:37:31: DEBUG: 12: (SmppSocket) Socket #31914638: Connection closed. 192.168.110.160:49919 => smpp01.acrt.jp:3550
23:37:31: INFO : 12: (SmppClientDemo) SmppClient disconnected
So I cannot stay connected over 10 seconds. I asked my provider why I got a "Bad status returned" and he answered,
We recommend to use stunnel to create the SSL connection. And use regular connection in our system.
With a stunnel.conf file such as
stunnel.conf
----
sslVersion = TLSv1
ciphers = AES256-SHA
[accrete1]
client = yes
accept = 13551
connect = smpp01.acrt.jp:3550
[accrete2]
client = yes
accept = 13552
connect = smpp02.acrt.jp:3550
"
And...he is right, if I use stunnel I don't have any problem. Still, I cannot figure out what is wrong my first connexion, and for some reasons I cannot afford to use stunnel.
Any idea ? Thank you
Regards.