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

MQTT client not receiving events in asyncapi.mqtt.proxy Example #1416

Open
ankitk-me opened this issue Feb 25, 2025 · 0 comments
Open

MQTT client not receiving events in asyncapi.mqtt.proxy Example #1416

ankitk-me opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ankitk-me
Copy link
Contributor

Describe the bug
When running the asyncapi.mqtt.proxy example, triggering subscribe request is not fetching events

To Reproduce
Steps to reproduce the behavior:

  1. Go to asyncapi.mqtt.proxy
  2. Start the example using ./setup.sh
  3. Trigger mentioned request:
mosquitto_sub -V '5' -t 'smartylighting/streetlights/1/0/event/+/lighting/measured' -d
  1. Publish a record:
mosquitto_pub -V '5' -t 'smartylighting/streetlights/1/0/event/1/lighting/measured' -m '{"id":"1","status":"on"}' -d -p 7183
  1. No events arrive on the first client.
  2. Trigger publish command few times and it hangs, followed by:
$ mosquitto_pub -V '5' -t 'smartylighting/streetlights/1/0/event/1/lighting/measured' -m '{"id":"1","status":"on"}' -d -p 7183
Client null sending CONNECT
Error: Keepalive exceeded

Expected behavior
mqtt client should be able to publish & subscribe events to topics.

@ankitk-me ankitk-me added the bug Something isn't working label Feb 25, 2025
@ankitk-me ankitk-me self-assigned this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant