-
I am developing with bun [www.bun.sh] (instead of node.js) and was able to use aedes with the Mqtt server working I used MQTT Explorer to connect to this. However, the client disconnects after a few minutes (timeout waiting on puback from aedes).
When I use mqtt protocol , everything works as expected. When I switch away from bun to node, the websocket code works like a dream as well. Would appreciate any ideas of how to resolve this issue or get to the root cause? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@tsalgia Unfortunally I never used Bun so I cannot help you, anyway if you find a solution please post it here as it could happen to someone else |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting. Ultimately Bun does not implement all Node.js APIs. It's not a clean drop-in replacement for Node.js (despite their claims). Please refer to the Bun Discord or Issue Tracker for such questions. |
Beta Was this translation helpful? Give feedback.
Thanks for reporting.
Ultimately Bun does not implement all Node.js APIs. It's not a clean drop-in replacement for Node.js (despite their claims). Please refer to the Bun Discord or Issue Tracker for such questions.