pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
200 stars 166 forks source link

ssl.wrap_socket [Errno -1] ERR_MEM #451

Open CassioCioniCarmo opened 4 years ago

CassioCioniCarmo commented 4 years ago

(sysname='LoPy4', nodename='LoPy4', release='1.20.2.rc7', version='v1.11-6d01270 on 2020-05-04', machine='LoPy4 with ESP32', lorawan='1.0.2', sigfox='1.0.1', pybytes='1.4.0')

I'm trying to make a secure connection between L04(server) and a website(client). During the ssl module the memory error is displayed. the generated certificate has the following settings (x509 sha256 rsa: 2048) the error is [Errno -1] ERR_MEM. how can I solve? Thanks

catalinio commented 4 years ago

Hi, Could you try the build provided in this comment: https://github.com/pycom/pycom-micropython-sigfox/issues/443#issuecomment-628524787? We're working on a release which can fix multiple memory errors.

CassioCioniCarmo commented 4 years ago

Hello, thanks for the feedback I will work on this attempt this week!

CassioCioniCarmo commented 4 years ago

tested, same error

geza-pycom commented 4 years ago

Could you please copy here the parameters of ssl.wrap_socket() ? What is the value of cert_reqs parameter ?