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
On mobile, it seems when doing push (and maybe it is the same for pull but not yet shown), it seems the opened streams are not closed properly and kept open as it show the following error in the middle of upload, no matter how low we set the rate limiter (even as low as 5, it just postpones the error):
Failed to send push request {"err": "Post \"libp2p://12D3KooWD3nNJtfNgRWhZf6FgFhrq8H7NBhziPAZpqzK1RycjgBt/push/bafyr4ihjzf4mbigxn75iavbdvtw7co6thcry6rncswanrvdjra5xtzf3ha\": failed to open stream: stream-3570: transient: cannot reserve outbound stream: resource limit exceeded"}
In the error htere is mention to stream number 3570 and it increases on the first fail. So it increases the number and continu giving hte same error after it first fails on around 3400
func (e*FxExchange) pushOneNode(ctx context.Context, node ipld.Node, to peer.ID, link datamodel.Link) error {
I tried adding a circuit breaker to it and also removing the resource manager on mobile to temporarily resolve this but it is not a long term solution and I suspect we will have the same issue with pull too
The text was updated successfully, but these errors were encountered:
On mobile, it seems when doing push (and maybe it is the same for pull but not yet shown), it seems the opened streams are not closed properly and kept open as it show the following error in the middle of upload, no matter how low we set the rate limiter (even as low as 5, it just postpones the error):
In the error htere is mention to stream number
3570
and it increases on the first fail. So it increases the number and continu giving hte same error after it first fails on around3400
The issue is probably around this part:
go-fula/exchange/fx_exchange.go
Line 447 in d80361f
I tried adding a circuit breaker to it and also removing the resource manager on mobile to temporarily resolve this but it is not a long term solution and I suspect we will have the same issue with pull too
The text was updated successfully, but these errors were encountered: