diff --git a/lnrpc/websocket_proxy.go b/lnrpc/websocket_proxy.go index 9079fc5f..fb43b923 100644 --- a/lnrpc/websocket_proxy.go +++ b/lnrpc/websocket_proxy.go @@ -372,6 +372,9 @@ func IsClosedConnError(err error) bool { if strings.Contains(str, "broken pipe") { return true } + if strings.Contains(str, "connection reset by peer") { + return true + } return websocket.IsCloseError( err, websocket.CloseNormalClosure, websocket.CloseGoingAway, )