Search found 7 matches
- Wed Dec 21, 2016 4:53 pm
- Forum: WiPy and CC3200 boards
- Topic: WiPy2.0 can`t get started.
- Replies: 1
- Views: 4040
WiPy2.0 can`t get started.
Hi all, I just received my WiPy 2.0 board and I`m having trouble doing anything with it. So far I`ve only succeeded to login with pymakr on my mac. But the minute I do wlan=network.WLAN(mode=network.WLAN.STA) it stops working. Ftp(using FilZilla) sort of succeeds. I can`t view the files inside the /...
- Sun Nov 20, 2016 8:18 am
- Forum: WiPy and CC3200 boards
- Topic: Connect over SSL
- Replies: 11
- Views: 21838
Re: RE: Re: Connect over SSL
Great! Thanks for the feedback :-) Hi dani, I'm having an issue connecting to a secure site. I'm using the esp8266 Node MCU w micropython 1.8.6 I think the problem is that the ssl module does not support server certificate validation. "ssl_handshake_status:-256" Do you any possible solution to this...
- Thu Nov 17, 2016 4:54 pm
- Forum: ESP8266 boards
- Topic: failing to wrap socket.
- Replies: 7
- Views: 6828
Re: RE: Re: failing to wrap socket.
Donedeshipu wrote:Can you also include the version of MicroPython that you are using and the board on which you are running it?
Sent from my SM-G930W8 using Tapatalk
- Thu Nov 17, 2016 4:26 pm
- Forum: ESP8266 boards
- Topic: failing to wrap socket.
- Replies: 7
- Views: 6828
Ssl module that validates server certificates
I'm currently unable to post data to secure "company" sites for a project I'm doing and this is because the ssl handshake fails. I believe the reason to be because the current ussl module doesn't Validate server certificates. Is there any ssl.wrap.socket () out there that does this? I`m running the ...
- Thu Nov 17, 2016 2:15 pm
- Forum: ESP8266 boards
- Topic: failing to wrap socket.
- Replies: 7
- Views: 6828
Re: SOCKET Variable
You're right, I'm using the esp8266 Node MCU and used examples for the Wipy. I was trying to use ssl to wrap a socket and kept getting an "ssl_handshake_error:-256" I thought this was the error.
Sent from my SM-G930W8 using Tapatalk
Sent from my SM-G930W8 using Tapatalk
- Wed Nov 16, 2016 11:59 pm
- Forum: ESP8266 boards
- Topic: failing to wrap socket.
- Replies: 7
- Views: 6828
failing to wrap socket.
>>> sock=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> import ussl as ssl
>>> s=ssl.wrap_socket(sock)
ssl_handshake_status: -256
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 5] EIO
Running this on the Esp8266 NodeMCU and Micropython Version 1.8.6
>>> import ussl as ssl
>>> s=ssl.wrap_socket(sock)
ssl_handshake_status: -256
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 5] EIO
Running this on the Esp8266 NodeMCU and Micropython Version 1.8.6
- Wed Nov 16, 2016 11:40 pm
- Forum: ESP8266 boards
- Topic: failing to wrap socket.
- Replies: 7
- Views: 6828
SOCKET Variable
Was the socket.IPPROTO_SEC variable removed from Micropython 1.8, since most examples online have it. If not, is there any way I could get the variable, without having to rebuild the whole firmware?