Closed EUA closed 6 years ago
On OrangePiZero, using armbian Where could be problem? Any hint to debug?
Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import logging >>> import time >>> import sys >>> >>> from btfxwss import BtfxWss >>> ... log = logging.getLogger(__name__) >>> >>> sh = logging.StreamHandler(sys.stdout) >>> sh.setLevel(logging.DEBUG) >>> >>> log.addHandler(sh) >>> logging.basicConfig(level=logging.DEBUG, handlers=[ sh]) >>> >>> >>> wss = BtfxWss() >>> wss.start() >>> >>> INFO:btfxwss.connection:Connection opened INFO:btfxwss.connection:API version: 2 INFO:btfxwss.connection:Connection closed INFO:btfxwss.connection:Attempting to connect again in 10 seconds. INFO:btfxwss.connection:Connection opened INFO:btfxwss.connection:_on_open(): Connection reconnected, re-subscribing.. INFO:btfxwss.connection:API version: 2 INFO:btfxwss.connection:Connection closed INFO:btfxwss.connection:Attempting to connect again in 10 seconds.
It's "websocket/websocket-client" issue.
I installed websocket and websocket-client from pip3. But Installing websocket from APT and websocket-client from pip3 solves the problem. Thanks.
On OrangePiZero, using armbian Where could be problem? Any hint to debug?