Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Fix cypher for SSL error in ESP32-lwmqtt example #239

Merged
merged 3 commits into from
Dec 21, 2021

Conversation

Hiroya-W
Copy link
Contributor

@Hiroya-W Hiroya-W commented Dec 21, 2021

Hi.
As shown in #221, the current ESP32-lwmqtt example gives a cypher for SSL error.
In this PR, I will fix this problem by modifying root_cert and setting root_cert to WiFiClientSecure instance.
This solution is mentioned in #221 (comment) .

Thank you.

[E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -1
not connected
Settings incorrect or missing a cyper for SSL
Connect with mqtt.2030.ltsapis.goog:8883
ClientId: projects/***
Waiting 60 seconds, retry will likely fail

@gguuss
Copy link
Contributor

gguuss commented Dec 21, 2021

Tested on ESP32, confirmed to work, merging.

@gguuss gguuss merged commit 2e75790 into GoogleCloudPlatform:master Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants