jarbashivemind / hivemind_websocket_client Goto Github PK
View Code? Open in Web Editor NEWthin websocket client
License: Apache License 2.0
thin websocket client
License: Apache License 2.0
There might be something missing in sslopt
(#)
packages: newest dev
client present in clients.db (mycroft node): yes (double checked the values)
2022-01-20 15:39:08,258 [DEBUG] [doorpi.event.handler] [3P7Q73] Executing 2 action(s) for OnStartup
2022-01-20 15:39:08,259 [DEBUG] [doorpi.event.handler] [3P7Q73] Executing Connecting mycroft
2022-01-20 15:39:08,259 [DEBUG] [doorpi.actions.mycroft.connect] Creating new mycroft connect instance
2022-01-20 15:39:14,183 [INFO] [HiveMind-presence] Fetching Node data: http://192.168.188.29:8088/device.xml
2022-01-20 15:39:14,197 [INFO] [HiveMind-presence] UpNp Node Found: 192.168.188.29:5678
# logs added
2022-01-20 15:39:14,199 [INFO] [HiveMind-websocket-client] crypto_key: x # (16-char)
2022-01-20 15:39:14,199 [INFO] [HiveMind-websocket-client] SSL: True
2022-01-20 15:39:14,200 [INFO] [HiveMind-websocket-client] host: 192.168.188.29
2022-01-20 15:39:14,200 [INFO] [HiveMind-websocket-client] port: 5678
2022-01-20 15:39:14,201 [INFO] [HiveMind-websocket-client] key: x
2022-01-20 15:39:14,201 [INFO] [HiveMind-websocket-client] useragent: HiveMind-websocket-client
#
2022-01-20 15:39:14,212 [ERROR] [HiveMind-websocket-client] === SSLError(1, '[SSL] internal error (_ssl.c:1131)') ===
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/websocket_client-1.2.3-py3.8.egg/websocket/_app.py", line 312, in run_forever
self.sock.connect(
File "/usr/local/lib/python3.8/dist-packages/websocket_client-1.2.3-py3.8.egg/websocket/_core.py", line 249, in connect
self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),
File "/usr/local/lib/python3.8/dist-packages/websocket_client-1.2.3-py3.8.egg/websocket/_http.py", line 136, in connect
sock = _ssl_socket(sock, options.sslopt, hostname)
File "/usr/local/lib/python3.8/dist-packages/websocket_client-1.2.3-py3.8.egg/websocket/_http.py", line 274, in _ssl_socket
sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname)
File "/usr/local/lib/python3.8/dist-packages/websocket_client-1.2.3-py3.8.egg/websocket/_http.py", line 250, in _wrap_sni_socket
return context.wrap_socket(
File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL] internal error (_ssl.c:1131)
https://github.com/JarbasHiveMind/hivemind_websocket_client/blob/dev/hivemind_bus_client/client.py#L133 should be set to 1_2
or at least 1_1
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.