coinbasepro-python icon indicating copy to clipboard operation
coinbasepro-python copied to clipboard

Websocket Client with Auth header is rejected by exchange with Signature Error

Open wolfinch opened this issue 7 years ago • 1 comments

Websocket Client with Auth header is rejected by exchange with Signature Error when the channels = None.

This is the fix - on class WebsocketClient(object): _connect () if self.channels is None: message = timestamp + 'GET' + '/users/self' else: message = timestamp + 'GET' + '/users/self/verify'

wolfinch avatar Jan 17 '18 09:01 wolfinch

@everyone Should we allow channels to be None?

If you read through the websocket subscription documentation on GDAX, it appears they expect you to subscribe to channels. Another possible solution would be to subscribe to all channels if None is returned to the wrapper.

Thoughts?

danpaquin avatar Mar 23 '18 14:03 danpaquin