Skip to content

Failed MQTT Connection Error Code 3 #59

@nico-fri

Description

@nico-fri

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 Libraries.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions