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
Using the version 9.4.1 you uploaded 2 days ago I am getting index out of range error when fetching all the orders via webservice using batches of 256 orders per page:
{"err_string":"websocket: close 1006 (abnormal closure): unexpected EOF","level":"error","msg":"rpcSub returned an error","myPeerID":"16Uiu2HAmQZYxQiQTAcEmmKCx6idBDAYzWaAocinoKGzxBrrxqknP","time":"2020-07-30T01:33:18Z"}
{"err_string":"websocket: close 1006 (abnormal closure): unexpected EOF","level":"error","msg":"rpcSub returned an error","myPeerID":"16Uiu2HAmQZYxQiQTAcEmmKCx6idBDAYzWaAocinoKGzxBrrxqknP","time":"2020-07-30T19:40:27Z"}
{"err_string":"websocket: close 1006 (abnormal closure): unexpected EOF","level":"error","msg":"rpcSub returned an error","myPeerID":"16Uiu2HAmQZYxQiQTAcEmmKCx6idBDAYzWaAocinoKGzxBrrxqknP","time":"2020-07-30T20:31:41Z"}
panic: runtime error: index out of range [1] with length 0
goroutine 2439680 [running]:
github.com/0xProject/0x-mesh/core/ordersync.(*Service).HandleStream(0xc001514d20, 0x126d780, 0xc001cf1d00)
/home/explorer/0x-mesh/core/ordersync/ordersync.go:241 +0x14fa
github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).SetStreamHandler.func1(0xc0004bf8c0, 0x1d, 0x7f13a1bade20, 0xc001cf1d00, 0x1d, 0xc00042a020)
/home/explorer/go/pkg/mod/github.com/libp2p/go-libp2p@v0.5.1/p2p/host/basic/basic_host.go:397 +0x9d
created by github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).newStreamHandler
/home/explorer/go/pkg/mod/github.com/libp2p/go-libp2p@v0.5.1/p2p/host/basic/basic_host.go:295 +0x6a2
We aware about this issue in release 9.4.1. We are currently working on better testing for the ordersync service, and we will release version 9.4.2 to address this regression soon!
Using the version 9.4.1 you uploaded 2 days ago I am getting
index out of range
error when fetching all the orders via webservice using batches of 256 orders per page:Client code looks like this:
Not sure but maybe overflow in
page_num
in client's code is what causing crash on server side.The text was updated successfully, but these errors were encountered: