Re: [BUG] Incorrect BIND Status for given command after reconnecting

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
there's nothing wrong in the trace you sent.


connection is lost:   2011-01-13 11:46:43 [27081] [45] ERROR: System error 104: Connection reset by peer
connection is reestablished: 2011-01-13 11:46:48 [27081] [45] DEBUG: Connecting to <213.139.63.193>
BIND is sent: 2011-01-13 11:46:49 [27081] [45] DEBUG:   type_name: bind_receiver
BIND Is acknowledged: 2011-01-13 11:46:49 [27081] [45] DEBUG:   type_name: bind_receiver_resp

after this, the connection is live.

so this:

2011-01-13 11:47:19 [27081] [45] ERROR: SMPP[XYZ]: SMSC rejected last command, code 0x00000004 (Incorrect BIND Status for given command).

should never occur because the connection is in fact proper established.
This is a protocol violation on the remote side in my understanding.

What Kannel could do better is to terminate the connection if such an error is sent.

On 13.01.2011, at 13:38, Mohammed Saleem wrote:

> 
> Dear Kannelers
> 
> <<Log Attached>>
> 
> I am using svn kannel, I had an issue with SMPP, kannel doesn't reconnect well when the connection is lost (reset) it reconnects and reports that the connection is online, but it is not. all sent PDUs gets a reply with generic_nack because the connection is not bound
> 
> Do we have a bug here? I think kannel should monitor the last valid enquire_link_resp received and reconnects at certain timeout?
> 
> Thanks
> 
> 
> Best Regards,
> Mohammed M I Sleem
> 
> http://www.abusleem.net  - Personal blog
> 
> http://www.freakle.com - The Search Freak
> 
> <smsc_smpp_error_log.txt>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.