Unable to connect the Rabbitnq hosted in gcp #10841
Unanswered
GokulThanu
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Unable to connect rabbitmq using the below code which is hosted in GCP
ConnectionFactory factory = new ConnectionFactory() { HostName = "Ip adress where it is hosted", Port = 15672, UserName = "guest", Password = "guest" };
factory.ClientProvidedName = "Rabbit Sender App";
IConnection cnn = factory.CreateConnection();
But i am able to access the rabbitmq while using the ip address and the port in the url
Exception details
RabbitMQ.Client.Exceptions.BrokerUnreachableException
HResult=0x80131620
Message=None of the specified endpoints were reachable
Source=RabbitMQ.Client
StackTrace:
at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)
at SyncTrackClient.SyncTrackClient.SendToRabbitMQ() in D:\internal tool\cloud checking\client\SyncTrack-Client\src\SyncTrackClient\SyncTrackClient.cs:line 154
at SyncTrackClient.SyncTrackClient.Timer_Tick(Object sender) in D:\internal tool\cloud checking\client\SyncTrack-Client\src\SyncTrackClient\SyncTrackClient.cs:line 85
at System.Threading.TimerQueueTimer.<>c.<.cctor>b__27_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
This exception was originally thrown at this call stack:
RabbitMQ.Client.Impl.InboundFrame.ReadFrom(System.IO.Stream, byte[], System.Buffers.ArrayPool, uint)
RabbitMQ.Client.Impl.SocketFrameHandler.ReadFrame()
RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration()
RabbitMQ.Client.Framing.Impl.Connection.MainLoop()
Inner Exception 1:
IOException: connection.start was never received, likely due to a network timeout
Inner Exception 2:
EndOfStreamException: Reached the end of the stream. Possible authentication failure.
Beta Was this translation helpful? Give feedback.
All reactions