SMPP Server client.WorkerThreads parameter is missing!

Post Reply
hishhash2
Posts: 17
Joined: Mon Jan 30, 2012 11:24 am

SMPP Server client.WorkerThreads parameter is missing!

Post by hishhash2 » Mon Apr 26, 2021 11:55 am

Hello,

I have purchased the new Inetlab version and in the process of migration from 1.* to 2.9 now. There are couple of options/parameters that are gone missing.

client.WorkerThreads - Is this replaced and how can I configure this?

Also for SmppServerClient.DeliverAsync() I was required to configure the DeliverSm.Command as CommandSet.DeliverSm if it was for Delivery reports. How is this done in the new version?

Thanks,
HishHash
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: SMPP Server client.WorkerThreads parameter is missing!

Post by alt » Mon Apr 26, 2021 5:31 pm

Hi
hishhash2 wrote:
Mon Apr 26, 2021 11:55 am
client.WorkerThreads - Is this replaced and how can I configure this?
https://docs.inetlab.com/smpp/v2.9/arti ... uning.html
hishhash2 wrote:
Mon Apr 26, 2021 11:55 am
Also for SmppServerClient.DeliverAsync() I was required to configure the DeliverSm.Command as CommandSet.DeliverSm if it was for Delivery reports. How is this done in the new version?
https://gitlab.com/inetlab/smpp-samples ... mo.cs#L175
hishhash2
Posts: 17
Joined: Mon Jan 30, 2012 11:24 am

Re: SMPP Server client.WorkerThreads parameter is missing!

Post by hishhash2 » Mon May 03, 2021 10:40 am

These links has helped me complete the migration to 2.9 version of the DLL. I have performed multiple tests in the local development machines and all are working as expected. And when rolled out to the production server, which has more than 60+ consecutive binds that are hitting the servers. I could see that many bind requests are missing and the events are not raised. Wireshark traces was captured and that is how it was realized that many binds are going missing and there are no responses also seen in the TCP trace. When I am testing it locally it usually is only couple of binds and it always seems to work properly. Any thoughts on this? The even handlers are all intialized before start() method (even tried with startasync)


IPAddress ip;
IPAddress.TryParse(Settings.ListeningIP, out ip);
_smscServerSMPP = new Inetlab.SMPP.SmppServer(new System.Net.IPEndPoint(ip, Settings.ListeningPort));

//INFO: All the required event handlers has to be initiated before starting the SMPP Server
_smscServerSMPP.evServerStarted += _smscServerSMPP_evServerStarted;
_smscServerSMPP.evClientConnected += _smscServerSMPP_evClientConnected;
_smscServerSMPP.evClientBind += _smscServerSMPP_evClientBind;
_smscServerSMPP.evClientUnBind += _smscServerSMPP_evClientUnBind;
_smscServerSMPP.evClientDisconnected += _smscServerSMPP_evClientDisconnected;
_smscServerSMPP.evClientSubmitSm += _smscServerSMPP_evClientSubmitSm;

_smscServerSMPP.StartAsync();
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: SMPP Server client.WorkerThreads parameter is missing!

Post by alt » Mon May 03, 2021 10:48 am

Could you send the wireshark file, the app log file, and the code of the method _smscServerSMPP_evClientBind on support@ ?

Do you see any errors in the library log?
hishhash2
Posts: 17
Joined: Mon Jan 30, 2012 11:24 am

Re: SMPP Server client.WorkerThreads parameter is missing!

Post by hishhash2 » Mon May 03, 2021 11:40 am

Email sent with details. I have not enabled the default logging. I have custom logs implemented using NLog
Post Reply