Unknown error on receiving receipt

.NET library for SMPP protocol
Locked
iulian
Posts: 3
Joined: Thu Mar 09, 2017 3:33 pm

Unknown error on receiving receipt

Post by iulian » Fri Mar 10, 2017 7:46 am

Hi,
We have an implementation of SMPP server (IntetLab) and a 3d party client that sends some sms-es to the server.
Bind is successful, sms is received, all is well until the client receives the response for the sms data. It triggers an unknown error on client side.
I checked the version of the data received and protocol version in 3.4 in both client and server. I tried different combinations and configuration without result.
From what we captured from logs there seems to be a difference between an successful response and an unsuccessful one. Attached is the file.
The successful response is from using another SMPP server, the unsuccessful one is from using Inetlab service.

Correct: €\0\0\0\0\0\0\0\0\0j7c4b35d3ca7440d1b4ce766a2528c558\0
Incorrect: €\0\0\0\0\0\0\0\0Ä98b7bca1ea614af59ad30a0fcb78dbb2\0\0
Attachments
Capture.PNG
Capture.PNG (6.4 KiB) Viewed 10111 times
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Unknown error on receiving receipt

Post by alt » Mon Mar 13, 2017 8:51 pm

Hi,

Can you get more information about the error on client side?

Could you send me some details from library logs of from wireshark?
http://wiki.inetlab.com/doku.php/smpp/tracing

I cannot recognize any SMPP PDU in your examples.
iulian
Posts: 3
Joined: Thu Mar 09, 2017 3:33 pm

Re: Unknown error on receiving receipt

Post by iulian » Fri Mar 17, 2017 7:21 am

Hi ,
From what we can gather it looks like the 'System error' is sent by the InetLab Sevice. But it doesn't make any sense.
15.03.2017 13:34:21.727
80 00 00 04 00 00 00 08 00 00 00 e9 30 32 61 63 33 32 64 36 2d 38 37 36 38 2d 34 64 64 35 2d 39 31 64 32 2d 66 37 35 62 62 32 30 64 62 34 37 34 00
===Header===
command_id: Submit SM Response, HEX: 80 00 00 04
command_status: System Error, HEX: 00 00 00 08
sequence_number: 233, HEX: 00 00 00 e9
====Body====
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Unknown error on receiving receipt

Post by alt » Sun Mar 19, 2017 9:56 pm

Possible you have an exception in the event handler method.

Please enable logging for the library and check all ERRORs.
iulian
Posts: 3
Joined: Thu Mar 09, 2017 3:33 pm

Re: Unknown error on receiving receipt

Post by iulian » Mon Mar 27, 2017 3:23 pm

Hi,
Thanks for the tip. Although it had a try/catch sequence id did not covered the error. The error was in the _composers variable dictionary (The given key was not present in the dictionary.), because I wasn't pain' attention on actually initialize it.
Best of luck,
Iulian
Locked