Skip to content

'Failed to read reply to command: 0x2' #39

Closed
@IreneLing

Description

@IreneLing

Hi,

Thanks for your work and currently I'm using it. However I'm facing an error as below:

Fatal error: Uncaught exception 'SmppException' with message 'Failed to read reply to command: 0x2' in /var/www/smpp/smppclient.class.php:620 Stack trace: #0 /var/www/smpp/smppclient.class.php(479): SmppClient->sendCommand(2, 'xxxx?xxxx...') #1 /var/www/smpp/smppclient.class.php(134): SmppClient->_bind('xxxxx', 'xxxxxx', 2) #2 /var/www/smpp/sms.php(18): SmppClient->bindTransmitter('xxxxx', 'xxxxx') #3 {main} thrown in /var/www/smpp/smppclient.class.php on line 620

Here is my test script:

setRecvTimeout(10000); $transport->setSendTimeout(10000); $smpp = new SmppClient($transport); // Activate binary hex-output of server interaction $smpp->debug = true; $transport->debug = true; // Open the connection $transport->open(); $smpp->bindTransmitter("xxxxx","xxxxx"); // Optional connection specific overrides SmppClient::$sms_null_terminate_octetstrings = false; SmppClient::$csms_method = SmppClient::CSMS_PAYLOAD; //SmppClient::$sms_registered_delivery_flag = SMPP::REG_DELIVERY_SMSC_BOTH; $smpp->close(); ?>

I can see some people having error 0x4 , however I unable to find any thread related to error 0x2.
Please help?Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions