go-binance icon indicating copy to clipboard operation
go-binance copied to clipboard

Futures Client: Constant listenKeyExpired

Open JackG-eth opened this issue 1 year ago • 1 comments

This is with the futures client. WsUserDataServe function err handler returns:

2023/08/30 20:28:39 Error unmarshal. {"e": "listenKeyExpired","E": "1693427319838","listenKey": "KEY"} 2023/08/30 20:28:39 Received error: json: cannot unmarshal string into Go struct field WsUserDataEvent.E of type int64

Receive the above message every 30sec-5mins

listen keys should last 60 minutes and can be permanently extended. Any ideas?

JackG-eth avatar Aug 30 '23 22:08 JackG-eth

@adshao Have you seen this error before? I ran my program for 3 hours and about 100 new keys were needed.

JackG-eth avatar Aug 30 '23 22:08 JackG-eth

had fixed this issue, close this.

xyq-c-cpp avatar Jun 25 '24 01:06 xyq-c-cpp