← index #3647Issue #396
Related · high · value 3.467
QUERY · ISSUE

esp8266: urequest module and ssl_handshake_status: -256

openby 3bbopened 2018-02-28updated 2021-05-29
port-esp8266

I try to make some request using urequest module. My website is running on HTTPS ( using letsencrypt certificate ). After ~250 requests I receive

ssl_handshake_status: -256.

Mycropython version : esp8266-20171101-v1.9.3.bin

CANDIDATE · ISSUE

OSError: [Errno 5] EIO, urequests error

closedby abaouzopened 2020-08-21updated 2022-07-03
>>> uos.uname()                                                                                  
(sysname='esp8266', nodename='esp8266', release='2.0.0(5a875ba)', version='v1.12-351-gbd5633778 o
n 2020-04-08', machine='ESP module (1M) with ESP8266')

To reproduce the bug:
import urequests
urequest.get("some url")

ssl_handshake_status: -40 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/lib/urequests.py", line 112, in get File "/lib/urequests.py", line 60, in request OSError: [Errno 5] EIO

Is it know bug ?

1 comment
mattytrentini · 2022-07-03

This may be related to #400 but, in any case, it's quite old. Could you please re-test and reopen this if the problem still exists? It would also be helpful to supply the failing url if possible.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied