sclausen / ngx-mqtt

This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.

Home Page:https://sclausen.github.io/ngx-mqtt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOW TO CONNECT TO IOT CORE AWS

matiasAS opened this issue · comments

  • I have searched for similar issues in this repository, but couldn't find one.
  • I have read the README and have a basic understanding how angular works.

I'm submitting a...

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report  
  • Feature request

Current behavior

When connecting to IoT core, it returns the following error:
image

IMqttServiceOptions:
image

Using paho-mqtt python connects without error

What am I doing wrong??, help me please!!

Expected behavior

Minimal working example of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


ngx-mqtt version: 9.0.5

- Frontend: Ionic6/Angular15
- @ngx-env/builder 15.0.1
- Broker: Iot Core
- Backend: django
Others:

Unfortunately, I have no setup to reproduce your error, nor any expertise in AWS IoT Core at all. I would recommend asking questions like this on stackoverflow.