Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl error on connection #56

Open
defaliz opened this issue Aug 15, 2021 · 2 comments
Open

ssl error on connection #56

defaliz opened this issue Aug 15, 2021 · 2 comments

Comments

@defaliz
Copy link

defaliz commented Aug 15, 2021

hi,
i use the script example 01_virtual_write.py on my local server on a pi zero
with the code
blynk = BlynkLib.Blynk(BLYNK_AUTH, server='x.x.x.x', port=8080)
And i have the error below.. i don't know why because i use the same code on another pizero whitout error..
can you help ?
best regards
Alain

Connecting to x.x.x.x:8080...
Traceback (most recent call last):
File "01_virtual_write.py", line 19, in
blynk = BlynkLib.Blynk(BLYNK_AUTH, server='13.59.253.251', port=8080)
File "build/bdist.linux-armv6l/egg/BlynkLib.py", line 214, in init
File "build/bdist.linux-armv6l/egg/BlynkLib.py", line 81, in init
File "build/bdist.linux-armv6l/egg/BlynkLib.py", line 240, in connect
File "/usr/lib/python2.7/ssl.py", line 369, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 599, in init
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 828, in do_handshake
self._sslobj.do_handshake()
socket.error: [Errno 0] Error

@Un-ka
Copy link

Un-ka commented Nov 2, 2021

Change port BlynkLib.Blynk(BLYNK_AUTH, server='x.x.x.x', port=443)

@defaliz
Copy link
Author

defaliz commented Nov 2, 2021

great un-ka !
that works now..
regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants