Failed to parse iso8583 packet.
See original GitHub issueI started ISO Host Emulation and “Self Test” Clients:
node socketQueue.js --upstreamHost=localhost --upstreamPort=5000 --listenPort=8080 --vv --echoServerPort=5000
I used your example:
curl -H "Content-Type: application/json" -X POST -d '{ "0": "0200", "3": "0", "4": 1000, "7": "0818160933", "11": 618160, "12": "150820130600", "22": "056", "24": "200", "25": "00", "35": "4850781234567891=19082012232800000037", "41": 992468, "42": 124642124643, "49": "810", "55": "9f2608571f1e10d4fa4aac9f2701809f100706010a03a4b8029f37045bb074729f3602000c950500800010009a031508189c01009f02060000000010005f2a02064382023c009f1a0206439f03060000000000009f3303e0f0c89f34034403029f3501229f1e0835313230323831358407a00000000310109f41030000565f340101" }' http://localhost:8080
I got this error:
2016-08-31 22:43:34 - info: The queue is empty
2016-08-31 22:43:39 - info: Client ::1:6798 connected
2016-08-31 22:43:39 - info: Client ::1:6798 sent data (656b)
2016-08-31 22:43:39 - verbose: [POST...H...]
2016-08-31 22:43:39 - info: ::1:6798: Warning! Failed to parse iso8583 packet. W
on't queue!
2016-08-31 22:43:39 - info: Client ::1:6798 <end> event
2016-08-31 22:43:39 - info: Client ::1:6798 <close> event
It seems to work previously…
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top GitHub Comments
Hi!
The reason why you get this error is you run the service using –listenPort=8080 option, that opens raw ISO-8583 service on port 8080. You should use –listenHttpPort=8080 instead. Or you can use both, but with different ports specified.
Hi! It accepts no xmk but json format.