OSError - ssl_handshake_status:-40

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: OSError

Post by pythoncoder » Sat Jul 08, 2017 7:29 am

Very likely. But see https://github.com/micropython/micropython/issues/3140. From a quick scan it seems the solution is at hand if you don't mind building firmware or can wait for release 1.9.2.
Peter Hinch
Index to my micropython libraries.

kannan
Posts: 10
Joined: Wed Jul 05, 2017 7:05 am

Re: OSError

Post by kannan » Sat Jul 08, 2017 10:49 am

Yes, idk when v1.9.2 gets release. Can you guide me how to start building my own firmware? What programming language i should i use? I've no clue in building a firmware. If you have any tutorials please link it up.

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: OSError

Post by pfalcon » Sat Jul 08, 2017 11:49 am

Or start a new topic titled something like "SSL help requested."
No. Please rename the title of this thread so it was descriptive and corresponded to the problem discussed here.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

kannan
Posts: 10
Joined: Wed Jul 05, 2017 7:05 am

Re: OSError - ssl_handshake_status:-40

Post by kannan » Sat Jul 08, 2017 12:11 pm

@pfalcon like you said I've renamed the title. Btw as you said in https://github.com/micropython/micropython/issues/3140, I've checked with all the builds including today's build it isnt working so i just created a new issue stating my issue. Please have a look at this https://github.com/micropython/micropython/issues/3198

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: OSError

Post by pythoncoder » Sun Jul 09, 2017 6:29 am

kannan wrote:Can you guide me how to start building my own firmware?
See the README.mdhttps://github.com/micropython/micropyt ... er/esp8266

[EDIT]
I've just spotted that daily builds are now available which may suit your purpose https://micropython.org/download/#pyboard (scroll down for ESP8266).
Peter Hinch
Index to my micropython libraries.

kannan
Posts: 10
Joined: Wed Jul 05, 2017 7:05 am

Re: OSError - ssl_handshake_status:-40

Post by kannan » Sun Jul 09, 2017 5:34 pm

@pycoder, the server is using DHE , ECDHE ciphers and micropython doesnt support either of these. I should now change the cipher of the server which micropython supports. Micropython uses axTLS library, @pfalcon gave the original axTLS documentation link which is http://axtls.sourceforge.net Can you see the documentation and tell me which ciphers supports in micropython?

Post Reply