ssl_handshake_status: -256

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Lir10
Posts: 1
Joined: Wed Jan 11, 2017 10:02 am

ssl_handshake_status: -256

Postby Lir10 » Wed Jan 11, 2017 10:05 am

Running the following code :

>>> import usocket as socket
>>> import ussl as ssl
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> ss = ssl.wrap_socket(s)

produces:

ssl_handshake_status: -256
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 5] EIO

jamesb
Posts: 12
Joined: Tue Nov 29, 2016 3:31 am

Re: ssl_handshake_status: -256

Postby jamesb » Thu Jan 12, 2017 2:12 am

I get this response trying to post to Google sheets. Reading around, I think it's something to do with the ssl certificate size filling up memory. I'm looking for a solution to post to an intermediate non-secure API that can then forward on using ssl - appreciate any pointers. Maybe something like pushingbox.com as described here: https://www.hackster.io/detox/transmit- ... ets-8fc617


Return to “ESP8266 boards”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests