Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed MQTT Connection Error Code 3 #59

Open
nico-fri opened this issue Nov 12, 2020 · 2 comments
Open

Failed MQTT Connection Error Code 3 #59

nico-fri opened this issue Nov 12, 2020 · 2 comments

Comments

@nico-fri
Copy link

nico-fri commented Nov 12, 2020

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

@ircole
Copy link

ircole commented Nov 13, 2020 via email

@CptHolzschnauz
Copy link
Contributor

try #84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants