Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no matching event handler defined in the remote service #10830

Closed
3 of 15 tasks
ddimitrioglo opened this issue Jan 8, 2023 · 1 comment
Closed
3 of 15 tasks
Labels
needs triage This issue has not been looked into

Comments

@ddimitrioglo
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Emitting an event (via RabbitMQ transport) fails every second time with the error: There is no matching event handler defined in the remote service. Event pattern: test_msg

Minimum reproduction code

https://github.com/ddimitrioglo/nestjs-reproduction-example

Steps to reproduce

  1. Install dependencies in both (first & second microservices): npm install
  2. Start both microservices: npm run start:dev
  3. Trigger event emission: http://localhost:3001/trigger

Expected behavior

Receive every event

Package

  • I don't know. Or some 3rd-party package
  • @nestjs/common
  • @nestjs/core
  • @nestjs/microservices
  • @nestjs/platform-express
  • @nestjs/platform-fastify
  • @nestjs/platform-socket.io
  • @nestjs/platform-ws
  • @nestjs/testing
  • @nestjs/websockets
  • Other (see below)

Other package

No response

NestJS version

9.2.1

Packages versions

[System Information]
OS Version     : macOS
NodeJS Version : v14.17.5
NPM Version    : 6.14.14 

[Nest CLI]
Nest CLI Version : 9.1.8 

[Nest Platform Information]
platform-express version : 9.2.1
microservices version    : 9.2.1
schematics version       : 9.0.4
testing version          : 9.2.1
common version           : 9.2.1
core version             : 9.2.1
cli version              : 9.1.8

Node.js version

14.17.5

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

@ddimitrioglo ddimitrioglo added the needs triage This issue has not been looked into label Jan 8, 2023
@kamilmysliwiec
Copy link
Member

Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.

@nestjs nestjs locked and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue has not been looked into
Projects
None yet
Development

No branches or pull requests

2 participants