[GH-ISSUE #774] [ERR] yamux: keepalive failed: i/o deadline reached #604

Closed
opened 2026-05-05 12:23:31 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @roylez on GitHub (May 16, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/774

Suddenly my ssh reverse tunnel is broken and I find the following in logs. Both frps and frpc services are managed by systemd, and they do not attempt to recover the connectivity.

2018/05/17 01:59:07 [ERR] yamux: keepalive failed: i/o deadline reached
2018/05/17 01:59:07 [service.go:247] Accept new mux stream error: keepalive timeout
2018/05/17 01:59:07 [control.go:214] [820a448a024ec6d6] control writer is closing
2018/05/17 01:59:07 [proxy.go:72] [820a448a024ec6d6] [ssh] proxy closing
2018/05/17 01:59:07 [proxy.go:118] [820a448a024ec6d6] [ssh] listener is closed
2018/05/17 01:59:07 [proxy.go:72] [820a448a024ec6d6] [web] proxy closing
2018/05/17 01:59:07 [control.go:284] [820a448a024ec6d6] client exit success
Originally created by @roylez on GitHub (May 16, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/774 Suddenly my ssh reverse tunnel is broken and I find the following in logs. Both frps and frpc services are managed by systemd, and they do not attempt to recover the connectivity. ``` 2018/05/17 01:59:07 [ERR] yamux: keepalive failed: i/o deadline reached 2018/05/17 01:59:07 [service.go:247] Accept new mux stream error: keepalive timeout 2018/05/17 01:59:07 [control.go:214] [820a448a024ec6d6] control writer is closing 2018/05/17 01:59:07 [proxy.go:72] [820a448a024ec6d6] [ssh] proxy closing 2018/05/17 01:59:07 [proxy.go:118] [820a448a024ec6d6] [ssh] listener is closed 2018/05/17 01:59:07 [proxy.go:72] [820a448a024ec6d6] [web] proxy closing 2018/05/17 01:59:07 [control.go:284] [820a448a024ec6d6] client exit success ```
Author
Owner

@roylez commented on GitHub (May 17, 2018):

I was wrong. The connection was later restored, but I have no idea how long it took before it did that.

<!-- gh-comment-id:389717254 --> @roylez commented on GitHub (May 17, 2018): I was wrong. The connection was later restored, but I have no idea how long it took before it did that.
Author
Owner

@fatedier commented on GitHub (May 17, 2018):

1s, 2s, 4s ... max duration is 20s

<!-- gh-comment-id:389721729 --> @fatedier commented on GitHub (May 17, 2018): 1s, 2s, 4s ... max duration is 20s
Author
Owner

@roylez commented on GitHub (May 17, 2018):

I am pretty sure the connection was down for more than 20s, but never mind.

<!-- gh-comment-id:389731381 --> @roylez commented on GitHub (May 17, 2018): I am pretty sure the connection was down for more than 20s, but never mind.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#604
No description provided.