You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2018/03/23 09:13:00 UTC

[jira] [Closed] (PROTON-1424) Error with Protobuf (python)

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

Robbie Gemmell closed PROTON-1424.
----------------------------------
    Resolution: Incomplete

This seems likely to be due to use of one of ActiveMQ's 'transformers' which converts messages within the broker, or rather in some cases does not and simply pipes the raw protocol message bytes out as the payload of a converted message. Without more detail its hard to suggest anything beyond that. Feel free to add a reproducer.

> Error with Protobuf (python)
> ----------------------------
>
>                 Key: PROTON-1424
>                 URL: https://issues.apache.org/jira/browse/PROTON-1424
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.17.0
>         Environment: Astra Linux/Ubuntu
>            Reporter: rkvtsn
>            Priority: Critical
>
> Request from python-qpid-proton client to JMS server through ActiveMQ.
> message.body contains a Protobuf.
> JMS server can't recognize message.body and raise an exception: "Protocol message contained an invalid tag (zero)."
> Normal protobuf: 	<0A 05 61 64 6D 69 6E 12 08 61 64 6D 69 6E 31 32 33 28 E8 D4 80 CE A8 2B 32 0C 31 37 32 2E 31 36 2E 31 31 31 2E 31 32 0D 31 37 32 2E 33 30 2E 36 37 2E 31 31 31 32 0E 31 39 32 2E 31 36 38 2E 37 37 2E 31 33 39 32 0C 31 37 32 2E 31 36 2E 32 31 37 2E 31 3A 04 44 50 69 53 42 0A 33 38 38 32 36 2D 32 30 31 32>
> After Qpid Proton protobuf:  <00 53 70 D0 00 00 00 0B 00 00 00 05 42 50 04 40 42 52 00 00 53 73 D0 00 00 00 22 00 00 00 0D 40 40 40 40 40 40 40 40 83 00 00 00 00 00 00 00 00 83 00 00 00 00 00 00 00 00 40 52 00 40 00 53 74 D1 00 00 00 E5 00 00 00 14 A1 04 74 6F 50 4B A1 00 A1 04 75 73 65 72 A1 05 76 61 73 6A 61 A1 09 74 69 6D 65 73 74 61 6D 70 A0 0A 31 34 38 38 33 36 39 37 36 39 A1 09 6D 65 73 73 61 67 65 49 64 A0 24 30 36 65 61 39 30 33 31 2D 39 38 38 62 2D 34 66 30 35 2D 38 65 35 32 2D 66 37 65 31 32 32 30 33 30 66 31 35 A1 04 74 6F 52 6D A1 00 A1 04 74 79 70 65 A1 38 72 75 2E 6E 69 63 65 74 75 2E 69 6E 74 65 67 72 61 74 69 6F 6E 2E 6D 65 73 73 61 67 65 73 2E 43 6F 6D 6D 6F 6E 50 72 6F 74 6F 73 24 4C 6F 67 69 6E 52 65 71 75 65 73 74 A1 06 66 72 6F 6D 50 4D A1 04 74 65 73 74 A1 0E 63 6F 72 72 65 6C 61 74 69 6F 6E 2D 69 64 A1 02 31 30 A1 06 66 72 6F 6D 50 4B A1 04 74 65 73 74 A1 08 65 72 72 6F 72 4D 73 67 A1 00 00 53 77 A0 37 0A 05 76 61 73 6A 61 12 03 31 32 33 1A 05 31 2E 31 2E 31 22 04 74 65 73 74 28 E9 F0 DA C5 05 32 09 31 32 37 2E 30 2E 31 2E 31 3A 04 74 65 73 74 42 05 76 61 73 6A 61>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org