Replies: 5 comments 2 replies
-
Yes, that is the intent. This number is used to correlate a This is where that header's Notice that it is converted into bytes in this section of the code, which means it'll be encoded here: Hm, so it's encoding using OK, now I remember why I'm encoding it this way - So, the alternatives are:
Probably best to change it to a cc @danielmarbach for his thoughts I see you've already asked here: gftea/amqprs#158 |
Beta Was this translation helpful? Give feedback.
-
@zlepper |
Beta Was this translation helpful? Give feedback.
-
In every discussion of AMQP 0-9-1 data types, headers and tables (it's a data type in AMQP 0-9-1) in general we must mention this AMQP 0-9-1 errata document. |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringing this issue up. |
Beta Was this translation helpful? Give feedback.
-
Some more context: gftea/amqprs#158 (comment) |
Beta Was this translation helpful? Give feedback.
-
We recently updated to v7 of the library. However we are now encountering a strange issue, I think, related to the
x-dotnet-pub-seq-no
header.We publish messages using
rabbitmq-dotnet-client
. Some of those messages are picked up by amqprs. This has started failing since the upgrade to v7, where amqprs will fail with an error like this:By troubleshooting using wireshark i have arrived at the conclusion that this is when it is processing the

x-dotnet-pub-seq-no
header:It seems like even Wireshark can't process it as a valid string. Looking at the code in the dotnet client here:
rabbitmq-dotnet-client/projects/RabbitMQ.Client/Impl/Channel.BasicPublish.cs
Lines 220 to 222 in 85fd42f
it seems like the dotnet client is actually writing out a uint64, not a string, so maybe the actual header is encoded wrongly?
I have tried to read my way thorugh the amqp specification, however I don't see anything that points at the dotnet client, is going something wrong specifically. However considering that the problem is new with v7, and that even wireshark cannot process the header correctly, I thought to start the discussion here first, before I go to the amqprs library to make my case.
The raw message dump from wireshark can be found here: https://gist.github.com/zlepper/bfbb489acfc2ef5ce95ef0f6e0d9e3cb
Beta Was this translation helpful? Give feedback.
All reactions