Skip to content

BearSSL_MaxFragmentLength.ino : Unable to connect #5266

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

Closed
ZinggJM opened this issue Oct 21, 2018 · 2 comments
Closed

BearSSL_MaxFragmentLength.ino : Unable to connect #5266

ZinggJM opened this issue Oct 21, 2018 · 2 comments

Comments

@ZinggJM
Copy link

ZinggJM commented Oct 21, 2018

----------------------------- Delete below -----------------------------
----------------------------- Delete above -----------------------------

Basic Infos

  • [maybe ] This issue complies with the issue POLICY doc.
  • [ yes] I have read the documentation at readthedocs and the issue is not addressed there.
  • [no, released version ] I have tested that the issue is present in current master branch (aka latest git).
  • [yes ] I have searched the issue tracker for a similar issue.
  • [none ] If there is a stack dump, I have decoded it.
  • [yes ] I have filled out all fields below.

Platform

  • Hardware: ESP8266 Wemos D1 mini pro
  • Core Version: 2.4.2
  • Development Env: Arduino IDE
  • Operating System: Windows

Settings in IDE

  • Module: Wemos D1 mini r2
  • Flash Mode: [qio|dio|other]
  • Flash Size: 4MB
  • lwip Variant: v2 Lower Memory
  • Reset Method: ?
  • Flash Frequency: ?
  • CPU Frequency: 80Mhz
  • Upload Using: SERIAL
  • Upload Speed: 921600

Problem Description

Detailed problem description goes here.

BearSSL_MaxFragmentLength.ino

does not work: Unable to connect.

Connecting to C4A2760E..
WiFi connected
IP address:
192.168.4.220

Connecting to https://tls.mbed.org
No MFLN attempted
Unable to connect

Connecting to https://tls.mbed.org
MFLN supported: yes
Unable to connect

Default SSL: 48840 bytes used
1024 byte MFLN SSL: 44312 bytes used

This issue is related to issue #4814

@earlephilhower
Copy link
Collaborator

Rerun at 160MHz. Tools->CPU Frequency->160MHz in the menus.

The mbed.org server times out before we can finish the EC processing on the 8266 when run at 80MHz, so the code and library are running as expected, but ARM is too impatient. :)

@ZinggJM
Copy link
Author

ZinggJM commented Oct 25, 2018

Thank you for the explanation.
Don't you think the example should be made to work (change site, add fingerprint), marked as nonworking example, or removed?

I will check with 160MHz. But other sites did not work without fingerprint. And BearSSL_Validation.ino showed different behavior than described, with the released version 2.4.2.

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

2 participants