question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MassTransit RequestResponse sample move responses to skipped queue on .Net core

See original GitHub issue

I ported MassTransit Sample-RequestResponse sample to .net core. Did some small modifications to the sample in order to host the .net core service. Although the service can receive the requests, the response is not received by the client and end up in ignore_skipped queue on rabbitmq. However, in some executions I receive a response to the first request I sent, and fails there after. What is the root cause for this? How can we implement RequestResponse pattern on MassTransit?

System.AggregateException: One or more errors occurred. (Timeout waiting for response, RequestId: 61000000-5d62-0015-cafc-08d4d8a6a3f2) —> MassTransit.RequestTimeoutException: Timeout waiting for response, RequestId: 61000000-5d62-0015-cafc-08d4d8a6a3f2 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MassTransit.RequestClient2.<Request>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Client.Program.<>c__DisplayClass0_2.<<Main>b__1>d.MoveNext() – | –

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
avrumcommented, Aug 17, 2017

Although a new queue is created I still doesn’t get the response, using the latest nuget “4.0.0.1248-develop” , Does it a new bug?

0reactions
gertjvrcommented, Aug 1, 2017

Found the issue this if statement will never be true because the queue name is set to an initial value of “ignore”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MassTransit RequestResponse sample move responses to ...
There was an bug with how the request/response exchange and queue was created. I have patched the code and my pull request #954...
Read more >
Async Request/Response with MassTransit, RabbitMQ ...
On this tutorial, we'll implement an async request/response exchange between two ASP.NET Core websites via RabbitMQ queues using MassTransit ...
Read more >
MassTransit Fault Handling
Episode Twelve covers error handling, including fault events published by MassTransit, as well as moving faulted messages to the error queue ...
Read more >
Common Mistakes
If you are seeing messages not being consumed, or responses timing out on ... by one endpoint but meant for the other will...
Read more >
MassTransit Season 2 - Request/Response with State ...
Season Two is focused on MassTransit state machine sagas. In this episode, using the request client to send requests to a state machine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found