CCob / bittrex4j

Java library for accessing the Bittrex Web API's and Web Sockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lots of exceptions thrown

cymp opened this issue · comments

commented

Hello,

I am subscribing to all of the markets and getting periodically lots of:

java.lang.Exception: There was an error invoking Hub method 'c2.queryExchangeState'.
	at com.github.signalr4j.client.hubs.HubProxy$2.run(HubProxy.java:229)
	at com.github.signalr4j.client.hubs.HubProxy$2.run(HubProxy.java:219)
	at com.github.signalr4j.client.hubs.HubConnection.onReceived(HubConnection.java:92)
	at com.github.signalr4j.client.transport.TransportHelper.processReceivedData(TransportHelper.java:53)
	at com.github.signalr4j.client.Connection.processReceivedData(Connection.java:755)
	at com.github.signalr4j.client.Connection.access$000(Connection.java:29)
	at com.github.signalr4j.client.Connection$10.onData(Connection.java:693)
	at com.github.signalr4j.client.transport.WebsocketTransport$1.onMessage(WebsocketTransport.java:127)
	at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:292)
	at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:417)
	at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:170)
	at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:229)
	at java.lang.Thread.run(Thread.java:748)

I can't find the reason why I'm getting those, is this something I should care about?

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

commented

Any idea?

Is that the lowest exception in the chain?

commented

Yes

I would put a BP here - https://github.com/signalr4j/signalr4j/blob/588245ac52598bc8d3f054b60e7e889ab41b7e2d/src/main/java/com/github/signalr4j/client/hubs/HubProxy.java#L229

Looks like the method call on websocket is failing. Maybe there is more information in the HubResult class that the exception is not showing

commented

Ok, will try thanks.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.