opentelecoms-org / jsmpp

SMPP implemented in Java
Apache License 2.0
230 stars 160 forks source link

org.jsmpp.session.SMPPSession] - Receive negative bind response org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found #131

Open vatsalnarry2 opened 3 years ago

vatsalnarry2 commented 3 years ago

Hi I am getting below error.Can anyone explain reason of this error

org.jsmpp.session.SMPPSession] - Receive negative bind response org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found

pmoerenhout commented 3 years ago

0x0000000D ESME_RBINDFAIL Bind Failed A generic failure scenario for a bind attempt. This may be due to a provisioning error, incorrect password or other reason. A MC will typically return this error for an invalid system_id, system_type, password or other attribute that may cause a bind failure.

You can find all errorcodes at https://smpp.org/smppv50.pdf

vatsalnarry2 commented 3 years ago

i created 3 jar for 3 different server.. message.properties file is same for all server .Message server is common. in 1 server message is sent successfully.But in another 2 server i am getting 0000000d error. I am ruling out invalid system_id, system_type, password option because if it is wrong the message will not be sent in a single server. Regarding provisioning i am not sure.How i need to mention provisioning in my java jar or is its handled by server. Please guid me on this

vatsalnarry2 commented 3 years ago

hi Pim I am getting only errorcode..No detail what is exact reason of error. Same sms server is giving proper reponse in 1 weblogic server and another 2 weblogic server are giving 0000000d error. I am clueless why this error is coming

darkkiss1984 commented 3 years ago

Just an idea ... it could be related to the number of concurrent SMPP sessions allowed by your provider. If you are allowed only 1 smpp session, you could receive BINDFAIL for any extra smpp sessions you want to establish. Anyhow, I don't think anyone can you give any extra information on this error, your provider(who generates that error) should be able to tell you exactly what's wrong.

vatsalnarry2 commented 3 years ago

@darkkiss1984 thanks for reply. Our smsc is asking to reset connection and session before sending bind request to server. How we can check what are active session or connection in jsmpp for sms server