slazarov / python-signalr-client

SignalR client for python based on asyncio.
MIT License
33 stars 22 forks source link

Error: There was an error invoking Hub method 'c2.QuerySummaryState' #17

Closed MartijnVanAndel closed 5 years ago

MartijnVanAndel commented 5 years ago

Hi Stanislav,

I'm trying your signalr-client-aio and it is working perfectly for the given methods:

Though when I'm trying to invoke two other requests, i.e.:

hub.server.invoke('querySummaryState', 'BTC-ETH')
hub.server.invoke('SubscribeToSummaryLiteDeltas', 'BTC-ETH')

i get the following error messages:

A bit of googling around showed that this could sign something going wrong at Bittrex server side. Therefore: Does this occur to others as well? Or does the client not feature these methods?

I'm running Python 3.7 in a Jupyter Notebook environment.

MartijnVanAndel commented 5 years ago

And I found a fix quickly after asking... Just don't add the market identifiers:

hub.server.invoke('querySummaryState')
hub.server.invoke('SubscribeToSummaryLiteDeltas')

and it works perfectly