You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const data = msg.error.msg;
const text = pako.inflate(new Buffer.from(data, 'base64'), {
to: 'string'
});
const recvMsg = JSON.parse(text); // raw data
console.log("recvMsg: ", recvMsg);
So is clear that this msg inside { error: { code: '3009', msg: '推送订阅channel不合法' } } is actually badly encoded and/or badly zipped.
**On top of the fact that i don't understand why i'm getting this error to begin with. **
My channel: "bibox_sub_spot_ETH_BTC_depth" seems to be correct?!
The code works just fine for normal messages, only this error message doesn't.
Any ideas ?! :)
The text was updated successfully, but these errors were encountered:
The subscription is working but after like 12 messages i get the error:
Which when i try to decode it, i get this:
EROR MESSAGE:
So is clear that this msg inside
{ error: { code: '3009', msg: '推送订阅channel不合法' } }
is actually badly encoded and/or badly zipped.**On top of the fact that i don't understand why i'm getting this error to begin with. **
My
channel: "bibox_sub_spot_ETH_BTC_depth"
seems to be correct?!The code works just fine for normal messages, only this error message doesn't.
Any ideas ?! :)
The text was updated successfully, but these errors were encountered: