Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Receiving SmppChannelException while the SMSC is still sending response #120

Open
MaximeKestemont opened this issue Nov 27, 2015 · 2 comments

Comments

@MaximeKestemont
Copy link

Hi,

My test case is the following : I am trying to send 100 000 SubmitSM request to a production SMSC.
In some cases, this test will work correctly, and I will be able to send all the 100 000 sms, and receiving response from the server for each of them.

However, I have sometimes experienced failure, receiving a com.cloudhopper.smpp.type.SmppChannelException : Channel was closed after sending request, but before receiving response. The strange part is, even if the channel seems closed, I am still able to send request, see the request in the logs of the SMSC, which then send me back the response, which I do not receive.
It seems that I am thus still able to send requests to the SMSC, but not to receive anything.

My questions are :

  • What could cause this ChannelException? I see nothing particular in the logs of the SMSC.
  • Why I am still able to send request once the channel seems closed, but not receive any response?

Moreover, my quick fix was to unbind and destroy the session, then rebind myself when I encountered this exception. However, the connection was refused, so I had to wait a small period of time (10s) before trying the rebinding, which then worked correctly. Any hindsight on that problem?

Thanks !

@lospejos
Copy link

I faced the same error. My details:

  1. Sending about 15 SMSs (not hundreds nor thousends);
  2. My session example: 1 sent, 2 errors, then again 3 sent, 2 errors etc, i.e. without restarting or reconfiguring, errors and succeeded attempts are mixed;
  3. cloudhopper-smpp version is 5.0.9

@Eeswar-Surya
Copy link

Eeswar-Surya commented Feb 12, 2020

Year 2020. cloudhopper-smpp version is 5.0.8

  1. Getting the Exception for 5 sms (neither hundreds nor thousands)
  2. isBound returns true
  3. EnquireLink returns SmppChannel Exception.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants