Open
Description
Hello! Thanks for the library.
I have been using this library to interface with the GDAX websocket feed. While upgrading to their new websocket protocol, the size of the subscription message increased. Now, I keep getting some UTF-8 error on log level DEBUG with 0.4.2 and 0.3.5:
2017-09-11 22:18:51,240 - ws4py - DEBUG - Error message received (1007) 'b'Invalid UTF-8 bytes''
2017-09-11 22:18:51,241 - root - WARNING - Closed down, code 1006: Going away
Under 0.4.1 and 0.4.0, I don't get the UTF-8 error, but the websocket closes in the same way:
2017-09-11 22:20:24,368 - root - WARNING - Closed down, code 1006: Going away
On 0.3.4, I don't get any errors.
Old subscription message: msg = """{"type": "subscribe","product_ids":["BTC-USD"]}"""
New subscription message: msg = """{"type": "subscribe", "product_ids": ["BTC-USD"], "channels": ["ticker", "level2"]}"""
Let me know if you need anything else.
Metadata
Metadata
Assignees
Labels
No labels