Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-3276

[cpp] No transaction ID returned by remote coordinator

XMLWordPrintable

    • False
    • False
    • Hide
      1. install legacy c++ client
      2. download and build QE client:
        $ git clone https://github.com/rh-messaging/cli-cpp; cd cli-cpp; cmake --configure .; make aac0_sender
      3. run the AMQ Broker
      4. run the TX sender
        $ aac0_sender --broker admin:admin@<host>:5672 --connection-options "{ sasl_mechanisms : 'PLAIN', protocol : 'amqp1.0' }" --address "test_simple_transaction_sender" --tx-endloop-action commit
      5. got ecode 1 and the following error message: No transaction ID returned by remote coordinator
      Show
      install legacy c++ client download and build QE client: $ git clone https://github.com/rh-messaging/cli-cpp ; cd cli-cpp; cmake --configure .; make aac0_sender run the AMQ Broker run the TX sender $ aac0_sender --broker admin:admin@<host>:5672 --connection-options "{ sasl_mechanisms : 'PLAIN', protocol : 'amqp1.0' }" --address "test_simple_transaction_sender" --tx-endloop-action commit got ecode 1 and the following error message: No transaction ID returned by remote coordinator

      All QE transaction tests are failing with proton-0.37.0:

      No transaction ID returned by remote coordinator is returned
      

      package versions:
      qpid-cpp-client-1.36.0-32
      qpid-proton-c-0.37.0-1

      Proton 0.35.0 (AMQ Clients 2.10.x) does not suffer from this issue, thus adding regression label.

      # PN_TRACE_FRM=1 target/bin/aac0_sender --broker admin:admin@<host>:5672 --connection-options "{  sasl_mechanisms : 'PLAIN', protocol : 'amqp1.0' }" --address "test_simple_transaction_sender" --tx-endloop-action commit
      [0xa798a0]: AMQP:FRAME:  <- AMQP
      [0xa798a0]: AMQP:FRAME:  -> AMQP
      [0xa798a0]: AMQP:FRAME:0 -> @open(16) [container-id="b4f780ee-d918-4bdc-81f3-d57568c05891", channel-max=0x7fff, properties={:"qpid.client_process"=:"aac0_sender", :"qpid.client_pid"=5006, :"qpid.client_ppid"=31532}]
      [0xa798a0]: AMQP:FRAME:0 <- @open(16) [container-id="amq", max-frame-size=0x20000, channel-max=0xffff, idle-time-out=0x7530, offered-capabilities=@<symbol>[:sole-connection-for-container, :"DELAYED_DELIVERY", :SHARED-SUBS, :ANONYMOUS-RELAY], properties={:product="apache-activemq-artemis", :version="2.18.0.redhat-00017"}]
      [0xa798a0]: AMQP:FRAME:0 -> @begin(17) [next-outgoing-id=0x0, incoming-window=0x7fffffff, outgoing-window=0x7fffffff]
      [0xa798a0]: AMQP:FRAME:0 <- @begin(17) [remote-channel=0x0, next-outgoing-id=0x1, incoming-window=0x7fffffff, outgoing-window=0x7fffffff, handle-max=0xffff]
      [0xa798a0]: AMQP:FRAME:0 -> @attach(18) [name="tx-transaction", handle=0x0, role=false, snd-settle-mode=0x0, rcv-settle-mode=0x0, source=@source(40) [address="tx-transaction", durable=0x0, timeout=0x0, dynamic=false], target=@coordinator(48) [capabilities=:"amqp:local-transactions"], initial-delivery-count=0x0]
      [0xa798a0]: AMQP:FRAME:0 <- @attach(18) [name="tx-transaction", handle=0x0, role=true, snd-settle-mode=0x2, rcv-settle-mode=0x0, source=@source(40) [address="tx-transaction"], target=@coordinator(48) [capabilities=@<symbol>[:"amqp:local-transactions", :"amqp:multi-txns-per-ssn", :"amqp:multi-ssns-per-txn"]]]
      [0xa798a0]: AMQP:FRAME:0 <- @flow(19) [next-incoming-id=0x0, incoming-window=0x7fffffff, next-outgoing-id=0x1, outgoing-window=0x7fffffff, handle=0x0, delivery-count=0x0, link-credit=0x3e8]
      [0xa798a0]: AMQP:FRAME:0 -> @transfer(20) [handle=0x0, delivery-id=0x0, delivery-tag=b"\x00\x00\x00\x00", message-format=0x0] (30) \x00Sp\xc0\x04\x02BP\x00\x00St\xc1\x01\x00\x00Sw\x00S1\xd0\x00\x00\x00\x04\x00\x00\x00\x00
      [0xa798a0]: AMQP:FRAME:0 <- @disposition(21) [role=true, first=0x0, last=0x0, settled=true, state=@declared(51) [txn-id=b"14e2f1ec-9a19-11ec-ab74-fa163e05e371"]]
      No transaction ID returned by remote coordinator.
      [0xa798a0]: AMQP:FRAME:0 -> @end(23) []
      [0xa798a0]: AMQP:FRAME:0 -> @close(24) []
      [0xa798a0]:   IO:FRAME:  -> EOS
      [0xa798a0]: AMQP:FRAME:0 <- @end(23) []
      [0xa798a0]: AMQP:FRAME:0 <- @close(24) []
      [0xa798a0]:   IO:FRAME:  <- EOS
      

            astitcher Andrew Stitcher
            pematous Petr Matousek
            Petr Matousek Petr Matousek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: