[ 
https://issues.apache.org/jira/browse/DISPATCH-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Conway updated DISPATCH-1249:
----------------------------------
    Description: 
Set up a chain of 4 routers, each connected to the previous. Wait for qdstat 
-nv at router 1 to show 4 routers in the known topology. Receive messages from 
address x at router 4, send to address x from router 1. Messages are rejected 
at the sender.

Reproducer: 

make install this version of quiver (extented to allow separate send/receive 
URLS). If you have maven installed you should edit the makefile to disable the 
Java arrow as the build is very slow and fragile:

    [https://github.com/alanconway/quiver]

run the attached script like this:

    qdr-chain.sh quiver --arrow c  --count 1000 --send-url //:10001/x 
//:10004/x     

The script generates config files, starts four routers, waits for qdstat -nv to 
show the full topology and then runs quiver as directed. Edit the script to 
change logging or other config settings. Log and config files are created in 
the current directory.

WARNING the script will kill any running qdrouterd.

I see the sender fail with this error:

    impls/quiver-arrow-qpid-proton-c.c:307: bad delivery: 
pn_delivery<0x8aad20>\{sending, tag=b"\x01\x00\x00\x00\x00\x00\x00\x00", 
local=unknown, remote=rejected} 

NOTE: the script configures the address "testme" on all 4 routers, if you run 
the test like this it passes:

    qdr-chain.sh quiver --arrow c  --count 1000 --send-url //:10001/testme 
//:10004/testme

 NOTE: you may need to add --timeout 60 to the quiver command if the test 
doesn't complete within the default 10sec timeout.

  was:
Set up a chain of 4 routers, each connected to the previous. Wait for qdstat 
-nv at router 1 to show 4 routers in the known topology. Receive messages from 
address x at router 4, send to address x from router 1. Messages are rejected 
at the sender.

Reproducer: 

make install this version of quiver (extented to allow separate send/receive 
URLS). If you have maven installed you should edit the makefile to disable the 
Java arrow as the build is very slow and fragile:

    [https://github.com/alanconway/quiver]

run the attached script like this:

    qdr-chain.sh quiver --arrow c  --count 1000 --send-url //:10001/x 
//:10004/x     

The script generates config files, starts four routers, waits for qdstat -nv to 
show the full topology and then runs quiver as directed. Edit the script to 
change logging or other config settings. Log and config files are created in 
the current directory.

WARNING the script will kill any running qdrouterd.

I see the sender fail with this error:

    impls/quiver-arrow-qpid-proton-c.c:307: bad delivery: 
pn_delivery<0x8aad20>\{sending, tag=b"\x01\x00\x00\x00\x00\x00\x00\x00", 
local=unknown, remote=rejected} 

NOTE: the script configures the address "testme" on all 4 routers, if you run 
the test like this it passes:

    qdr-chain.sh quiver --arrow c  --count 1000 --send-url //:10001/testme 
//:10004/testme

 


> Rejected messages in a 4-router chain
> -------------------------------------
>
>                 Key: DISPATCH-1249
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1249
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.2.0
>            Reporter: Alan Conway
>            Priority: Major
>         Attachments: qdr-chain.sh
>
>
> Set up a chain of 4 routers, each connected to the previous. Wait for qdstat 
> -nv at router 1 to show 4 routers in the known topology. Receive messages 
> from address x at router 4, send to address x from router 1. Messages are 
> rejected at the sender.
> Reproducer: 
> make install this version of quiver (extented to allow separate send/receive 
> URLS). If you have maven installed you should edit the makefile to disable 
> the Java arrow as the build is very slow and fragile:
>     [https://github.com/alanconway/quiver]
> run the attached script like this:
>     qdr-chain.sh quiver --arrow c  --count 1000 --send-url //:10001/x 
> //:10004/x     
> The script generates config files, starts four routers, waits for qdstat -nv 
> to show the full topology and then runs quiver as directed. Edit the script 
> to change logging or other config settings. Log and config files are created 
> in the current directory.
> WARNING the script will kill any running qdrouterd.
> I see the sender fail with this error:
>     impls/quiver-arrow-qpid-proton-c.c:307: bad delivery: 
> pn_delivery<0x8aad20>\{sending, tag=b"\x01\x00\x00\x00\x00\x00\x00\x00", 
> local=unknown, remote=rejected} 
> NOTE: the script configures the address "testme" on all 4 routers, if you run 
> the test like this it passes:
>     qdr-chain.sh quiver --arrow c  --count 1000 --send-url //:10001/testme 
> //:10004/testme
>  NOTE: you may need to add --timeout 60 to the quiver command if the test 
> doesn't complete within the default 10sec timeout.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to