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

[Bug]: Packet Properties is undefined #1958

Open
abdallahmoubarak opened this issue Dec 15, 2024 · 1 comment
Open

[Bug]: Packet Properties is undefined #1958

abdallahmoubarak opened this issue Dec 15, 2024 · 1 comment
Labels

Comments

@abdallahmoubarak
Copy link

MQTTjs Version

5.0

Broker

EMQX

Environment

Browser

Description

I'm trying to get the timestamp of retain message (PublishedAt) in Nextjs project, the connection is working good but the properties are not defined..
image
image
I'm not able to see any of the properties...

Minimal Reproduction

  • building a connection inside the component
  • using hooks to connect

Debug logs

image

@robertsLando
Copy link
Member

@abdallahmoubarak Did you tried to see if them are set correctly using another client? What client are you using to set those properties? I only see you are subscribing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants