Replies: 1 comment 1 reply
-
We cannot suggest much without seeing your code. You may sharing a channel between threads without intending to, which is a documented no-no. You are on a 2+ year old version, that entire code path has been refactored away. Please upgrade to 6.6 or at least 6.4 or 6.5. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, using RabbitMQ client 6.2.2. Occasionally getting following error while trying to publish a message:
System.InvalidOperationException: Serialized to wrong size, expect 3017, offset 3014
at RabbitMQ.Client.Impl.OutgoingCommand.Transmit(UInt16 channelNumber, Connection connection)
in //projects/RabbitMQ.Client/client/impl/OutgoingCommand.cs:line 88
at RabbitMQ.Client.Impl.SessionBase.Transmit(OutgoingCommand& cmd)
in //projects/RabbitMQ.Client/client/impl/SessionBase.cs:line 180
at RabbitMQ.Client.Impl.ModelBase.ModelSend(MethodBase method, ContentHeaderBase header, ReadOnlyMemory
1 body) in /_/projects/RabbitMQ.Client/client/impl/ModelBase.cs:line 351 at RabbitMQ.Client.Framing.Impl.Model._Private_BasicPublish(String exchange, String routingKey, Boolean mandatory, IBasicProperties basicProperties, ReadOnlyMemory
1 body)in //gensrc/autogenerated-api-0-9-1.cs:line 4398
at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String routingKey, Boolean mandatory, IBasicProperties basicProperties, ReadOnlyMemory
1 body) in /_/projects/RabbitMQ.Client/client/impl/ModelBase.cs:line 1185 at RabbitMQ.Client.Impl.AutorecoveringModel.BasicPublish(String exchange, String routingKey, Boolean mandatory, IBasicProperties basicProperties, ReadOnlyMemory
1 body)in //projects/RabbitMQ.Client/client/impl/AutorecoveringModel.cs:line 1227
at RabbitMQ.Client.IModelExensions.BasicPublish(IModel model, String exchange, String routingKey, IBasicProperties basicProperties, ReadOnlyMemory`1 body) in /_/projects/RabbitMQ.Client/client/api/IModelExtensions.cs:line 97
Again, we are not getting this error on each publish. Can anybody please guide? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions