Skip to content

Failed MQTT Connection Error Code 3 #59

Open
@nico-fri

Description

@nico-fri

Hi,
i tried to send data with MKR NB to a MQTT Broker with following components:

  • MKR NB 1500
  • 1NCE card with active data plan
    and used MKRNB and ArduinoMqttClient Librarys.

When I try to connect the MKR NB to the MQTT broker, I get ERROR-CODE 3 = Server unavailable. With the MKR 1010 Wifi the connection to the broker always works. Even with the program MQTT.fx and the same access data, the connection to the broker works without problems and data can be sent. The connection with the MKR NB has already worked and now it gives the error without changes in the code again. When I run the NBWebClient example sketch, I get the http request without any problems.

Any help or hints or additional questions?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions