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

Error establishing connection with ESP8266

Gal Zahavi edited this page Jul 31, 2020 · 2 revisions

When configured to Basic I see the following in the console:

[hostByName] request IP for: mqtt.2030.ltsapis.goog
[hostByName] Host: mqtt.2030.ltsapis.goog IP: 
:ur 1
:del
:ref 1
BSSL:_connectSSL: start connection
BSSL:Connection *will* fail, no authentication method is setup
BSSL:_wait_for_handshake: failed
BSSL:Couldn't connect. Error = 'Unknown error code.'

With all SSL chipers are enabled I get the following error:

FATAL ERROR: BSSL stack overflow

User exception (panic/abort/assert)
Abort called

>>>stack>>>
<<<stack<<<

To fix this error you must:

  1. Enable all ciphers to connect

To enable all ciphers in Arduino go to Tools -> SSL Support -> All SSL Ciphers

  1. Modify the memory allocated to BearSSL