BindTransceiverResp with status SMPPCLIENT_RCVTIMEOUT

Smpp v3.4 client

Moderator: alt

Locked
NickAskew
Posts: 60
Joined: Tue Oct 07, 2008 1:35 pm

BindTransceiverResp with status SMPPCLIENT_RCVTIMEOUT

Post by NickAskew » Tue Oct 14, 2008 2:45 pm

Hi Alt,

I have implemented your component successfully for several SMSC's however I have encountered a tricky one which will not allow me to bind, I have included the SmppClientDemo log below and wondered if you had any suggestions on my next step to troubleshoot the reason behind the failure, thanks in advance. (I downloaded the most recent version of the DLL from your site today)


15:41:21: SmppClient connected
15:41:21: Binding SmppClient for SystemId: <replaced id>
15:42:21: Bad status returned during Bind : BindTransceiverResp with status SMPPCLIENT_RCVTIMEOUT
15:42:21: Sending Data: 0000002e000000090000000015b0cf346176616e71756573745f3734353333006271713372614644000034000000
15:42:21: SmppClient disconnected


Regards
Nick
ProcessFlows UK Ltd
http://www.processflows.co.uk/
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Fri Oct 17, 2008 12:39 pm

Hi Nick,

It is difficult to suggest something here. It looks like server does not send a response. If it is possible, I would test your SMSC.

Regards,
Alexey
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Fri Oct 17, 2008 6:13 pm

Also you can trace System.Net.
In the file SmppClientDemo.exe.config add following xml inside <configuration></configuration>

<system.diagnostics>
<sources>
<source name="System.Net">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
<source name="System.Net.Sockets">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
<source name="System.Net.Cache">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
</sources>
<switches>
<add name="System.Net" value="31"/>
<add name="System.Net.Sockets" value="Verbose" />
<add name="System.Net.Cache" value="Verbose" />
</switches>
<sharedListeners>
<add name="System.Net"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="system_net.log"
/>
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
NickAskew
Posts: 60
Joined: Tue Oct 07, 2008 1:35 pm

Post by NickAskew » Sat Oct 25, 2008 12:48 pm

This was the same provider I had issues with previously, it turned out to be a poorly configured router at their end.. your component was spot on, thanks :)
ProcessFlows UK Ltd
http://www.processflows.co.uk/
passman609
Posts: 1
Joined: Wed Dec 24, 2008 3:27 am

Post by passman609 » Wed Dec 24, 2008 4:02 am

i meet the same problem.

system.net.log:

Code: Select all

System.Net.Sockets Verbose: 0 : [1908] DNS::GetHostEntry(10.11.1.60)
System.Net.Sockets Verbose: 0 : [1908] Exiting DNS::GetHostEntry() 	-> IPHostEntry#34948909
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::Socket(InterNetwork#2)
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::Socket() 
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::BeginConnect(60:7800#1006703986)
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::BeginConnect() 	-> ConnectAsyncResult#12289376
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::EndConnect(ConnectAsyncResult#12289376)
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::EndConnect() 
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::BeginReceive()
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::BeginReceive() 	-> OverlappedAsyncResult#43495525
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::BeginSend()
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::BeginSend() 	-> OverlappedAsyncResult#55915408
System.Net.Sockets Verbose: 0 : [3100] Data from Socket#46104728::PostCompletion
System.Net.Sockets Verbose: 0 : [3100] 00000000 : 00 00 00 23 00 00 00 09-00 00 00 00 30 7E 69 3A : ...#........0~i:
System.Net.Sockets Verbose: 0 : [3100] 00000010 : 36 33 30 30 31 38 00 6A-7A 77 68 78 74 00 00 34 : 630018.jzwhxt..4
System.Net.Sockets Verbose: 0 : [3100] 00000020 : 00 00 00                                        : ...
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::EndSend(OverlappedAsyncResult#55915408)
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::EndSend() 	-> 35#35
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::EndReceive(OverlappedAsyncResult#43495525)
System.Net.Sockets Error: 0 : [3100] Exception in the Socket#46104728::EndReceive - 远程主机强迫关闭了一个现有的连接。
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::EndReceive() 	-> 0#0
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::Shutdown(Both#2)
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::Shutdown() 
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::Close()
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::Dispose()
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::Close()
Locked