linxGnu / gosmpp

Smpp (3.4) Client Library for Go
Apache License 2.0
152 stars 59 forks source link

Error receiving #106

Closed pietrodicaprio closed 1 year ago

pietrodicaprio commented 1 year ago

Using the code from the example, after sending few SMSs I get Receiving PDU/Network error: Not enough byte to read from buffer but I don't understand where this buffer is set.\ Any suggestion?

linxGnu commented 1 year ago

@pietrodicaprio

I am sorry for late response due to personal matter. Could you please give me stack trace of error.

Basically, this error means the connection dropped and failed to read from conn.

pietrodicaprio commented 1 year ago

I'm not using the lib anymore as the provider (OVH) offers a different SMS package working via REST API and that is simpler for me.\ Anyway I didn't get any more detailed trace when getting that error.

solaim commented 1 year ago

same issue. If CommandStatus not ESME_ROK, error: Not enough byte to read from buffer. And at server error occurred on connection=[::1]:62893, connection reset by peer\n