UNABLE TO GET RESPONSE FROM SPACE ALTHOUGH MESSAGE IS GETTING INTO THE SYSTEM

瀏覽次數:43 次
跳到第一則未讀訊息

Adebayo Okutubo

未讀,
2023年5月9日 上午11:06:422023/5/9
收件者:jPOS Users
Good day team, I'm integrating with a particular processor that requires I send echo messages every 12 second.  I'm using springboot with jpos.

my procedure
---------------------------------------------------------------------
1. I created a component bean that extended NAC channel.to maintain the connection      between my system and the process via echo messages every 12 seconds.
2. Then I set up a channel adapter and mux (with the appropriate keys) below is a  my mux and channel configuration:

<channel-adaptor name="upconnect-channel" class="org.jpos.q2.iso.ChannelAdaptor"

                 logger="Q2">

    <channel class="com.tm30.IS08583router.channel.UpConnectNACChannel"

             packager="org.jpos.iso.packager.GenericPackager">

               <property name="packager-config"  value="config/cfg/postpack.xml$

        <property name="host" value="xxxxxxxx"/>

        <property name="port" value="xxxx"/>

        <property name="timeout" value="180000"/>

        <property name="connection-timeout" value="180000"/>

        <property keep-alive="true"/>

    </channel>

    <in>upconnect-send</in>

    <out>upconnect-receive</out>

    <reconnect-delay>10000</reconnect-delay>

</channel-adaptor>


<mux class="org.jpos.q2.iso.QMUX" logger="Q2" name="UPCONNECT-AUTORESPONDER">

    <key>11 37</key>

    <in>upconnect-receive</in>

    <out>upconnect-send</out>

    <ready>upconnect-channel.ready</ready>

</mux>




The issue:
I noticed sending msg gets to my transaction manager and to the point where the channel adapter sends it. On receiving, I can see the response has gotten to my system but on getting to SendResponse participant, the response is absent in the context. After the full transaction has been logged the error message is as follows:

RESULT: 

       <result>

         <fail>

           [HOST_UNREACHABLE] o.j.t.p.QueryHost.expired:112 'mux.UPCONNECT-AUTORESPONDER' does not respond

         </fail>

       </result>

I would appreciate any help or suggestions to make this resolved, Thanks..

Andrés Alcarraz

未讀,
2023年5月9日 上午11:30:372023/5/9
收件者:jpos-...@googlegroups.com

Hi Adebayo.

Can you show the sent and received messages?

Most probably, the response didn't match request's key. Did you validate fields 11 and 37 matched?

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/780f09ba-5472-4bda-8b35-1cae3672f7dan%40googlegroups.com.

Adebayo Okutubo

未讀,
2023年5月9日 上午11:59:482023/5/9
收件者:jPOS Users
Request:


 <isomsg direction="outgoing">
         <!-- org.jpos.iso.packager.GenericPackager[/Users/mac/Documents/IS08583-router/config/cfg/postpack.xml] -->
         <field id="0" value="0200"/>
         <field id="2" value="xxxxxxxxxxxxxxxxxx"/>
         <field id="3" value="011000"/>
         <field id="4" value="000002000000"/>
         <field id="7" value="0508011452"/>
         <field id="11" value="031114"/>
         <field id="12" value="031114"/>
         <field id="13" value="0509"/>
         <field id="14" value="2405"/>
         <field id="18" value="6010"/>
         <field id="22" value="051"/>
         <field id="23" value="000"/>
         <field id="25" value="00"/>
         <field id="26" value="04"/>
         <field id="28" value="D00000000"/>
         <field id="32" value="111129"/>
         <field id="35" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
         <field id="37" value="230509031114"/>
         <field id="40" value="221"/>
         <field id="41" value="20442R11"/>
         <field id="42" value="2044LA000016107"/>
         <field id="43" value="UNIFIED MERCHANT SERVICE LIMITED    LANG"/>
         <field id="49" value="566"/>
         <field id="56" value="1510"/>
         <field id="98" value="20442R11"/>
         <field id="103" value="87001510"/>
         <field id="123" value="510101513344101"/>
         <isomsg id="127">
           <!-- org.jpos.iso.packager.GenericPackager[config/cfg/postpack.xml] -->
           <field id="2" value="0106200448002004480106200448"/>
           <field id="3" value="029371784330                                    "/>
           <field id="13" value="000000566        "/>
           <field id="20" value="20230509"/>
           <field id="25"><![CDATA[<?xml version='1.0' encoding='UTF-8'?><IccData><IccRequest><AmountAuthorized>000005000000</AmountAuthorized><AmountOther>000000000000</AmountOther><ApplicationInterchangeProfile>3900</ApplicationInterchangeProfile><ApplicationTransactionCounter>000C</ApplicationTransactionCounter><Cryptogram>538D2DD7C5A8981C</Cryptogram><CryptogramInformationData>80</CryptogramInformationData><CvmResults>410302</CvmResults><IssuerApplicationData>0110A50003020000000000000000000000FF</IssuerApplicationData><TerminalCapabilities>E0F8C8</TerminalCapabilities><TerminalCountryCode>566</TerminalCountryCode><TerminalType>22</TerminalType><TerminalVerificationResult>0480000000</TerminalVerificationResult><TransactionCurrencyCode>566</TransactionCurrencyCode><TransactionDate>230509</TransactionDate><TransactionType>00</TransactionType><UnpredictableNumber>6BC3F3D0</UnpredictableNumber></IccRequest></IccData>]]></field>
           <field id="33" value="6008"/>
         </isomsg>
       </isomsg>

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


Response:

<isomsg direction="incoming">
  <!-- org.jpos.iso.packager.GenericPackager[/Users/mac/Documents/IS08583-router/config/cfg/postpack.xml] -->
  <field id="0" value="0210"/>
  <field id="2" value="xxxxxxxxxxxxxxxxxx"/>
  <field id="3" value="011000"/>
  <field id="4" value="000002000000"/>
  <field id="7" value="0508011452"/>
  <field id="11" value="846512"/>
  <field id="12" value="031114"/>
  <field id="13" value="0509"/>
  <field id="14" value="2405"/>
  <field id="18" value="6010"/>
  <field id="22" value="051"/>
  <field id="23" value="000"/>
  <field id="25" value="00"/>
  <field id="26" value="04"/>
  <field id="28" value="D00000000"/>
  <field id="32" value="545361"/>
  <field id="33" value="545361"/>
  <field id="35" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/>
  <field id="37" value="230509031114"/>
  <field id="39" value="91"/>
  <field id="40" value="221"/>
  <field id="41" value="20442R11"/>
  <field id="42" value="2044LA000016107"/>
  <field id="43" value="UNIFIED MERCHANT SERVICE LIMITED    LANG"/>
  <field id="49" value="566"/>
  <field id="56" value="1510"/>
  <field id="62" value="20442R11                 "/>
  <field id="98" value="20442R11                 "/>
  <field id="103" value="87001510"/>
  <field id="123" value="510101513344101"/>
  <isomsg id="127">
    <!-- org.jpos.iso.packager.GenericSubFieldPackager -->
    <field id="2" value="0106200448002004480106200448"/>
    <field id="3" value="029371784330                                    "/>
    <field id="13" value="000000566        "/>
    <field id="20" value="20230509"/>
    <field id="25"><![CDATA[<?xml version="1.0" encoding="UTF-8" ?><IccData><IccRequest><ApplicationTransactionCounter>000C</ApplicationTransactionCounter></IccRequest></IccData>]]></field>
    <field id="33" value="6008"/>
  </isomsg>
</isomsg>

Adebayo Okutubo

未讀,
2023年5月9日 中午12:04:122023/5/9
收件者:jPOS Users
Hi Mark, I just noticed field 11 values didn't match for both the request and response, thanks.
回覆所有人
回覆作者
轉寄
0 則新訊息