Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SmppException: Bind Failed #88

Open
GeekGuste opened this issue Sep 20, 2019 · 0 comments
Open

Uncaught SmppException: Bind Failed #88

GeekGuste opened this issue Sep 20, 2019 · 0 comments

Comments

@GeekGuste
Copy link

Hello,
I use the smpp library to connect to a remote smpp server. Opening the connection works well but when I run a bindTransmitter I get the following error:

[19-Sep-2019 23:28:13 Europe/Paris] PHP Fatal error: Uncaught SmppException: Bind Failed in /home/tincaxxc/catchit.cap-culture.info/smpp-server/smppclient.class.php:622
Stack trace:
#0 /home/tincaxxc/catchit.cap-culture.info/smpp-server/smppclient.class.php(479): SmppClient->sendCommand(2, 'myusername\x00mypassword...')
#1 /home/tincaxxc/catchit.cap-culture.info/smpp-server/smppclient.class.php(134): SmppClient->_bind('myusername', 'mypassword', 2)
#2 /home/tincaxxc/catchit.cap-culture.info/smpp-server/send.php(24): SmppClient->bindTransmitter('myusername', 'mypassword')
#3 {main}
thrown in /home/tincaxxc/catchit.cap-culture.info/smpp-server/smppclient.class.php on line 622

This is my code

setRecvTimeout(10000); $smpp = new SmppClient($transport); // Activate binary hex-output of server interaction $smpp->debug = true; $transport->debug = true; $transport->setSendTimeout(30000); // Open the connection $transport->open(); $smpp->bindTransmitter($username,$password);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant