You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am subscribed to a topic that publishes base64 data, that I then plan on decocing once I receive the data. When I receive the data, I get this warning message in Amplify's ConsoleLogger, and the next() function after subscribing does not run.
Hi @sshakyaUR, thanks for reporting this issue. It's possible this might be a limitation of the paho-mqtt dependency. We will investigate this and come up with some next steps.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
PubSub
Amplify Version
v6
Amplify Categories
Not applicable
Backend
Other
Environment information
Describe the bug
I am subscribed to a topic that publishes base64 data, that I then plan on decocing once I receive the data. When I receive the data, I get this warning message in Amplify's
ConsoleLogger
, and thenext()
function after subscribing does not run.It seems like it's failing at the
try/catch
block in the_handleMessage
function ofpaho-mqtt.js
Testing with regular JSON works fine. How can I get Pubsub to work with zipped data?
Expected behavior
I am able to unzip the received packet.
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: