Closed sihameed closed 6 years ago
Hi Igor,
I just found exception in our host when receive the message.
Below host exception when i trigger transaction:
<log realm="ON2.channel/127.0.0.1:41306" at="Fri Jun 08 11:18:01 WIB 2018.316" lifespan="321026ms">
<receive>
<iso-exception>
org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48 (java.lang.ArrayIndexOutOfBoundsException: 181) unpacking field=48, consumed=146
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48 (java.lang.ArrayIndexOutOfBoundsException: 181) unpacking field=48, consumed=146
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:261)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:478)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:963)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:690)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:130)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:71)
</iso-exception>
--- data ---
0000 30 31 30 30 62 30 33 38 30 34 30 31 30 38 61 31 0100b038040108a1
0010 38 30 30 30 30 30 30 30 30 30 30 30 34 30 30 30 8000000000004000
0020 30 30 30 30 31 38 32 30 30 30 30 30 30 30 30 32 0000182000000002
0030 35 30 30 30 30 30 33 39 38 36 32 31 30 30 30 30 5000003986210000
0040 30 30 31 39 33 30 30 36 30 31 31 36 30 31 38 30 0019300601160180
0050 33 30 30 35 30 30 30 33 31 37 31 35 35 32 31 32 3005000317155212
0060 30 30 30 30 30 30 31 31 30 30 30 30 30 30 30 30 0000001100000000
0070 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0080 30 30 30 30 30 30 30 30 49 6E 74 65 72 6E 65 74 00000000Internet
0090 30 31 37 31 30 31 30 20 30 30 30 30 30 30 30 32 0171010 00000002
00a0 35 30 30 30 33 36 30 31 32 30 38 37 38 38 32 38 5000360120878828
00b0 33 37 31 36 30 37160
</receive>
</log>
<log realm="ON2-server.server.session/127.0.0.1" at="Fri Jun 08 11:18:01 WIB 2018.317">
<session-error>
<iso-exception>
org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48 (java.lang.ArrayIndexOutOfBoundsException: 181) unpacking field=48, consumed=146
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLLCHAR: Problem unpacking field 48 (java.lang.ArrayIndexOutOfBoundsException: 181) unpacking field=48, consumed=146
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:261)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:478)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:963)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:690)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:130)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:71)
</iso-exception>
</session-error>
</log>
Seems like there is misconfiguration from my SQ, but i still don't know what it is.
Hi Igor.
I found the error, i have wrong setting and wrong request. After fixing it, its running well.
Thanks
OK.
"Socket is not connected yet" means there is no connection with the upstream host at the moment.
Hi Igor,
Need your help again :-). In my previous question, i only test the sign-on message only, and sign-on/echo message is working fine. But when i sent the transaction, SQ doesn't give any response.
SQ command:
node socketQueue.js --upstreamHost=127.0.0.1 --upstreamPort=333 --listenHttpPort=8080 --vv --logFile=log.txt --lengthHeaderType=hex --overrides=1:bitmap-hex:8,39:fixed-n:2 --hostConfig upg
http post data:
{ "0": "0100", "3": "182000", "4":"000002500000", "11": "398621", "12": "193006", "13": "0116", "22": "018", "32": "005", "37": "000317155212", "41": "00000882", "43": "Internet", "48": "1010 000000025000", "49": "360", "98":"087882837160" }
SQ log:
Note: I add new MTI 0100 in the packager "upg"
Why SQ printed out "Socket is not connected yet.."? Can we set SQ send echo message regularly into host?
Please help...