Hi

When using the Go electron bindings I am unable to send a message larger
than 16k in size to the qpidd broker. The broker seems to receive the data
but never responds with an appropriate message causing the electron client
to hang indefinitely. I have the following debug output from the broker
showing the broker receiving 2 messages 1 smaller than 16k and 1 larger than
16k. As you can see from the output the 'received delivery' line never
appears in the larger message output.

*Message <16k*

2018-10-18 15:08:20 [Broker] debug Incoming link attached
2018-10-18 15:08:20 [Protocol] debug qpid.172.18.0.2:5672-172.18.0.5:45908
link 0x7f304c002b30 attached on 0x7f304c00e360
2018-10-18 15:08:20 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45908
encoded 353 bytes from 65536
2018-10-18 15:08:20 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45908
decoded 7240 bytes from 7240
2018-10-18 15:08:20 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45908
decoded 2830 bytes from 2830
2018-10-18 15:08:20 [Broker] debug received delivery: 1

*Message >16k*

2018-10-18 15:06:32 [Broker] debug Incoming link attached
2018-10-18 15:06:32 [Protocol] debug qpid.172.18.0.2:5672-172.18.0.5:45896
link 0x7f22d4003770 attached on 0x7f22d400efe0
2018-10-18 15:06:32 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45896
encoded 353 bytes from 65536
2018-10-18 15:06:32 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45896
decoded 7240 bytes from 7240
2018-10-18 15:06:32 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45896
decoded 9144 bytes from 9144
2018-10-18 15:06:32 [Network] debug qpid.172.18.0.2:5672-172.18.0.5:45896
decoded 43686 bytes from 43686


Using the python client I can send much larger messages than 16k to the same
broker so it appears to be an issue with the Go bindings.

The issue can be recreated by editing the example send.go file in the
electron repo to look like https://play.golang.org/p/2dQ4jdlKHKi

I am using version 1.38.0 of qpidd running on Centos 7 and the Go is bring
compiled with the latest electron bindings and 0.24.0-1 qpid-proton-c
library.

My knowledge of AMQP and the qpidd internals isn't great so I'm unsure of
why qpidd thinks it hasn't got the delivery so any help much appreciated.

Thanks
Rob




--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to