My rabbitmq application is running on windows 2012 server, randomly I use to get this error.
Exception Type: RabbitMQ.Client.Exceptions.BrokerUnreachableException
None of the specified endpoints were reachable
at RabbitMQ.Client.ConnectionFactory.CreateConnection()
at Program.Main(String[] args)
Stream does not support writing.
at System.IO.BufferedStream.EnsureCanWrite()
at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
at RabbitMQ.Client.Impl.SocketFrameHandler.SendHeader()
at RabbitMQ.Client.Framing.Impl.Connection.StartAndTune()
at RabbitMQ.Client.Framing.Impl.Connection.Open(Boolean insist)
at RabbitMQ.Client.Framing.Impl.Connection..ctor(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
at RabbitMQ.Client.Framing.Impl.ProtocolBase.CreateConnection(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
at RabbitMQ.Client.ConnectionFactory.CreateConnection()
What could be the reason of failing the connection randomly, and automatically it starts connecting.
Can anyone help me out in this.