Skip to content

Timeout when opening a new channel after channel exception #1244

@pabermod

Description

@pabermod

Hi, I have the following scenario:

  • Connection configured with publisher acks.
  • Auto recover connection is enabled
  • With an open connection and IModel I try to send a message bigger than the default message max size with the method BasicPublish
  • This method does not fail. Instead the event ModelShutdown of the IModel is fired.

I have a handler for that event that opens a new channel for the same connection. When openning the new channel I get the following error:

System.TimeoutException: Se excedió el tiempo de espera de la operación.
en RabbitMQ.Util.BlockingCell`1.WaitForValue(TimeSpan timeout)
en RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply(TimeSpan timeout)
en RabbitMQ.Client.Impl.ModelBase.ModelRpc(MethodBase method, ContentHeaderBase header, Byte[] body)
en RabbitMQ.Client.Framing.Impl.Model._Private_ChannelOpen(String outOfBand)
en RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.CreateNonRecoveringModel()
en RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.CreateModel()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions