Expected behavior
rabbitmq messaging works normal
Actual behavior
rabbitmq closes the connection prematurely
Information
- the output of:
MassTransit.Exceptions.PublishException: At least one exception occurred publishing ShiftWise.Message.Blueprint.MessageDtos.GpsPublish to rabbitmq://localhost/ShiftWise.Message.Blueprint.MessageDtos:GpsPublish —> MassTransit.Exceptions.SendException: rabbitmq://localhost/ShiftWise.Message.Blueprint.MessageDtos:GpsPublish => An exception was thrown during Send —> MassTransit.Transports.InvalidConnectionException: rabbitmq://localhost/ShiftWise.Message.Blueprint.MessageDtos:GpsPublish => Invalid connection to host —> RabbitMQ.Client.Exceptions.AlreadyClosedException: Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=501, text=“FRAME_ERROR - type 3, first 16 octets = <<”{\r\n “destinatio”>>: {invalid_frame_end_marker,
0}", classId=0, methodId=0, cause=
-using the rabbitmq 3-managment tag
- running on windows 10
This has something to do with the localhost port mapping. If I change my rabbitmq connection string from rabbitmq://localhost/ to rabbitmq://docker/ it works.
Steps to reproduce the behavior
- run rabbitmq 3-managment
- try to get a masstransit application to run on it