question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to parse iso8583 packet.

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jukscommented, Aug 31, 2016

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.

0reactions
jukscommented, Jun 14, 2022

Hi! It accepts no xmk but json format.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to parse iso8583 packet. · Issue #3 - GitHub
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...
Read more >
Issue while parsing ISO 8583 Response message.
I am simply trying to give you an idea. The right way is to deploy channel adaptors that replace the hard coded channels...
Read more >
JPOS ISO 8583 parsing issue - java - Stack Overflow
The question is quite simple when you call data.getBytes() the data is actually encoded hex data, not the data created by isoMsg.pack() ....
Read more >
iso8583 - Go Packages
New("isosim: Insufficient data to parse field"). ErrInsufficientData is an error when there is not enough data in the raw message to parse it....
Read more >
Solved: Unable to parse an ISO 8583 Msg - Experts Exchange
I have a certain ISO 8583 Msg that I want to parse using jPOS Api....But so far i am unsuccessful..... public class ParseISOMessage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found