-
Notifications
You must be signed in to change notification settings - Fork 217
bitmex example not working #163
Comments
+1 |
Please see my comment on what I found in the hopes of fixing this issue here: #96 |
@thebubbleindex does the example work for you now?
where WebSocketClientCompressionAllowClientNoContextHandler is copy&pasted from GDAX. Now it gets connected without that exception, gets welcome message fromthe exchange. Then I try to subscribe to book updates and (according to websocks proxy I use) I get success message, but it's not able to decode it and throws this:
|
Actually
works better |
Yes, basically that is what I had to do as well, i.e. I am not sure I know enough about the architecture of this project and NettyStreamingService to say what exactly this handler is doing and whether this is the root cause. |
so here I cerated a pull request that makes bitmex somewhat working. I'm still testing it and improving, but at least it can connect and process books/trades and send orders |
no modifications, checked out this project, running bitmex example at
xchange-stream/xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexManualExample.java
Exception in thread "main" io.netty.handler.codec.CodecException: invalid WebSocket Extension handshake for "permessage-deflate; client_no_context_takeover"
Is there something i do wrong?
The text was updated successfully, but these errors were encountered: