Pdu command length error
- Dominant language
- JavaScript
- Stars
- 435
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Description
Hello I have this issue while connecting to a server:
```
App running on Port: 5000
2023-05-07T19:21:15.811Z - cli - 878563 - server.connected - connected to server - {"secure":false} - [172.31.34.175]
2023-05-07T19:21:15.812Z - cli - 878563 - pdu.command.out - bind_transceiver - {"command":"bind_transceiver","command_length":0,"command_id":9,"command_status":0,"sequence_number":1,"system_id":"****","password":"****","system_type":"","interface_version":80,"addr_ton":0,"addr_npi":0,"address_range":""} - [172.31.34.175]
2023-05-07T19:21:15.813Z - cli - 878563 - socket.data.out - - {"bytes":37} - [172.31.34.175]
2023-05-07T19:21:15.815Z - cli - 878563 - socket.data.in - - {"bytes":309} - [172.31.34.175]
2023-05-07T19:21:15.815Z - cli - 878563 - pdu.command.error - PDU length was too large (1213486160, maximum is 16384). - {} - [172.31.34.175]
SMPP session error: Error: PDU length was too large (1213486160, maximum is 16384).
at PDU.commandLength (/usr/src/app/node_modules/smpp/lib/pdu.js:50:9)
at Session._extractPDUs (/usr/src/app/node_modules/smpp/lib/smpp.js:188:32)
```
I don't know if you know what could be causing this, because I have tried rewriting the code but I keep getting the same issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.