Hello,
I use in my java application the Derivatives Trading USDS-M java binance connector version 10.0.0.
I am using these lines to initialize the websocket connection
private DerivativesTradingUsdsFuturesWebSocketStreams getApi() {
config = DerivativesTradingUsdsFuturesWebSocketStreamsUtil.getClientConfiguration();
connectionWrapper = new StreamConnectionWrapper(config, JSON.getGson());
apiWrapper = new DerivativesTradingUsdsFuturesWebSocketStreams(connectionWrapper); // Error must be "config" not "connectionWrapper"
return apiWrapper;
}
It is impossible to put in "apiWrapper" the "connectionWrapper" - it must be "config" directly.
Everything works perfectly except this:
this.connectionWrapper.stop(); // no reaction = connector's threads run without possibility to close app
this.connectionWrapper.disconnect(); // no reaction = connector's threads run without possibility to close app
Solution is downgrade from
io.github.binance
binance-derivatives-trading-usds-futures
10.0.0
to
io.github.binance
binance-derivatives-trading-usds-futures
9.0.0
With version 10.0.0:
I tried to get connection directly from apiWrapper.getConnection(); but no reaction all binance connector's threads were active.
I tried to get connection directly with getApi.getConnection(); but no reaction = all binance connector's threads were active.
I tried probably every possible way to stop and disconnect binance connector client -but without reaction and without Console error logs.
The solution is downgrade to version 9.0.0. I do not know, it is bug or I miss maybe something?
Hello,
I use in my java application the Derivatives Trading USDS-M java binance connector version 10.0.0.
I am using these lines to initialize the websocket connection
private DerivativesTradingUsdsFuturesWebSocketStreams getApi() {
config = DerivativesTradingUsdsFuturesWebSocketStreamsUtil.getClientConfiguration();
connectionWrapper = new StreamConnectionWrapper(config, JSON.getGson());
apiWrapper = new DerivativesTradingUsdsFuturesWebSocketStreams(connectionWrapper); // Error must be "config" not "connectionWrapper"
return apiWrapper;
}
It is impossible to put in "apiWrapper" the "connectionWrapper" - it must be "config" directly.
Everything works perfectly except this:
this.connectionWrapper.stop(); // no reaction = connector's threads run without possibility to close app
this.connectionWrapper.disconnect(); // no reaction = connector's threads run without possibility to close app
Solution is downgrade from
io.github.binance
binance-derivatives-trading-usds-futures
10.0.0
to
io.github.binance binance-derivatives-trading-usds-futures 9.0.0With version 10.0.0:
I tried to get connection directly from apiWrapper.getConnection(); but no reaction all binance connector's threads were active.
I tried to get connection directly with getApi.getConnection(); but no reaction = all binance connector's threads were active.
I tried probably every possible way to stop and disconnect binance connector client -but without reaction and without Console error logs.
The solution is downgrade to version 9.0.0. I do not know, it is bug or I miss maybe something?