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

ThingSpeak MQTT: MQTT connection failed. Error Code: -2 #35

Open
shantanuraoke opened this issue Nov 5, 2024 · 0 comments
Open

ThingSpeak MQTT: MQTT connection failed. Error Code: -2 #35

shantanuraoke opened this issue Nov 5, 2024 · 0 comments

Comments

@shantanuraoke
Copy link

Hi,

As the title mentions, we are facing errors while connecting to ThingSpeak. I have used the startup menu to edit the ThingSpeak MQTT fields.
Additional information :

  1. CA Certificate for thingspeak is in a *.pem format that I got from Google Chrome and it is stored in the root directory on the SD Card.
  2. I tried following the settings JSON flow to edit the Thingspeak MQTT fields but when I tried to restore the settings from JSON, the startup menu reported an error in reading the JSON file.

I am new to ThingSpeak MQTT and tried following the tutorial on the official documentation which only mentions CA Certificate field. However, the start up menu displays to additional fields:

  1. Client Cert Filename
  2. Client Key Filename

Could these be causing the issue?

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

1 participant